From dd55d80568bd5b9e139bcadf2336e060a7ef545f Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Wed, 12 Nov 2014 21:02:56 +0000 Subject: [PATCH] Remove the 'localIndex' method; it is not actually used [[Imported from SVN: r9960]] --- dune/gfe/parallel/globalp1mapper.hh | 6 ------ dune/gfe/parallel/globalp2mapper.hh | 8 -------- 2 files changed, 14 deletions(-) diff --git a/dune/gfe/parallel/globalp1mapper.hh b/dune/gfe/parallel/globalp1mapper.hh index af880708..ae8dc653 100644 --- a/dune/gfe/parallel/globalp1mapper.hh +++ b/dune/gfe/parallel/globalp1mapper.hh @@ -57,7 +57,6 @@ namespace Dune { int globalIndex = globalVertexIndexSet.subIndex(*it, i, dim); localGlobalMap_[localIndex] = globalIndex; - globalLocalMap_[globalIndex] = localIndex; } } @@ -85,10 +84,6 @@ namespace Dune { return true; } - Index localIndex(const int& globalIndex) const { - return globalLocalMap_.find(globalIndex)->second; - } - unsigned int size() const { return size_; @@ -97,7 +92,6 @@ namespace Dune { P1BasisMapper p1Mapper_; IndexMap localGlobalMap_; - IndexMap globalLocalMap_; size_t size_; diff --git a/dune/gfe/parallel/globalp2mapper.hh b/dune/gfe/parallel/globalp2mapper.hh index 789ad77f..cb1e8043 100644 --- a/dune/gfe/parallel/globalp2mapper.hh +++ b/dune/gfe/parallel/globalp2mapper.hh @@ -58,7 +58,6 @@ namespace Dune { int globalIndex = globalVertexIndex.index(*it->template subEntity<2>(i)); localGlobalMap_[localIndex] = globalIndex; - globalLocalMap_[globalIndex] = localIndex; } // Loop over all edges @@ -73,7 +72,6 @@ namespace Dune { int globalIndex = globalEdgeIndex.index(*it->template subEntity<1>(i)) + globalVertexIndex.size(2); localGlobalMap_[localIndex] = globalIndex; - globalLocalMap_[globalIndex] = localIndex; } // One element degree of freedom for quadrilaterals @@ -89,7 +87,6 @@ namespace Dune { + globalVertexIndex.size(2); localGlobalMap_[localIndex] = globalIndex; - globalLocalMap_[globalIndex] = localIndex; } } @@ -118,10 +115,6 @@ namespace Dune { return true; } - Index localIndex(const int& globalIndex) const { - return globalLocalMap_.find(globalIndex)->second; - } - unsigned int size() const { return size_; @@ -130,7 +123,6 @@ namespace Dune { P2BasisMapper<GridView> p2Mapper_; IndexMap localGlobalMap_; - IndexMap globalLocalMap_; size_t nOwnedLocalEntity_; size_t size_; -- GitLab