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
5
6#include "BaseLib/Error.h"
7
9{
11{
12 if (m <= 0 || m >= 1)
13 {
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
#define OGS_FATAL(...)
Definition Error.h:19
void checkVanGenuchtenExponentRange(const double m)