Clean-up of zones

This commit is contained in:
Hrvoje Jasak 2012-01-17 14:49:44 +00:00
parent 6fc7e4c12f
commit 8269792b0c

View file

@ -59,16 +59,18 @@ void Foam::polyMesh::removeZones()
<< endl;
}
// Remove the zones
// Remove the zones and reset writing
pointZones_.clear();
pointZones_.setSize(0);
pointZones_.writeOpt() = IOobject::NO_WRITE;
faceZones_.clear();
faceZones_.setSize(0);
faceZones_.writeOpt() = IOobject::NO_WRITE;
cellZones_.clear();
cellZones_.setSize(0);
cellZones_.writeOpt() = IOobject::NO_WRITE;
clearOut();
}