mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 23:20:12 -05:00
remove macro EWOMS_GET_PARAM_
This commit is contained in:
1 parent
fe06454112
commit
4d2486196f
2 files changed
+2
-6
No files matched your search
@@ -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
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user