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

[test][porousmediumflow][1pncmin] Use BoundaryTypes directly

parent bcaf20d1
Branches 1094-search-and-remove-deprecated-stuff
No related tags found
1 merge request!1981Feature/deduce boundarytypes
...@@ -29,6 +29,8 @@ ...@@ -29,6 +29,8 @@
#include <dune/grid/yaspgrid.hh> #include <dune/grid/yaspgrid.hh>
#include <dumux/porousmediumflow/1pncmin/model.hh> #include <dumux/porousmediumflow/1pncmin/model.hh>
#include <dumux/common/boundarytypes.hh>
#include <dumux/discretization/elementsolution.hh> #include <dumux/discretization/elementsolution.hh>
#include <dumux/discretization/box.hh> #include <dumux/discretization/box.hh>
#include <dumux/discretization/cctpfa.hh> #include <dumux/discretization/cctpfa.hh>
...@@ -129,7 +131,7 @@ class ThermoChemProblem : public PorousMediumFlowProblem<TypeTag> ...@@ -129,7 +131,7 @@ class ThermoChemProblem : public PorousMediumFlowProblem<TypeTag>
using Indices = typename GetPropType<TypeTag, Properties::ModelTraits>::Indices; using Indices = typename GetPropType<TypeTag, Properties::ModelTraits>::Indices;
using PrimaryVariables = GetPropType<TypeTag, Properties::PrimaryVariables>; using PrimaryVariables = GetPropType<TypeTag, Properties::PrimaryVariables>;
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 SubControlVolume = typename FVElementGeometry::SubControlVolume; using SubControlVolume = typename FVElementGeometry::SubControlVolume;
......
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