3.3.0
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
linearmaterialparams.hh
Go to the documentation of this file.
1// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set et ts=4 sw=4 sts=4:
3/*****************************************************************************
4 * See the file COPYING for full copying permissions. *
5 * *
6 * This program is free software: you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation, either version 3 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
18 *****************************************************************************/
25#ifndef LINEAR_MATERIAL_PARAMS_HH
26#define LINEAR_MATERIAL_PARAMS_HH
27
28// TODO Deprecated. Remove after 3.3
29
30namespace Dumux {
31
37template<class ScalarT>
39{
40public:
41 using Scalar = ScalarT;
42
44 {}
45
47 {
50 }
51
52
59 { return entryPc_; }
60
67 { entryPc_ = v; }
68
74 Scalar maxPc() const
75 { return maxPc_; }
76
83 { maxPc_ = v; }
84
85private:
86 Scalar entryPc_;
87 Scalar maxPc_;
88};
89} // namespace Dumux
90
91#endif
Definition: adapt.hh:29
Reference implementation of params for the linear material law.
Definition: linearmaterialparams.hh:39
LinearMaterialParams()
Definition: linearmaterialparams.hh:43
Scalar maxPc() const
Return the maximum capillary pressure for the linear material law in ..
Definition: linearmaterialparams.hh:74
void setEntryPc(Scalar v)
Set the entry pressure for the linear material law in .
Definition: linearmaterialparams.hh:66
Scalar entryPc() const
Return the entry pressure for the linear material law in .
Definition: linearmaterialparams.hh:58
void setMaxPc(Scalar v)
Set the maximum capillary pressure for the linear material law in ..
Definition: linearmaterialparams.hh:82
LinearMaterialParams(Scalar entryPc, Scalar maxPc)
Definition: linearmaterialparams.hh:46
ScalarT Scalar
Definition: linearmaterialparams.hh:41