Commit b48c8d0d authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Delete mesh removed from stationary problem due to some bug in coupling problems.

parent 537e10f4
......@@ -139,9 +139,6 @@ namespace AMDiS {
delete elementPrototype;
if (elementDataPrototype)
delete elementDataPrototype;
for (unsigned int i = 0; i < admin.size(); i++)
delete admin[i];
}
......
......@@ -122,16 +122,22 @@ namespace AMDiS {
}
for (unsigned int i = 0; i < meshes.size(); i++)
if (meshes[i])
delete meshes[i];
if (meshes[i]) {
// delete meshes[i];
// meshes[i] = NULL;
}
for (unsigned int i = 0; i < estimator.size(); i++)
if (estimator[i])
if (estimator[i]) {
delete estimator[i];
estimator[i] = NULL;
}
for (unsigned int i = 0; i < marker.size(); i++)
if (marker[i])
if (marker[i]) {
delete marker[i];
marker[i] = NULL;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment