diff --git a/dumux/geomechanics/el2p/el2plocaloperator.hh b/dumux/geomechanics/el2p/el2plocaloperator.hh index 0b6b187f4fe499ec8b78d121a8b248722ffc7ec7..edd1453d12ebcd12ae7d8652896fd8ace37881d4 100644 --- a/dumux/geomechanics/el2p/el2plocaloperator.hh +++ b/dumux/geomechanics/el2p/el2plocaloperator.hh @@ -382,7 +382,7 @@ public: // get face index of this intersection int fIdx = isIt->indexInInside(); // get dimension of face - const int dimIs = Dune::PDELab::IntersectionGeometry<Intersection>::Entity::Geometry::dimension; + const int dimIs = Dune::PDELab::IntersectionGeometry<Intersection>::Entity::Geometry::mydimension; // get reference element for intersection geometry (reference element for face if dim = 3) const Dune::ReferenceElement<DT,dimIs>& refElement = Dune::ReferenceElements<DT,dimIs>::general(geomType);