OGS
CheckVanGenuchtenExponentRange.cpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#include "
CheckVanGenuchtenExponentRange.h
"
5
6
#include "
BaseLib/Error.h
"
7
8
namespace
MaterialPropertyLib
9
{
10
void
checkVanGenuchtenExponentRange
(
const
double
m)
11
{
12
if
(m <= 0 || m >= 1)
13
{
14
OGS_FATAL
(
15
"The exponent value m = {:e} of van Genuchten saturation model, is "
16
"out of its range of(0, 1) "
,
17
m);
18
}
19
}
20
}
// namespace MaterialPropertyLib
CheckVanGenuchtenExponentRange.h
Error.h
OGS_FATAL
#define OGS_FATAL(...)
Definition
Error.h:19
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:98
MaterialPropertyLib::checkVanGenuchtenExponentRange
void checkVanGenuchtenExponentRange(const double m)
Definition
CheckVanGenuchtenExponentRange.cpp:10
MaterialLib
MPL
Utils
CheckVanGenuchtenExponentRange.cpp
Generated by
1.14.0