3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
awnsurfacepolynomialedgezero2ndorderparams.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_POLYNOMIAL_EDGE_ZERO_2ND_ORDER_PARAMS_HH
24#define AWN_SURFACE_POLYNOMIAL_EDGE_ZERO_2ND_ORDER_PARAMS_HH
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 const Scalar Swr() const
72 { return Swr_; }
73
77 void setSwr(const Scalar v)
78 { Swr_ = v; }
79
83 void setA1(const Scalar v)
84 { a1_ = v; }
85
89 void setA2(const Scalar v)
90 { a2_ = v; }
91
95 void setA3(const Scalar v)
96 { a3_ = v; }
97
98
99private:
100 Scalar Swr_;
101 Scalar a1_;
102 Scalar a2_;
103 Scalar a3_;
104};
105} // namespace Dumux
106
107#endif
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Implementation of interfacial area surface params.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:34
const Scalar a2() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:59
void setA1(const Scalar v)
Set the shape parameter.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:83
ScalarT Scalar
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:36
AwnSurfacePolynomialEdgeZero2ndOrderParams(const Scalar a1, const Scalar a2, const Scalar a3)
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:41
void setA3(const Scalar v)
Set the shape parameter.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:95
const Scalar a3() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:65
const Scalar a1() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:53
void setA2(const Scalar v)
Set the shape parameter.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:89
AwnSurfacePolynomialEdgeZero2ndOrderParams()
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:38
const Scalar Swr() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:71
void setSwr(const Scalar v)
Set the residual water saturation .
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:77