Skip to content
Snippets Groups Projects
Commit dd55d805 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Remove the 'localIndex' method; it is not actually used

[[Imported from SVN: r9960]]
parent d4da6e06
No related branches found
No related tags found
No related merge requests found
......@@ -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_;
......
......@@ -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_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment