order elements such that first vertex is lowest index (reduce equivalence classes)

This commit is contained in:
Joachim Schoeberl 2022-11-13 19:09:13 +01:00
parent 616c04934a
commit b2e8100545

View File

@ -1153,6 +1153,8 @@ namespace netgen
for (int i = 0; i < mesh.GetNDomains(); i++)
if (auto name = solids[i]->properties.name)
mesh.SetMaterial (i+1, *name);
mesh.OrderElements();
}
shared_ptr<NetgenGeometry> GeometryRegisterArray :: LoadFromMeshFile (istream & ist) const