Skip to content
Snippets Groups Projects
Commit c50d1680 authored by Timo Koch's avatar Timo Koch
Browse files

[cleanup] Make embedded 1p_1p test run again. VtkOutputModule became property

parent 0ab5a1f3
No related branches found
No related tags found
Loading
......@@ -106,6 +106,7 @@ class BloodFlowProblem : public ImplicitPorousMediaProblem<TypeTag>
using FVElementGeometry = typename GET_PROP_TYPE(TypeTag, FVElementGeometry);
using SubControlVolume = typename GET_PROP_TYPE(TypeTag, SubControlVolume);
using ElementSolutionVector = typename GET_PROP_TYPE(TypeTag, ElementSolutionVector);
using VtkOutputModule = typename GET_PROP_TYPE(TypeTag, VtkOutputModule);
using Element = typename GridView::template Codim<0>::Entity;
using GlobalPosition = Dune::FieldVector<Scalar, dimworld>;
......@@ -324,7 +325,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& p = outputModule.createScalarField("exact pressure", dofCodim);
p = exactPressure_;
......
......@@ -104,6 +104,7 @@ class TissueProblem : public ImplicitPorousMediaProblem<TypeTag>
using TimeManager = typename GET_PROP_TYPE(TypeTag, TimeManager);
using PointSource = typename GET_PROP_TYPE(TypeTag, PointSource);
using Indices = typename GET_PROP_TYPE(TypeTag, Indices);
using VtkOutputModule = typename GET_PROP_TYPE(TypeTag, VtkOutputModule);
// copy some indices for convenience
enum {
......@@ -328,7 +329,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& p = outputModule.createScalarField("exact pressure", dofCodim);
p = exactPressure_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment