3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
awnsurfacepcmaxfctparams.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_PCMAX_FCT_PARAMS_HH
24#define AWN_SURFACE_PCMAX_FCT_PARAMS_HH
25
26namespace Dumux {
27
32template<class ScalarT>
34{
35public:
36 using Scalar = ScalarT;
37
39 {}
40
44 const Scalar a1() const
45 { return a1_; }
46
50 const Scalar a2() const
51 { return a2_; }
52
56 const Scalar a3() const
57 { return a3_; }
58
62 void setA1(const Scalar v)
63 { a1_ = v; }
64
68 void setA2(const Scalar v)
69 { a2_ = v; }
70
74 void setA3(const Scalar v)
75 { a3_ = v; }
76
80 const Scalar pcMax() const
81 { return pcMax_; }
82
86 void setPcMax(const Scalar v)
87 { pcMax_ = v; }
88
89private:
90 Scalar a1_;
91 Scalar a2_;
92 Scalar a3_;
93 Scalar pcMax_;
94 Scalar Swr_;
95 Scalar Snr_;
96};
97} // namespace Dumux
98
99#endif
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Implementation of interfacial area surface params.
Definition: awnsurfacepcmaxfctparams.hh:34
void setA3(const Scalar v)
Set the shape parameter.
Definition: awnsurfacepcmaxfctparams.hh:74
void setA2(const Scalar v)
Set the shape parameter.
Definition: awnsurfacepcmaxfctparams.hh:68
ScalarT Scalar
Definition: awnsurfacepcmaxfctparams.hh:36
void setPcMax(const Scalar v)
Set the for the surface.
Definition: awnsurfacepcmaxfctparams.hh:86
const Scalar a3() const
Return the shape parameter of awn surface.
Definition: awnsurfacepcmaxfctparams.hh:56
void setA1(const Scalar v)
Set the shape parameter.
Definition: awnsurfacepcmaxfctparams.hh:62
const Scalar pcMax() const
Return the shape parameter of awn surface.
Definition: awnsurfacepcmaxfctparams.hh:80
const Scalar a1() const
Return the shape parameter of awn surface.
Definition: awnsurfacepcmaxfctparams.hh:44
AwnSurfacePcMaxFctParams()
Definition: awnsurfacepcmaxfctparams.hh:38
const Scalar a2() const
Return the shape parameter of awn surface.
Definition: awnsurfacepcmaxfctparams.hh:50