mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Avoid parallel call of BuildBoundaryEdges() inside LegalTet()
This commit is contained in:
parent
0fcf99dc56
commit
7e7a1bb98b
@ -5759,6 +5759,9 @@ namespace netgen
|
|||||||
|
|
||||||
int Mesh :: MarkIllegalElements ()
|
int Mesh :: MarkIllegalElements ()
|
||||||
{
|
{
|
||||||
|
if(!boundaryedges)
|
||||||
|
BuildBoundaryEdges();
|
||||||
|
|
||||||
atomic<int> cnt = 0;
|
atomic<int> cnt = 0;
|
||||||
ParallelForRange( Range(volelements), [&] (auto myrange)
|
ParallelForRange( Range(volelements), [&] (auto myrange)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user