3.1-git
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
26namespace Dumux {
27
32template<class ScalarT>
34{
35public:
36 using Scalar = ScalarT;
37
39 {}
40
42 const Scalar a2,
43 const Scalar a3)
44 {
45 setA1(a1);
46 setA2(a2);
47 setA3(a3);
48 }
49
53 const Scalar a1() const
54 { return a1_; }
55
59 const Scalar a2() const
60 { return a2_; }
61
65 const Scalar a3() const
66 { return a3_; }
67
71 void setA1(const Scalar v)
72 { a1_ = v; }
73
77 void setA2(const Scalar v)
78 { a2_ = v; }
79
83 void setA3(const Scalar v)
84 { a3_ = v; }
85
86private:
87 Scalar Swr_;
88 Scalar Snr_;
89 Scalar a1_;
90 Scalar a2_;
91 Scalar a3_;
92};
93} // namespace Dumux
94
95#endif //AWN_SURFACE_EXP_SW_PC_TO_3_PARAMS
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Implementation of interfacial area surface params.
Definition: awnsurfaceexpswpcto3params.hh:34
const Scalar a2() const
Return the shape parameter of awn surface.
Definition: awnsurfaceexpswpcto3params.hh:59
AwnSurfaceExpSwPcTo3Params(const Scalar a1, const Scalar a2, const Scalar a3)
Definition: awnsurfaceexpswpcto3params.hh:41
ScalarT Scalar
Definition: awnsurfaceexpswpcto3params.hh:36
void setA1(const Scalar v)
Set the shape parameter.
Definition: awnsurfaceexpswpcto3params.hh:71
void setA2(const Scalar v)
Set the shape parameter.
Definition: awnsurfaceexpswpcto3params.hh:77
void setA3(const Scalar v)
Set the shape parameter.
Definition: awnsurfaceexpswpcto3params.hh:83
const Scalar a3() const
Return the shape parameter of awn surface.
Definition: awnsurfaceexpswpcto3params.hh:65
AwnSurfaceExpSwPcTo3Params()
Definition: awnsurfaceexpswpcto3params.hh:38
const Scalar a1() const
Return the shape parameter of awn surface.
Definition: awnsurfaceexpswpcto3params.hh:53