diff --git a/test/porousmediumflow/3pwateroil/implicit/problem.hh b/test/porousmediumflow/3pwateroil/implicit/problem.hh index cce598522e0f4ebaaa00cf569f9155b2088c1603..d937a5b634a9570e030fa52d51133482d944febf 100644 --- a/test/porousmediumflow/3pwateroil/implicit/problem.hh +++ b/test/porousmediumflow/3pwateroil/implicit/problem.hh @@ -29,6 +29,8 @@ #include <dumux/porousmediumflow/problem.hh> +#include <dumux/common/boundarytypes.hh> + #include <dumux/discretization/box.hh> #include <dumux/porousmediumflow/3pwateroil/model.hh> @@ -128,7 +130,7 @@ class SagdProblem : public PorousMediumFlowProblem<TypeTag> using GridVariables = GetPropType<TypeTag, Properties::GridVariables>; using ElementVolumeVariables = typename GridVariables::GridVolumeVariables::LocalView; using ElementFluxVariablesCache = typename GridVariables::GridFluxVariablesCache::LocalView; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::BoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using Element = typename GridView::template Codim<0>::Entity; using FVElementGeometry = typename GetPropType<TypeTag, Properties::GridGeometry>::LocalView; using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace;