rename EclEnableDriftCompensation parameter to EnableDriftCompensation

This commit is contained in:
Arne Morten Kvarving
2024-02-06 09:04:08 +01:00
parent d061d70ba9
commit 6f1071f321
4 changed files with 16 additions and 16 deletions

View File

@@ -233,7 +233,7 @@ public:
"Tell the output writer to use double precision. Useful for 'perfect' restarts");
EWOMS_REGISTER_PARAM(TypeTag, unsigned, RestartWritingInterval,
"The frequencies of which time steps are serialized to disk");
EWOMS_REGISTER_PARAM(TypeTag, bool, EclEnableDriftCompensation,
EWOMS_REGISTER_PARAM(TypeTag, bool, EnableDriftCompensation,
"Enable partial compensation of systematic mass losses via the source term of the next time step");
EWOMS_REGISTER_PARAM(TypeTag, std::string, OutputMode,
"Specify which messages are going to be printed. Valid values are: none, log, all (default)");
@@ -313,7 +313,7 @@ public:
damarisWriter_ = std::make_unique<DamarisWriterType>(simulator);
enableDamarisOutput_ = EWOMS_GET_PARAM(TypeTag, bool, EnableDamarisOutput) ;
#endif
enableDriftCompensation_ = EWOMS_GET_PARAM(TypeTag, bool, EclEnableDriftCompensation);
enableDriftCompensation_ = EWOMS_GET_PARAM(TypeTag, bool, EnableDriftCompensation);
enableEclOutput_ = EWOMS_GET_PARAM(TypeTag, bool, EnableEclOutput);

View File

@@ -88,7 +88,7 @@ struct RestartWritingInterval {
// Enable partial compensation of systematic mass losses via the source term of the next time
// step
template<class TypeTag, class MyTypeTag>
struct EclEnableDriftCompensation {
struct EnableDriftCompensation {
using type = UndefinedProperty;
};
@@ -521,7 +521,7 @@ struct RestartWritingInterval<TypeTag, TTag::EclBaseProblem> {
// conservation quantities are only compensated for
// as default if experimental mode is enabled.
template<class TypeTag>
struct EclEnableDriftCompensation<TypeTag, TTag::EclBaseProblem> {
struct EnableDriftCompensation<TypeTag, TTag::EclBaseProblem> {
static constexpr bool value = true;
};