3.3.0
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
awnsurfaceexpswpcto3params.hh
Go to the documentation of this file.
1/*****************************************************************************
2 * See the file COPYING for full copying permissions. *
3 * *
4 * This program is free software: you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation, either version 3 of the License, or *
7 * (at your option) any later version. *
8 * *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License *
15 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
16 *****************************************************************************/
23#ifndef AWN_SURFACE_EXP_SW_PC_TO_3_PARAMS
24#define AWN_SURFACE_EXP_SW_PC_TO_3_PARAMS
25
26#warning "This header is deprecated. Removal after 3.3. Use new material laws."
27
28namespace Dumux {
29
34template<class ScalarT>
36{
37public:
38 using Scalar = ScalarT;
39
41 {}
42
44 const Scalar a2,
45 const Scalar a3)
46 {
47 setA1(a1);
48 setA2(a2);
49 setA3(a3);
50 }
51
55 const Scalar a1() const
56 { return a1_; }
57
61 const Scalar a2() const
62 { return a2_; }
63
67 const Scalar a3() const
68 { return a3_; }
69
73 void setA1(const Scalar v)
74 { a1_ = v; }
75
79 void setA2(const Scalar v)
80 { a2_ = v; }
81
85 void setA3(const Scalar v)
86 { a3_ = v; }
87
88private:
89 Scalar Swr_;
90 Scalar Snr_;
91 Scalar a1_;
92 Scalar a2_;
93 Scalar a3_;
94};
95} // namespace Dumux
96
97#endif
Definition: adapt.hh:29
Implementation of interfacial area surface params.
Definition: awnsurfaceexpswpcto3params.hh:36
const Scalar a2() const
Return the shape parameter of awn surface.
Definition: awnsurfaceexpswpcto3params.hh:61
AwnSurfaceExpSwPcTo3Params(const Scalar a1, const Scalar a2, const Scalar a3)
Definition: awnsurfaceexpswpcto3params.hh:43
ScalarT Scalar
Definition: awnsurfaceexpswpcto3params.hh:38
void setA1(const Scalar v)
Set the shape parameter.
Definition: awnsurfaceexpswpcto3params.hh:73
void setA2(const Scalar v)
Set the shape parameter.
Definition: awnsurfaceexpswpcto3params.hh:79
void setA3(const Scalar v)
Set the shape parameter.
Definition: awnsurfaceexpswpcto3params.hh:85
const Scalar a3() const
Return the shape parameter of awn surface.
Definition: awnsurfaceexpswpcto3params.hh:67
AwnSurfaceExpSwPcTo3Params()
Definition: awnsurfaceexpswpcto3params.hh:40
const Scalar a1() const
Return the shape parameter of awn surface.
Definition: awnsurfaceexpswpcto3params.hh:55