swh:1:snp:f521c49ab17ef7db6ec70b2430e1ed203f50383f
Raw File
Tip revision: a322618ab0dd7e51a44beba0823ad5358f6bdbd5 authored by Christoph Lehmann on 10 November 2021, 14:07:06 UTC
[T] Added unit tests for 4th order tet quadrature
Tip revision: a322618
CheckVanGenuchtenExponentRange.cpp
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 * Created on April 20, 2020, 10:47 AM
 */

#include "CheckVanGenuchtenExponentRange.h"

#include "BaseLib/Error.h"

namespace MaterialPropertyLib
{
void checkVanGenuchtenExponentRange(const double m)
{
    if (m <= 0 || m >= 1)
    {
        OGS_FATAL(
            "The exponent value m = {:e} of van Genuchten saturation model, is "
            "out of its range of(0, 1) ",
            m);
    }
}
}  // namespace MaterialPropertyLib
back to top