delete pointelements after parallel mesh send (TODO: send pointelements!)

This commit is contained in:
Matthias Hochsteger 2021-02-02 18:59:32 +01:00
parent 4619525280
commit 221d3f5a9a

View File

@ -789,6 +789,7 @@ namespace netgen
self.surfelements = Array<Element2d>(0); self.surfelements = Array<Element2d>(0);
self.volelements = Array<Element>(0); self.volelements = Array<Element>(0);
self.segments = Array<Segment>(0); self.segments = Array<Segment>(0);
self.pointelements = Array<Element0d>(0);
self.lockedpoints = Array<PointIndex>(0); self.lockedpoints = Array<PointIndex>(0);
auto cleanup_ptr = [](auto & ptr) { auto cleanup_ptr = [](auto & ptr) {
if (ptr != nullptr) { if (ptr != nullptr) {