3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
awnsurfaceexpfctparams.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_FCT_PARAMS_HH
24#define AWN_SURFACE_EXP_FCT_PARAMS_HH
25
26namespace Dumux {
27
32template<class ScalarT>
34{
35public:
36 using Scalar = ScalarT;
37
39 {}
40
42 {
43 setA1(a1);
44 setA2(a2);
45 setA3(a3);
46 }
47
51 const Scalar a1() const
52 { return a1_; }
56 const Scalar a2() const
57 { return a2_; }
61 const Scalar a3() const
62 { return a3_; }
66 const Scalar Swr() const
67 { return Swr_; }
68
72 void setA1(const Scalar v)
73 { a1_ = v; }
74
78 void setA2(const Scalar v)
79 { a2_ = v; }
80
84 void setA3(const Scalar v)
85 { a3_ = v; }
86
90 void setSwr(const Scalar v)
91 { Swr_ = v; }
92
93private:
94 Scalar a1_;
95 Scalar a2_;
96 Scalar a3_;
97 Scalar Swr_;
98};
99} // namespace Dumux
100
101#endif
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
implementation of interfacial area surface params
Definition: awnsurfaceexpfctparams.hh:34
const Scalar a1() const
Return the shape parameter of awn surface.
Definition: awnsurfaceexpfctparams.hh:51
AwnSurfaceExpFctParams(const Scalar a1, const Scalar a2, const Scalar a3)
Definition: awnsurfaceexpfctparams.hh:41
void setA1(const Scalar v)
Set the shape parameter.
Definition: awnsurfaceexpfctparams.hh:72
AwnSurfaceExpFctParams()
Definition: awnsurfaceexpfctparams.hh:38
void setA2(const Scalar v)
Set the shape parameter.
Definition: awnsurfaceexpfctparams.hh:78
void setA3(const Scalar v)
Set the shape parameter.
Definition: awnsurfaceexpfctparams.hh:84
const Scalar Swr() const
Return the shape parameter of awn surface.
Definition: awnsurfaceexpfctparams.hh:66
const Scalar a2() const
Return the shape parameter of awn surface.
Definition: awnsurfaceexpfctparams.hh:56
const Scalar a3() const
Return the shape parameter of awn surface.
Definition: awnsurfaceexpfctparams.hh:61
ScalarT Scalar
Definition: awnsurfaceexpfctparams.hh:36
void setSwr(const Scalar v)
Set the for the surface.
Definition: awnsurfaceexpfctparams.hh:90