3.3.0
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
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 {
45 setA00(a00);
46 setA10(a10);
47 setA20(a20);
48 setA11(a11);
49 setA01(a01);
50 setA02(a02);
51 }
52
56 const Scalar a00() const
57 { return a00_; }
58
62 const Scalar a10() const
63 { return a10_; }
64
68 const Scalar a20() const
69 { return a20_; }
70
74 const Scalar a11() const
75 { return a11_; }
76
80 const Scalar a01() const
81 { return a01_; }
82
86 const Scalar a02() const
87 { return a02_; }
88
93 void setA00(const Scalar v)
94 { a00_ = v; }
95
100 void setA10(const Scalar v)
101 { a10_ = v; }
102
107 void setA20(const Scalar v)
108 { a20_ = v; }
109
114 void setA11(const Scalar v)
115 { a11_ = v; }
116
121 void setA01(const Scalar v)
122 { a01_ = v; }
123
128 void setA02(const Scalar v)
129 { a02_ = v; }
130
131private:
132 Scalar a00_;
133 Scalar a10_;
134 Scalar a20_;
135 Scalar a11_;
136 Scalar a01_;
137 Scalar a02_;
138};
139} // namespace Dumux
140
141#endif
Definition: adapt.hh:29
Implementation of interfacial area surface params.
Definition: awnsurfacepolynomial2ndorderparams.hh:36
void setA10(const Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: awnsurfacepolynomial2ndorderparams.hh:100
void setA20(const Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: awnsurfacepolynomial2ndorderparams.hh:107
void setA00(const Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: awnsurfacepolynomial2ndorderparams.hh:93
const Scalar a10() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomial2ndorderparams.hh:62
void setA02(const Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: awnsurfacepolynomial2ndorderparams.hh:128
AwnSurfacePolynomial2ndOrderParams(Scalar a00, Scalar a10, Scalar a20, Scalar a11, Scalar a01, Scalar a02)
Definition: awnsurfacepolynomial2ndorderparams.hh:43
const Scalar a00() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomial2ndorderparams.hh:56
void setA11(const Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: awnsurfacepolynomial2ndorderparams.hh:114
ScalarT Scalar
Definition: awnsurfacepolynomial2ndorderparams.hh:38
const Scalar a02() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomial2ndorderparams.hh:86
const Scalar a20() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomial2ndorderparams.hh:68
const Scalar a01() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomial2ndorderparams.hh:80
const Scalar a11() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomial2ndorderparams.hh:74
void setA01(const Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: awnsurfacepolynomial2ndorderparams.hh:121
AwnSurfacePolynomial2ndOrderParams()
Definition: awnsurfacepolynomial2ndorderparams.hh:40