From 331f59f89c588cef2fe856c43c09dac0ff605d84 Mon Sep 17 00:00:00 2001 From: Kilian <kilian.weishaupt@iws.uni-stuttgart.de> Date: Thu, 4 Jun 2020 20:07:45 +0200 Subject: [PATCH] [test][porousmediumflow][richardsnc] Use BoundaryTypes directly --- test/porousmediumflow/richardsnc/implicit/problem.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/porousmediumflow/richardsnc/implicit/problem.hh b/test/porousmediumflow/richardsnc/implicit/problem.hh index 82a2a94650..6f10763218 100644 --- a/test/porousmediumflow/richardsnc/implicit/problem.hh +++ b/test/porousmediumflow/richardsnc/implicit/problem.hh @@ -29,6 +29,8 @@ #include <dune/grid/yaspgrid.hh> +#include <dumux/common/boundarytypes.hh> + #include <dumux/discretization/cctpfa.hh> #include <dumux/discretization/box.hh> #include <dumux/porousmediumflow/problem.hh> @@ -115,7 +117,7 @@ class RichardsWellTracerProblem : public PorousMediumFlowProblem<TypeTag> using FVElementGeometry = typename GetPropType<TypeTag, Properties::GridGeometry>::LocalView; using ElementVolumeVariables = typename GetPropType<TypeTag, Properties::GridVolumeVariables>::LocalView; using SubControlVolume = typename FVElementGeometry::SubControlVolume; - using BoundaryTypes = GetPropType<TypeTag, Properties::BoundaryTypes>; + using BoundaryTypes = Dumux::BoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>; using NumEqVector = GetPropType<TypeTag, Properties::NumEqVector>; using PointSource = GetPropType<TypeTag, Properties::PointSource>; using FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>; -- GitLab