mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
fix meshing empty meshes
This commit is contained in:
parent
167df9feb9
commit
a51f8ed307
@ -315,6 +315,9 @@ namespace netgen
|
|||||||
throw NgException ("Stop meshing since boundary mesh is overlapping");
|
throw NgException ("Stop meshing since boundary mesh is overlapping");
|
||||||
|
|
||||||
|
|
||||||
|
if(mesh3d.GetNDomains()==0)
|
||||||
|
return MESHING3_OK;
|
||||||
|
|
||||||
Array<Mesh> meshes(mesh3d.GetNDomains()-1);
|
Array<Mesh> meshes(mesh3d.GetNDomains()-1);
|
||||||
auto first_new_pi = mesh3d.Points().Range().Next();
|
auto first_new_pi = mesh3d.Points().Range().Next();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user