mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
check overlapping boundaries for sub-domains
This commit is contained in:
parent
1b7aa9baf8
commit
e9fc5f12a1
@ -472,9 +472,6 @@ namespace netgen
|
|||||||
|
|
||||||
mesh3d.Compress();
|
mesh3d.Compress();
|
||||||
|
|
||||||
if (mp.checkoverlappingboundary)
|
|
||||||
if (mesh3d.CheckOverlappingBoundary())
|
|
||||||
throw NgException ("Stop meshing since boundary mesh is overlapping");
|
|
||||||
|
|
||||||
|
|
||||||
if(mesh3d.GetNDomains()==0)
|
if(mesh3d.GetNDomains()==0)
|
||||||
@ -487,6 +484,10 @@ namespace netgen
|
|||||||
|
|
||||||
ParallelFor( md.Range(), [&](int i)
|
ParallelFor( md.Range(), [&](int i)
|
||||||
{
|
{
|
||||||
|
if (mp.checkoverlappingboundary)
|
||||||
|
if (md[i].mesh->CheckOverlappingBoundary())
|
||||||
|
throw NgException ("Stop meshing since boundary mesh is overlapping");
|
||||||
|
|
||||||
CloseOpenQuads( md[i] );
|
CloseOpenQuads( md[i] );
|
||||||
MeshDomain(md[i]);
|
MeshDomain(md[i]);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user