diff --git a/test/porousmediumflow/2pnc/implicit/diffusion/problem.hh b/test/porousmediumflow/2pnc/implicit/diffusion/problem.hh index 4403d0ba84116c3b606521b753066db3ea0784b0..eb2a47e2b1765cd66e7b5e9a1bd820fa01b74562 100644 --- a/test/porousmediumflow/2pnc/implicit/diffusion/problem.hh +++ b/test/porousmediumflow/2pnc/implicit/diffusion/problem.hh @@ -26,6 +26,8 @@ #include <dune/grid/yaspgrid.hh> +#include <dumux/common/boundarytypes.hh> + #include <dumux/discretization/cctpfa.hh> #include <dumux/discretization/ccmpfa.hh> #include <dumux/porousmediumflow/2pnc/model.hh> @@ -113,7 +115,7 @@ class TwoPNCDiffusionProblem : public PorousMediumFlowProblem<TypeTag> using Indices = typename GetPropType<TypeTag, Properties::ModelTraits>::Indices; using PrimaryVariables = GetPropType<TypeTag, Properties::PrimaryVariables>; using NumEqVector = GetPropType<TypeTag, Properties::NumEqVector>; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::BoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using Element = typename GridView::template Codim<0>::Entity; using GlobalPosition = typename Element::Geometry::GlobalCoordinate; using GridGeometry = GetPropType<TypeTag, Properties::GridGeometry>; diff --git a/test/porousmediumflow/2pnc/implicit/fuelcell/problem.hh b/test/porousmediumflow/2pnc/implicit/fuelcell/problem.hh index ba0360af04ebaab6e27db2c2505eaa8d3344b3d9..3f37d9e3c4ce259e2641634d6524a86417a3df9a 100644 --- a/test/porousmediumflow/2pnc/implicit/fuelcell/problem.hh +++ b/test/porousmediumflow/2pnc/implicit/fuelcell/problem.hh @@ -27,6 +27,8 @@ #include <dune/grid/yaspgrid.hh> +#include <dumux/common/boundarytypes.hh> + #include <dumux/discretization/elementsolution.hh> #include <dumux/discretization/cctpfa.hh> #include <dumux/discretization/box.hh> @@ -110,7 +112,7 @@ class FuelCellProblem : public PorousMediumFlowProblem<TypeTag> using Scalar = GetPropType<TypeTag, Properties::Scalar>; using Indices = typename GetPropType<TypeTag, Properties::ModelTraits>::Indices; using FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::BoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using PrimaryVariables = GetPropType<TypeTag, Properties::PrimaryVariables>; using NumEqVector = GetPropType<TypeTag, Properties::NumEqVector>; using ElementVolumeVariables = typename GetPropType<TypeTag, Properties::GridVolumeVariables>::LocalView;