mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +05:00
Fix checkMixedElement()
This commit is contained in:
parent
4710d94fb7
commit
aa5dfdfa57
@ -25,15 +25,15 @@ namespace netgen
|
||||
bool mixed = false;
|
||||
ParallelForRange( Range(seia), [&] (auto myrange) NETGEN_LAMBDA_INLINE
|
||||
{
|
||||
for (SurfaceElementIndex i : myrange)
|
||||
for (auto i : myrange)
|
||||
{
|
||||
const auto & sel = mesh[i];
|
||||
const auto & sel = mesh[seia[i]];
|
||||
|
||||
if(sel.GetNP() == 3)
|
||||
continue;
|
||||
|
||||
for(auto i : Range(sel.GetNP()))
|
||||
if(mesh[sel[i]].Type() == SURFACEPOINT)
|
||||
for(auto pi : Range(sel.GetNP()))
|
||||
if(mesh[sel[pi]].Type() == SURFACEPOINT)
|
||||
mixed = true;
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user