3.3.0
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
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 setA1(a1);
46 setA2(a2);
47 setA3(a3);
48 }
49
53 const Scalar a1() const
54 { return a1_; }
58 const Scalar a2() const
59 { return a2_; }
63 const Scalar a3() const
64 { return a3_; }
68 const Scalar Swr() const
69 { return Swr_; }
70
74 void setA1(const Scalar v)
75 { a1_ = v; }
76
80 void setA2(const Scalar v)
81 { a2_ = v; }
82
86 void setA3(const Scalar v)
87 { a3_ = v; }
88
92 void setSwr(const Scalar v)
93 { Swr_ = v; }
94
95private:
96 Scalar a1_;
97 Scalar a2_;
98 Scalar a3_;
99 Scalar Swr_;
100};
101} // namespace Dumux
102
103#endif
Definition: adapt.hh:29
implementation of interfacial area surface params
Definition: awnsurfaceexpfctparams.hh:36
const Scalar a1() const
Return the shape parameter of awn surface.
Definition: awnsurfaceexpfctparams.hh:53
AwnSurfaceExpFctParams(const Scalar a1, const Scalar a2, const Scalar a3)
Definition: awnsurfaceexpfctparams.hh:43
void setA1(const Scalar v)
Set the shape parameter.
Definition: awnsurfaceexpfctparams.hh:74
AwnSurfaceExpFctParams()
Definition: awnsurfaceexpfctparams.hh:40
void setA2(const Scalar v)
Set the shape parameter.
Definition: awnsurfaceexpfctparams.hh:80
void setA3(const Scalar v)
Set the shape parameter.
Definition: awnsurfaceexpfctparams.hh:86
const Scalar Swr() const
Return the shape parameter of awn surface.
Definition: awnsurfaceexpfctparams.hh:68
const Scalar a2() const
Return the shape parameter of awn surface.
Definition: awnsurfaceexpfctparams.hh:58
const Scalar a3() const
Return the shape parameter of awn surface.
Definition: awnsurfaceexpfctparams.hh:63
ScalarT Scalar
Definition: awnsurfaceexpfctparams.hh:38
void setSwr(const Scalar v)
Set the for the surface.
Definition: awnsurfaceexpfctparams.hh:92