diff --git a/dumux/porousmediumflow/nonequilibrium/volumevariables.hh b/dumux/porousmediumflow/nonequilibrium/volumevariables.hh index 2f519ddd5554203bfcd8a34804e2c7c4536d2b2c..09c73d50a4e30e5cb4317f7a402e6933559cc957 100644 --- a/dumux/porousmediumflow/nonequilibrium/volumevariables.hh +++ b/dumux/porousmediumflow/nonequilibrium/volumevariables.hh @@ -252,7 +252,7 @@ public: characteristicLength_ = problem.spatialParams().characteristicLength(element, scv, elemSol); // set the dimensionless numbers and obtain respective quantities. - const auto globalVertexIdx = problem.fvGridGeometry().vertexMapper().subIndex(element, scv, Element::Geometry::myDimension); + const auto globalVertexIdx = problem.fvGridGeometry().vertexMapper().subIndex(element, scv, Element::Geometry::mydimension); for (int phaseIdx = 0; phaseIdx < ModelTraits::numPhases(); ++phaseIdx) { const auto darcyMagVelocity = problem.gridVariables().volumeDarcyMagVelocity(phaseIdx, globalVertexIdx);