diff --git a/opm/models/blackoil/blackoilmodel.hh b/opm/models/blackoil/blackoilmodel.hh index 7ffc65d07..f8cb9c0fc 100644 --- a/opm/models/blackoil/blackoilmodel.hh +++ b/opm/models/blackoil/blackoilmodel.hh @@ -75,7 +75,6 @@ namespace TTag { //! The type tag for the black-oil problems struct BlackOilModel { using InheritsFrom = std::tuple; }; } // namespace TTag diff --git a/opm/models/io/vtkdiffusionmodule.hh b/opm/models/io/vtkdiffusionmodule.hh index 023fd8a27..13bf3912f 100644 --- a/opm/models/io/vtkdiffusionmodule.hh +++ b/opm/models/io/vtkdiffusionmodule.hh @@ -28,49 +28,23 @@ #ifndef EWOMS_VTK_DIFFUSION_MODULE_HH #define EWOMS_VTK_DIFFUSION_MODULE_HH -#include "vtkmultiwriter.hh" -#include "baseoutputmodule.hh" - #include #include #include +#include +#include + #include #include -namespace Opm::Properties::TTag { - -// create new type tag for the VTK output of the quantities for molecular -// diffusion -struct VtkDiffusion {}; - -} // namespace Opm::Properties::TTag - namespace Opm::Parameters { -// create the property tags needed for the diffusion module -template -struct VtkWriteTortuosities { using type = Properties::UndefinedProperty; }; - -template -struct VtkWriteDiffusionCoefficients { using type = Properties::UndefinedProperty; }; - -template -struct VtkWriteEffectiveDiffusionCoefficients { using type = Properties::UndefinedProperty; }; - // set default values for what quantities to output -template -struct VtkWriteTortuosities -{ static constexpr bool value = false; }; - -template -struct VtkWriteDiffusionCoefficients -{ static constexpr bool value = false; }; - -template -struct VtkWriteEffectiveDiffusionCoefficients -{ static constexpr bool value = false; }; +struct VtkWriteTortuosities { static constexpr bool value = false; }; +struct VtkWriteDiffusionCoefficients { static constexpr bool value = false; }; +struct VtkWriteEffectiveDiffusionCoefficients { static constexpr bool value = false; }; } // namespace Opm::Parameters @@ -117,12 +91,12 @@ public: */ static void registerParameters() { - Parameters::registerParam + Parameters::Register ("Include the tortuosity for each phase in the VTK output files"); - Parameters::registerParam + Parameters::Register ("Include the molecular diffusion coefficients in " "the VTK output files"); - Parameters::registerParam + Parameters::Register ("Include the effective molecular diffusion " "coefficients the medium in the VTK output files"); } @@ -194,19 +168,19 @@ public: private: static bool tortuosityOutput_() { - static bool val = Parameters::get(); + static bool val = Parameters::Get(); return val; } static bool diffusionCoefficientOutput_() { - static bool val = Parameters::get(); + static bool val = Parameters::Get(); return val; } static bool effectiveDiffusionCoefficientOutput_() { - static bool val = Parameters::get(); + static bool val = Parameters::Get(); return val; } diff --git a/opm/models/ncp/ncpmodel.hh b/opm/models/ncp/ncpmodel.hh index 3bf0cc8b0..45d14a14e 100644 --- a/opm/models/ncp/ncpmodel.hh +++ b/opm/models/ncp/ncpmodel.hh @@ -69,8 +69,7 @@ namespace TTag { /*! * \brief Define the type tag for the compositional NCP model. */ -struct NcpModel { using InheritsFrom = std::tuple; }; } // namespace TTag diff --git a/opm/models/ptflash/flashmodel.hh b/opm/models/ptflash/flashmodel.hh index 279be8d06..65d188a62 100644 --- a/opm/models/ptflash/flashmodel.hh +++ b/opm/models/ptflash/flashmodel.hh @@ -69,8 +69,7 @@ namespace Opm::Properties { namespace TTag { //! The type tag for the isothermal single phase problems -struct FlashModel { using InheritsFrom = std::tuple; }; diff --git a/opm/models/pvs/pvsmodel.hh b/opm/models/pvs/pvsmodel.hh index f220dc47b..aa59b9d9c 100644 --- a/opm/models/pvs/pvsmodel.hh +++ b/opm/models/pvs/pvsmodel.hh @@ -69,8 +69,7 @@ namespace TTag { //! The type tag for the isothermal single phase problems struct PvsModel { - using InheritsFrom = std::tuple; };