From 3d7d86749ca658e0c24a48adca7547232e5f43ce Mon Sep 17 00:00:00 2001
From: Stefan Girke <stefan.girke@wwu.de>
Date: Mon, 9 Feb 2015 11:46:07 +0100
Subject: [PATCH] avoid DiscreteFunctionSpaceType::DimRange/DimDomain

---
 dune/fem-dg/operator/dg/assembled/cdgprimaloperator.hh | 4 ++--
 dune/fem-dg/operator/limiter/limitpass.hh              | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dune/fem-dg/operator/dg/assembled/cdgprimaloperator.hh b/dune/fem-dg/operator/dg/assembled/cdgprimaloperator.hh
index 8922f286..bbf54b5b 100644
--- a/dune/fem-dg/operator/dg/assembled/cdgprimaloperator.hh
+++ b/dune/fem-dg/operator/dg/assembled/cdgprimaloperator.hh
@@ -125,8 +125,8 @@ namespace Dune {
     typedef typename GridType::template Codim<0>::Geometry Geometry;
 
     // Range of the destination
-    enum { dimDomain = DiscreteFunctionSpaceType::DimDomain };
-    enum { dimRange = DiscreteFunctionSpaceType::DimRange };
+    enum { dimDomain = DiscreteFunctionSpaceType::dimDomain };
+    enum { dimRange = DiscreteFunctionSpaceType::dimRange };
     enum { cols = JacobianRangeType :: cols };
     enum { rows = JacobianRangeType :: rows };
     enum { dim = GridType :: dimension };
diff --git a/dune/fem-dg/operator/limiter/limitpass.hh b/dune/fem-dg/operator/limiter/limitpass.hh
index e7931443..abffd6bb 100644
--- a/dune/fem-dg/operator/limiter/limitpass.hh
+++ b/dune/fem-dg/operator/limiter/limitpass.hh
@@ -661,8 +661,8 @@ namespace Dune {
     typedef Fem::CommunicationManager< DiscreteFunctionSpaceType > CommunicationManagerType;
 
     // Range of the destination
-    enum { dimRange = DiscreteFunctionSpaceType::DimRange,
-     dimDomain = DiscreteFunctionSpaceType::DimDomain};
+    enum { dimRange = DiscreteFunctionSpaceType::dimRange,
+     dimDomain = DiscreteFunctionSpaceType::dimDomain};
     enum { dimGrid = GridType :: dimension };
     typedef typename GridType :: ctype ctype;
     typedef FieldVector<ctype, dimGrid-1> FaceLocalDomainType;
-- 
GitLab