Skip to content
Snippets Groups Projects
Commit 1262ac95 authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

g.maxlevel() removed in EdgeSpace. EdgeSpace should be revised.

[[Imported from SVN: r1195]]
parent 2272ab89
Branches
Tags
No related merge requests found
......@@ -724,12 +724,11 @@ namespace Dune {
typedef typename GridType::template Traits<0>::LevelIterator LevelIterator;
int level = g.maxlevel();
int edgeSize = 3 * g.size ( g.maxlevel(), 0);
int edgeSize = 3 * g.size ( level , 0);
edgeMap_.resize( edgeSize );
for(int i=0; i<edgeSize; i++) edgeMap_[i] = -1;
LevelIterator it = g.lbegin<0>( level);
LevelIterator it = g.lbegin<0>(level);
LevelIterator endit = g.lend<0>(level);
// walktrough grid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment