Skip to content
Snippets Groups Projects
Commit ecbc3306 authored by Kilian Weishaupt's avatar Kilian Weishaupt Committed by Timo Koch
Browse files

[test][porousmediumflow][3pwateroil] Use BoundaryTypes directly

parent f700d104
No related branches found
No related tags found
1 merge request!1981Feature/deduce boundarytypes
...@@ -29,6 +29,8 @@ ...@@ -29,6 +29,8 @@
#include <dumux/porousmediumflow/problem.hh> #include <dumux/porousmediumflow/problem.hh>
#include <dumux/common/boundarytypes.hh>
#include <dumux/discretization/box.hh> #include <dumux/discretization/box.hh>
#include <dumux/porousmediumflow/3pwateroil/model.hh> #include <dumux/porousmediumflow/3pwateroil/model.hh>
...@@ -128,7 +130,7 @@ class SagdProblem : public PorousMediumFlowProblem<TypeTag> ...@@ -128,7 +130,7 @@ class SagdProblem : public PorousMediumFlowProblem<TypeTag>
using GridVariables = GetPropType<TypeTag, Properties::GridVariables>; using GridVariables = GetPropType<TypeTag, Properties::GridVariables>;
using ElementVolumeVariables = typename GridVariables::GridVolumeVariables::LocalView; using ElementVolumeVariables = typename GridVariables::GridVolumeVariables::LocalView;
using ElementFluxVariablesCache = typename GridVariables::GridFluxVariablesCache::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 Element = typename GridView::template Codim<0>::Entity;
using FVElementGeometry = typename GetPropType<TypeTag, Properties::GridGeometry>::LocalView; using FVElementGeometry = typename GetPropType<TypeTag, Properties::GridGeometry>::LocalView;
using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace; using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace;
......
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