Clean-up of zones

This commit is contained in:
Hrvoje Jasak 2012-01-17 14:49:44 +00:00
parent b10b731e24
commit a62ea4c48d

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();
}