remove EWOMS_HIDE_PARAM macro

it adds no simplicity and only obfuscates
This commit is contained in:
Arne Morten Kvarving 2024-03-22 13:51:29 +01:00
parent f22f51a833
commit b3090888b5

View File

@ -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)
{