3.3.0
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
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 const Scalar a2,
45 const Scalar a3)
46 {
47 setA1(a1);
48 setA2(a2);
49 setA3(a3);
50 }
51
55 const Scalar a1() const
56 { return a1_; }
57
61 const Scalar a2() const
62 { return a2_; }
63
67 const Scalar a3() const
68 { return a3_; }
69
73 const Scalar Swr() const
74 { return Swr_; }
75
79 void setSwr(const Scalar v)
80 { Swr_ = v; }
81
85 void setA1(const Scalar v)
86 { a1_ = v; }
87
91 void setA2(const Scalar v)
92 { a2_ = v; }
93
97 void setA3(const Scalar v)
98 { a3_ = v; }
99
100
101private:
102 Scalar Swr_;
103 Scalar a1_;
104 Scalar a2_;
105 Scalar a3_;
106};
107} // namespace Dumux
108
109#endif
Definition: adapt.hh:29
Implementation of interfacial area surface params.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:36
const Scalar a2() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:61
void setA1(const Scalar v)
Set the shape parameter.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:85
ScalarT Scalar
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:38
AwnSurfacePolynomialEdgeZero2ndOrderParams(const Scalar a1, const Scalar a2, const Scalar a3)
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:43
void setA3(const Scalar v)
Set the shape parameter.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:97
const Scalar a3() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:67
const Scalar a1() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:55
void setA2(const Scalar v)
Set the shape parameter.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:91
AwnSurfacePolynomialEdgeZero2ndOrderParams()
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:40
const Scalar Swr() const
Return the shape parameter of awn surface.
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:73
void setSwr(const Scalar v)
Set the residual water saturation .
Definition: awnsurfacepolynomialedgezero2ndorderparams.hh:79