diff --git a/opm/models/io/vtkphasepresencemodule.hh b/opm/models/io/vtkphasepresencemodule.hh index 37bec49a3..225218438 100644 --- a/opm/models/io/vtkphasepresencemodule.hh +++ b/opm/models/io/vtkphasepresencemodule.hh @@ -35,22 +35,9 @@ #include #include -namespace Opm::Properties::TTag { - -// create new type tag for the VTK primary variables output -struct VtkPhasePresence {}; - -} // namespace Opm::Properties::TTag - namespace Opm::Parameters { -// create the property tags needed for the primary variables module -template -struct VtkWritePhasePresence { using type = Properties::UndefinedProperty; }; - -template -struct VtkWritePhasePresence -{ static constexpr bool value = false; }; +struct VtkWritePhasePresence { static constexpr bool value = false; }; } // namespace Opm::Parameters @@ -86,7 +73,7 @@ public: */ static void registerParameters() { - Parameters::registerParam + Parameters::Register ("Include the phase presence pseudo primary " "variable in the VTK output files"); } @@ -137,7 +124,7 @@ public: private: static bool phasePresenceOutput_() { - static bool val = Parameters::get(); + static bool val = Parameters::Get(); return val; } diff --git a/opm/models/pvs/pvsmodel.hh b/opm/models/pvs/pvsmodel.hh index d9510f186..dc96b2a85 100644 --- a/opm/models/pvs/pvsmodel.hh +++ b/opm/models/pvs/pvsmodel.hh @@ -70,7 +70,6 @@ namespace TTag { struct PvsModel { using InheritsFrom = std::tuple; }; } // namespace TTag