From dbc7c0c35ea29faa15fda9a0dd5de1f8e84de9a4 Mon Sep 17 00:00:00 2001
From: Bernd Flemisch <bernd@iws.uni-stuttgart.de>
Date: Thu, 15 Nov 2018 12:46:17 +0100
Subject: [PATCH] [nonequilibrium] fix typo in volume variables

Apparently, this isn't tested.
---
 dumux/porousmediumflow/nonequilibrium/volumevariables.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dumux/porousmediumflow/nonequilibrium/volumevariables.hh b/dumux/porousmediumflow/nonequilibrium/volumevariables.hh
index 2f519ddd55..09c73d50a4 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);
-- 
GitLab