OGS
CheckVanGenuchtenExponentRange.cpp
Go to the documentation of this file.
1
12
#include "
CheckVanGenuchtenExponentRange.h
"
13
14
#include "
BaseLib/Error.h
"
15
16
namespace
MaterialPropertyLib
17
{
18
void
checkVanGenuchtenExponentRange
(
const
double
m)
19
{
20
if
(m <= 0 || m >= 1)
21
{
22
OGS_FATAL
(
23
"The exponent value m = {:e} of van Genuchten saturation model, is "
24
"out of its range of(0, 1) "
,
25
m);
26
}
27
}
28
}
// namespace MaterialPropertyLib
CheckVanGenuchtenExponentRange.h
Error.h
OGS_FATAL
#define OGS_FATAL(...)
Definition
Error.h:26
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:21
MaterialPropertyLib::checkVanGenuchtenExponentRange
void checkVanGenuchtenExponentRange(const double m)
Definition
CheckVanGenuchtenExponentRange.cpp:18
MaterialLib
MPL
Utils
CheckVanGenuchtenExponentRange.cpp
Generated by
1.10.0