mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -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) \
|
||||
(::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 Parameters {
|
||||
|
||||
|
@ -150,8 +150,8 @@ static inline int setupParameters_(int argc,
|
||||
return status;
|
||||
}
|
||||
|
||||
std::string paramFileName = EWOMS_GET_PARAM_(TypeTag, std::string, ParameterFile);
|
||||
if (paramFileName != "") {
|
||||
const std::string paramFileName = Parameters::get<TypeTag, Properties::ParameterFile>(false);
|
||||
if (!paramFileName.empty()) {
|
||||
////////////////////////////////////////////////////////////
|
||||
// add the parameters specified using an .ini file
|
||||
////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user