fine grained parallelization when meshing multiple domains

This commit is contained in:
Matthias Hochsteger 2022-04-15 10:28:08 +02:00
parent a7a5067830
commit 7e8a547a91

View File

@ -469,9 +469,7 @@ namespace netgen
mesh.FindOpenElements(domain); mesh.FindOpenElements(domain);
PrintMessage (3, "Call remove problem"); PrintMessage (3, "Call remove problem");
// mesh.Save("before_remove.vol");
RemoveProblem (mesh, domain); RemoveProblem (mesh, domain);
// mesh.Save("after_remove.vol");
mesh.FindOpenElements(domain); mesh.FindOpenElements(domain);
} }
else else
@ -582,7 +580,7 @@ namespace netgen
FillCloseSurface( md[i] ); FillCloseSurface( md[i] );
CloseOpenQuads( md[i] ); CloseOpenQuads( md[i] );
MeshDomain(md[i]); MeshDomain(md[i]);
}); }, md.Size());
MergeMeshes(mesh3d, md); MergeMeshes(mesh3d, md);