diff --git a/test/porousmediumflow/1p/implicit/1pniconductionproblem.hh b/test/porousmediumflow/1p/implicit/1pniconductionproblem.hh index 61d214d6e71823c6d1de231ed6adba5add5daeda..47233af741c34b949b0680c76463e555a3c164f2 100644 --- a/test/porousmediumflow/1p/implicit/1pniconductionproblem.hh +++ b/test/porousmediumflow/1p/implicit/1pniconductionproblem.hh @@ -33,8 +33,6 @@ #include <dumux/material/components/h2o.hh> #include <dumux/material/fluidmatrixinteractions/1p/thermalconductivityaverage.hh> -#include <dumux/io/vtkoutputmodule.hh> - #include "1pnispatialparams.hh" namespace Dumux @@ -103,6 +101,7 @@ class OnePNIConductionProblem : public ImplicitPorousMediaProblem<TypeTag> using TimeManager = typename GET_PROP_TYPE(TypeTag, TimeManager); using ThermalConductivityModel = typename GET_PROP_TYPE(TypeTag, ThermalConductivityModel); using VolumeVariables = typename GET_PROP_TYPE(TypeTag, VolumeVariables); + using VtkOutputModule = typename GET_PROP_TYPE(TypeTag, VtkOutputModule); // copy some indices for convenience using Indices = typename GET_PROP_TYPE(TypeTag, Indices); @@ -153,7 +152,7 @@ public: /*! * \brief Adds additional VTK output data to the VTKWriter. Function is called by the output module on every write. */ - void addVtkOutputFields(VtkOutputModule<TypeTag>& outputModule) const + void addVtkOutputFields(VtkOutputModule& outputModule) const { auto& temperatureExact = outputModule.createScalarField("temperatureExact", dofCodim); diff --git a/test/porousmediumflow/2pnc/implicit/fuelcellproblem.hh b/test/porousmediumflow/2pnc/implicit/fuelcellproblem.hh index c557e9ce165b40fee8f6697ecf6d8b22bb242d31..9733d712667625cfc601521e6c6a600cbc60a381 100644 --- a/test/porousmediumflow/2pnc/implicit/fuelcellproblem.hh +++ b/test/porousmediumflow/2pnc/implicit/fuelcellproblem.hh @@ -29,7 +29,6 @@ #include <dumux/porousmediumflow/implicit/problem.hh> #include <dumux/material/fluidsystems/h2on2o2.hh> #include <dumux/material/chemistry/electrochemistry/electrochemistry.hh> -#include <dumux/io/vtkoutputmodule.hh> #include "fuelcellspatialparams.hh" @@ -90,6 +89,7 @@ class FuelCellProblem : public ImplicitPorousMediaProblem<TypeTag> using FVElementGeometry = typename GET_PROP_TYPE(TypeTag, FVElementGeometry); using SubControlVolume = typename GET_PROP_TYPE(TypeTag, SubControlVolume); using SubControlVolumeFace = typename GET_PROP_TYPE(TypeTag, SubControlVolumeFace); + using VtkOutputModule = typename GET_PROP_TYPE(TypeTag, VtkOutputModule); using GridView = typename GET_PROP_TYPE(TypeTag, GridView); using Element = typename GridView::template Codim<0>::Entity; @@ -266,7 +266,7 @@ public: /*! * \brief Adds additional VTK output data to the VTKWriter. Function is called by the output module on every write. */ - void addVtkOutputFields(VtkOutputModule<TypeTag>& outputModule) const + void addVtkOutputFields(VtkOutputModule& outputModule) const { // create the required scalar fields auto& currentDensity = outputModule.createScalarField("currentDensity [A/cm^2]", dofCodim);