diff --git a/test/porousmediumflow/2pncmin/implicit/isothermal/problem.hh b/test/porousmediumflow/2pncmin/implicit/isothermal/problem.hh index 8e0121fc33ff05aeec562b4db0b963832d4f3459..7f5a508640f2a1fa40d74722c5a8aa72b09c3d5b 100644 --- a/test/porousmediumflow/2pncmin/implicit/isothermal/problem.hh +++ b/test/porousmediumflow/2pncmin/implicit/isothermal/problem.hh @@ -26,6 +26,8 @@ #include <dune/grid/yaspgrid.hh> +#include <dumux/common/boundarytypes.hh> + #include <dumux/discretization/elementsolution.hh> #include <dumux/discretization/method.hh> #include <dumux/discretization/cctpfa.hh> @@ -175,7 +177,7 @@ class DissolutionProblem : public PorousMediumFlowProblem<TypeTag> 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 ElementVolumeVariables = typename GetPropType<TypeTag, Properties::GridVolumeVariables>::LocalView; using Element = typename GridView::template Codim<0>::Entity; using GridGeometry = GetPropType<TypeTag, Properties::GridGeometry>; diff --git a/test/porousmediumflow/2pncmin/implicit/nonisothermal/problem.hh b/test/porousmediumflow/2pncmin/implicit/nonisothermal/problem.hh index 1b0ae1f146e182217cfe4193cb3367da1773a063..ecb694b7a6d4b8e2dd21baa37fca66225b67e92b 100644 --- a/test/porousmediumflow/2pncmin/implicit/nonisothermal/problem.hh +++ b/test/porousmediumflow/2pncmin/implicit/nonisothermal/problem.hh @@ -26,7 +26,9 @@ #include <dune/grid/yaspgrid.hh> +#include <dumux/common/boundarytypes.hh> #include <dumux/common/properties.hh> + #include <dumux/discretization/elementsolution.hh> #include <dumux/discretization/method.hh> #include <dumux/discretization/cctpfa.hh> @@ -183,7 +185,7 @@ class SalinizationProblem : public PorousMediumFlowProblem<TypeTag> 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 GridVariables = GetPropType<TypeTag, Properties::GridVariables>; using ElementFluxVariablesCache = typename GridVariables::GridFluxVariablesCache::LocalView; using ElementVolumeVariables = typename GetPropType<TypeTag, Properties::GridVolumeVariables>::LocalView;