Avoid parallel call of BuildBoundaryEdges() inside LegalTet()

This commit is contained in:
Matthias Hochsteger 2019-09-05 13:38:41 +02:00
parent 0fcf99dc56
commit 7e7a1bb98b

View File

@ -5759,6 +5759,9 @@ namespace netgen
int Mesh :: MarkIllegalElements ()
{
if(!boundaryedges)
BuildBoundaryEdges();
atomic<int> cnt = 0;
ParallelForRange( Range(volelements), [&] (auto myrange)
{