mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
remove macro EWOMS_GET_PARAM_
This commit is contained in:
parent
fe06454112
commit
4d2486196f
@ -74,10 +74,6 @@
|
|||||||
#define EWOMS_GET_PARAM(TypeTag, ParamType, ParamName) \
|
#define EWOMS_GET_PARAM(TypeTag, ParamType, ParamName) \
|
||||||
(::Opm::Parameters::get<TypeTag, Properties::ParamName>())
|
(::Opm::Parameters::get<TypeTag, Properties::ParamName>())
|
||||||
|
|
||||||
//!\cond SKIP_THIS
|
|
||||||
#define EWOMS_GET_PARAM_(TypeTag, ParamType, ParamName) \
|
|
||||||
(::Opm::Parameters::get<TypeTag, Properties::ParamName>(false))
|
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
namespace Parameters {
|
namespace Parameters {
|
||||||
|
|
||||||
|
@ -150,8 +150,8 @@ static inline int setupParameters_(int argc,
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string paramFileName = EWOMS_GET_PARAM_(TypeTag, std::string, ParameterFile);
|
const std::string paramFileName = Parameters::get<TypeTag, Properties::ParameterFile>(false);
|
||||||
if (paramFileName != "") {
|
if (!paramFileName.empty()) {
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// add the parameters specified using an .ini file
|
// add the parameters specified using an .ini file
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user