Revision eacfb8958d5db0f25850e4c0a98f84bba311d83d authored by Dmitri Naumov on 08 March 2021, 13:34:28 UTC, committed by Dmitri Naumov on 09 March 2021, 09:17:26 UTC
solid_grain_pressure used in some density models was not set and caused an access error in the ExponentialProperty.
1 parent 84bb557
Error.h
/**
* \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
*
*/
#pragma once
#include <cstdlib>
#include "Logging.h"
#ifdef OGS_FATAL_ABORT
#define OGS_FATAL(...) \
{ \
BaseLib::console->critical("{}:{} {}() ", __FILE__, __LINE__, \
__FUNCTION__, fmt::format(__VA_ARGS__)); \
std::abort(); \
}
#else // OGS_FATAL_ABORT
#include <stdexcept>
#define OGS_FATAL(...) \
{ \
BaseLib::console->critical("{}:{} {}() ", __FILE__, __LINE__, \
__FUNCTION__, fmt::format(__VA_ARGS__)); \
throw std::runtime_error(fmt::format(__VA_ARGS__)); \
}
#endif // OGS_FATAL_ABORT
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...