diff --git a/ebos/eclgenerictracermodel.cc b/ebos/eclgenerictracermodel.cc index 57fab3571..c06c8ea01 100644 --- a/ebos/eclgenerictracermodel.cc +++ b/ebos/eclgenerictracermodel.cc @@ -149,7 +149,7 @@ name(int tracerIdx) const template void EclGenericTracerModel:: -doInit(bool enabled, bool rst, size_t numGridDof, +doInit(bool rst, size_t numGridDof, size_t gasPhaseIdx, size_t oilPhaseIdx, size_t waterPhaseIdx) { const auto& tracers = eclState_.tracer(); @@ -157,16 +157,6 @@ doInit(bool enabled, bool rst, size_t numGridDof, if (tracers.size() == 0) return; // tracer treatment is supposed to be disabled - if (!enabled) { - if (gridView_.comm().rank() == 0) { - OpmLog::warning("Keyword TRACERS has only experimental support, and is hence ignored.\n" - "The experimental tracer model can still be used, but must be set explicitly.\n" - "To use tracers, set the command line option: --enable-tracer-model=true" - "\n"); - } - return; // Tracer transport must be enabled by the user - } - // retrieve the number of tracers from the deck const size_t numTracers = tracers.size(); tracerConcentration_.resize(numTracers); diff --git a/ebos/eclgenerictracermodel.hh b/ebos/eclgenerictracermodel.hh index 63f81dfe3..8d4c52d7b 100644 --- a/ebos/eclgenerictracermodel.hh +++ b/ebos/eclgenerictracermodel.hh @@ -86,8 +86,7 @@ protected: /*! * \brief Initialize all internal data structures needed by the tracer module */ - void doInit(bool enabled, - bool rst, + void doInit(bool rst, size_t numGridDof, size_t gasPhaseIdx, size_t oilPhaseIdx, diff --git a/ebos/eclproblem.hh b/ebos/eclproblem.hh index 307008f64..1d8ce5812 100644 --- a/ebos/eclproblem.hh +++ b/ebos/eclproblem.hh @@ -551,11 +551,6 @@ struct EnableThermalFluxBoundaries { static constexpr bool value = false; }; -template -struct EnableTracerModel { - static constexpr bool value = true; -}; - // By default, simulators derived from the EclBaseProblem are production simulators, // i.e., experimental features must be explicitly enabled at compile time template @@ -702,8 +697,6 @@ 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, EnableTracerModel, - "Transport tracers found in the deck."); EWOMS_REGISTER_PARAM(TypeTag, bool, EclEnableDriftCompensation, "Enable partial compensation of systematic mass losses via the source term of the next time step"); if constexpr (enableExperiments) diff --git a/ebos/ecltracermodel.hh b/ebos/ecltracermodel.hh index 3e535264c..8237cb872 100644 --- a/ebos/ecltracermodel.hh +++ b/ebos/ecltracermodel.hh @@ -120,8 +120,7 @@ public: */ void init(bool rst) { - bool enabled = EWOMS_GET_PARAM(TypeTag, bool, EnableTracerModel); - this->doInit(enabled, rst, simulator_.model().numGridDof(), + this->doInit(rst, simulator_.model().numGridDof(), gasPhaseIdx, oilPhaseIdx, waterPhaseIdx); }