diff --git a/opm/models/io/vtkblackoilmicpmodule.hh b/opm/models/io/vtkblackoilmicpmodule.hh index a557ac5db..ebb95e54a 100644 --- a/opm/models/io/vtkblackoilmicpmodule.hh +++ b/opm/models/io/vtkblackoilmicpmodule.hh @@ -27,53 +27,67 @@ #ifndef EWOMS_VTK_BLACK_OIL_MICP_MODULE_HH #define EWOMS_VTK_BLACK_OIL_MICP_MODULE_HH -#include "vtkmultiwriter.hh" -#include "baseoutputmodule.hh" - #include #include -#include - -#include -#include #include -namespace Opm::Properties { +#include -namespace TTag { +#include +#include + +#include +#include + +namespace Opm::Properties::TTag { // create new type tag for the VTK multi-phase output struct VtkBlackOilMICP {}; -} // namespace TTag +} // namespace Opm::Properties::TTag + +namespace Opm::Parameters { // create the property tags needed for the MICP output module template -struct VtkWriteMicrobialConcentration { using type = UndefinedProperty; }; +struct VtkWriteMicrobialConcentration { using type = Properties::UndefinedProperty; }; + template -struct VtkWriteOxygenConcentration { using type = UndefinedProperty; }; +struct VtkWriteOxygenConcentration { using type = Properties::UndefinedProperty; }; + template -struct VtkWriteUreaConcentration { using type = UndefinedProperty; }; +struct VtkWriteUreaConcentration { using type = Properties::UndefinedProperty; }; + template -struct VtkWriteBiofilmConcentration { using type = UndefinedProperty; }; +struct VtkWriteBiofilmConcentration { using type = Properties::UndefinedProperty; }; + template -struct VtkWriteCalciteConcentration { using type = UndefinedProperty; }; +struct VtkWriteCalciteConcentration { using type = Properties::UndefinedProperty; }; // set default values for what quantities to output template -struct VtkWriteMicrobialConcentration { static constexpr bool value = true; }; -template -struct VtkWriteOxygenConcentration { static constexpr bool value = true; }; -template -struct VtkWriteUreaConcentration { static constexpr bool value = true; }; -template -struct VtkWriteBiofilmConcentration { static constexpr bool value = true; }; -template -struct VtkWriteCalciteConcentration { static constexpr bool value = true; }; +struct VtkWriteMicrobialConcentration +{ static constexpr bool value = true; }; -} // namespace Opm::Properties +template +struct VtkWriteOxygenConcentration +{ static constexpr bool value = true; }; + +template +struct VtkWriteUreaConcentration +{ static constexpr bool value = true; }; + +template +struct VtkWriteBiofilmConcentration +{ static constexpr bool value = true; }; + +template +struct VtkWriteCalciteConcentration +{ static constexpr bool value = true; }; + +} // namespace Opm::Parameters namespace Opm { /*! @@ -113,18 +127,18 @@ public: if (!enableMICP) return; - Parameters::registerParam + Parameters::registerParam ("Include the concentration of the microbial component in the water phase " "in the VTK output files"); - Parameters::registerParam + Parameters::registerParam ("Include the concentration of the oxygen component in the water phase " "in the VTK output files"); - Parameters::registerParam + Parameters::registerParam ("Include the concentration of the urea component in the water phase " "in the VTK output files"); - Parameters::registerParam + Parameters::registerParam ("Include the biofilm volume fraction in the VTK output files"); - Parameters::registerParam + Parameters::registerParam ("Include the calcite volume fraction in the VTK output files"); } @@ -223,31 +237,31 @@ public: private: static bool microbialConcentrationOutput_() { - static bool val = Parameters::get(); + static bool val = Parameters::get(); return val; } static bool oxygenConcentrationOutput_() { - static bool val = Parameters::get(); + static bool val = Parameters::get(); return val; } static bool ureaConcentrationOutput_() { - static bool val = Parameters::get(); + static bool val = Parameters::get(); return val; } static bool biofilmConcentrationOutput_() { - static bool val = Parameters::get(); + static bool val = Parameters::get(); return val; } static bool calciteConcentrationOutput_() { - static bool val = Parameters::get(); + static bool val = Parameters::get(); return val; } @@ -257,6 +271,7 @@ private: ScalarBuffer biofilmConcentration_; ScalarBuffer calciteConcentration_; }; + } // namespace Opm #endif