Commit 50f725bf authored by Martin Alkämper's avatar Martin Alkämper

fix conforming macro level iterator for longest edge

parent 8a0380ea
Pipeline #21986 failed with stage
in 26 minutes and 29 seconds
......@@ -130,7 +130,8 @@ namespace Dune
const GEOElementType * inner = static_cast<const GEOElementType *> (innerElement_);
//we come from a macro element, which may have an intersection with an element
//of level one. So we have at most to go up one level
if( inner -> up ())
//TODO: THis is not true in Longest Edge bisection
while( inner -> up ())
{
bool faceNumberChange = false;
if( inner->nChild() == 1)
......@@ -262,7 +263,8 @@ namespace Dune
const GEOElementType * outer = static_cast<const GEOElementType *> (outerElement_);
//we come from a macro element, which may have an intersection with an element
//of level one. So we have at most to go up one level
if( outer -> up ())
//TODO: THis is not true in Longest Edge Bisection
while( outer -> up ())
{
bool faceNumberChange = false;
if( outer->nChild() == 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment