3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
awnsurfacepolynomial2ndorderparams.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_2ND_ORDER_PARAMS_HH
24#define AWN_SURFACE_POLYNOMIAL_2ND_ORDER_PARAMS_HH
25
26namespace Dumux {
27
32template<class ScalarT>
34{
35public:
36 using Scalar = ScalarT;
37
39 {}
40
42 {
43 setA00(a00);
44 setA10(a10);
45 setA20(a20);
46 setA11(a11);
47 setA01(a01);
48 setA02(a02);
49 }
50
54 const Scalar a00() const
55 { return a00_; }
56
60 const Scalar a10() const
61 { return a10_; }
62
66 const Scalar a20() const
67 { return a20_; }
68
72 const Scalar a11() const
73 { return a11_; }
74
78 const Scalar a01() const
79 { return a01_; }
80
84 const Scalar a02() const
85 { return a02_; }
86
91 void setA00(const Scalar v)
92 { a00_ = v; }
93
98 void setA10(const Scalar v)
99 { a10_ = v; }
100
105 void setA20(const Scalar v)
106 { a20_ = v; }
107
112 void setA11(const Scalar v)
113 { a11_ = v; }
114
119 void setA01(const Scalar v)
120 { a01_ = v; }
121
126 void setA02(const Scalar v)
127 { a02_ = v; }
128
129private:
130 Scalar a00_;
131 Scalar a10_;
132 Scalar a20_;
133 Scalar a11_;
134 Scalar a01_;
135 Scalar a02_;
136};
137} // namespace Dumux
138
139#endif
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Implementation of interfacial area surface params.
Definition: awnsurfacepolynomial2ndorderparams.hh:34
void setA10(const Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: awnsurfacepolynomial2ndorderparams.hh:98
void setA20(const Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: awnsurfacepolynomial2ndorderparams.hh:105
void setA00(const Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: awnsurfacepolynomial2ndorderparams.hh:91
const Scalar a10() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomial2ndorderparams.hh:60
void setA02(const Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: awnsurfacepolynomial2ndorderparams.hh:126
AwnSurfacePolynomial2ndOrderParams(Scalar a00, Scalar a10, Scalar a20, Scalar a11, Scalar a01, Scalar a02)
Definition: awnsurfacepolynomial2ndorderparams.hh:41
const Scalar a00() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomial2ndorderparams.hh:54
void setA11(const Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: awnsurfacepolynomial2ndorderparams.hh:112
ScalarT Scalar
Definition: awnsurfacepolynomial2ndorderparams.hh:36
const Scalar a02() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomial2ndorderparams.hh:84
const Scalar a20() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomial2ndorderparams.hh:66
const Scalar a01() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomial2ndorderparams.hh:78
const Scalar a11() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomial2ndorderparams.hh:72
void setA01(const Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: awnsurfacepolynomial2ndorderparams.hh:119
AwnSurfacePolynomial2ndOrderParams()
Definition: awnsurfacepolynomial2ndorderparams.hh:38