mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +05:00
order elements such that first vertex is lowest index (reduce equivalence classes)
This commit is contained in:
parent
616c04934a
commit
b2e8100545
@ -1153,6 +1153,8 @@ namespace netgen
|
|||||||
for (int i = 0; i < mesh.GetNDomains(); i++)
|
for (int i = 0; i < mesh.GetNDomains(); i++)
|
||||||
if (auto name = solids[i]->properties.name)
|
if (auto name = solids[i]->properties.name)
|
||||||
mesh.SetMaterial (i+1, *name);
|
mesh.SetMaterial (i+1, *name);
|
||||||
|
|
||||||
|
mesh.OrderElements();
|
||||||
}
|
}
|
||||||
|
|
||||||
shared_ptr<NetgenGeometry> GeometryRegisterArray :: LoadFromMeshFile (istream & ist) const
|
shared_ptr<NetgenGeometry> GeometryRegisterArray :: LoadFromMeshFile (istream & ist) const
|
||||||
|
Loading…
Reference in New Issue
Block a user