mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Delete tempels Array during SwapImprove (saves memory)
This commit is contained in:
parent
77e536746e
commit
5fffc28de9
@ -1078,6 +1078,7 @@ namespace netgen
|
||||
tempmesh.AddVolumeElement (el);
|
||||
}
|
||||
|
||||
tempels.DeleteAll();
|
||||
|
||||
MeshQuality3d (tempmesh);
|
||||
|
||||
@ -1132,6 +1133,7 @@ namespace netgen
|
||||
|
||||
MeshQuality3d (tempmesh);
|
||||
|
||||
tempels.SetSize(tempmesh.GetNE());
|
||||
tempels.SetSize(0);
|
||||
for (auto & el : tempmesh.VolumeElements())
|
||||
tempels.Append (el);
|
||||
|
Loading…
Reference in New Issue
Block a user