mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Fix checkMixedElement()
This commit is contained in:
parent
4710d94fb7
commit
aa5dfdfa57
@ -25,15 +25,15 @@ namespace netgen
|
|||||||
bool mixed = false;
|
bool mixed = false;
|
||||||
ParallelForRange( Range(seia), [&] (auto myrange) NETGEN_LAMBDA_INLINE
|
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)
|
if(sel.GetNP() == 3)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
for(auto i : Range(sel.GetNP()))
|
for(auto pi : Range(sel.GetNP()))
|
||||||
if(mesh[sel[i]].Type() == SURFACEPOINT)
|
if(mesh[sel[pi]].Type() == SURFACEPOINT)
|
||||||
mixed = true;
|
mixed = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user