mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 01:01:00 -06:00
remove EWOMS_HIDE_PARAM macro
it adds no simplicity and only obfuscates
This commit is contained in:
parent
f22f51a833
commit
b3090888b5
@ -74,16 +74,6 @@
|
||||
::Opm::Parameters::registerParam<TypeTag, ParamType>( \
|
||||
#ParamName, #ParamName, getPropValue<TypeTag, Properties::ParamName>(), Description)
|
||||
|
||||
/*!
|
||||
* \ingroup Parameter
|
||||
*
|
||||
* \brief Indicate that a given parameter should not be mentioned in the help message
|
||||
*
|
||||
* This allows to deal with unused parameters
|
||||
*/
|
||||
#define EWOMS_HIDE_PARAM(TypeTag, ParamName) \
|
||||
::Opm::Parameters::hideParam<TypeTag>(#ParamName)
|
||||
|
||||
/*!
|
||||
* \ingroup Parameter
|
||||
*
|
||||
@ -1158,6 +1148,11 @@ void registerParam(const char *paramName, const char *propertyName, const ParamT
|
||||
ParamsMeta::mutableRegistry()[paramName] = paramInfo;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Indicate that a given parameter should not be mentioned in the help message
|
||||
*
|
||||
* This allows to deal with unused parameters
|
||||
*/
|
||||
template <class TypeTag>
|
||||
void hideParam(const char* paramName)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user