fix case 12

This commit is contained in:
Laurent Rineau 2023-06-15 11:32:41 +02:00
parent a26351455b
commit 9cd8f0e8e1
1 changed files with 10 additions and 3 deletions

View File

@ -870,9 +870,13 @@ public:
}
break;
}
case Locate_type::FACET:
case Locate_type::FACET: {
if(facet_has_edge(Facet(chprev, liprev), get_edge()))
_curr_simplex = Facet(chprev, liprev); //edge-facet-outside
else
_curr_simplex = chprev; //query goes through the cell
break;
}
case Locate_type::CELL:
_curr_simplex = ch; //edge-cell-outside
break;
@ -915,6 +919,9 @@ public:
}
case Locate_type::FACET:
if(facet_has_edge(Facet(ch, li_exit), get_edge()))
_curr_simplex = Facet(ch, li_exit); //edge-facet-outside
else
_curr_simplex = Cell_handle(_cell_iterator);//query goes through the cell
break;