mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
Merge branch 'delete_tempels' into 'master'
Delete tempels Array during SwapImprove (saves memory) See merge request jschoeberl/netgen!275
This commit is contained in:
commit
b65b6c90ec
@ -1078,6 +1078,7 @@ namespace netgen
|
|||||||
tempmesh.AddVolumeElement (el);
|
tempmesh.AddVolumeElement (el);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tempels.DeleteAll();
|
||||||
|
|
||||||
MeshQuality3d (tempmesh);
|
MeshQuality3d (tempmesh);
|
||||||
|
|
||||||
@ -1132,6 +1133,7 @@ namespace netgen
|
|||||||
|
|
||||||
MeshQuality3d (tempmesh);
|
MeshQuality3d (tempmesh);
|
||||||
|
|
||||||
|
tempels.SetSize(tempmesh.GetNE());
|
||||||
tempels.SetSize(0);
|
tempels.SetSize(0);
|
||||||
for (auto & el : tempmesh.VolumeElements())
|
for (auto & el : tempmesh.VolumeElements())
|
||||||
tempels.Append (el);
|
tempels.Append (el);
|
||||||
|
Loading…
Reference in New Issue
Block a user