OGS
CheckVanGenuchtenExponentRange.cpp
Go to the documentation of this file.
1 
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
#define OGS_FATAL(...)
Definition: Error.h:26
void checkVanGenuchtenExponentRange(const double m)