Clean-up of zones
This commit is contained in:
parent
b10b731e24
commit
a62ea4c48d
1 changed files with 4 additions and 2 deletions
|
@ -59,16 +59,18 @@ void Foam::polyMesh::removeZones()
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove the zones
|
// Remove the zones and reset writing
|
||||||
pointZones_.clear();
|
pointZones_.clear();
|
||||||
pointZones_.setSize(0);
|
pointZones_.setSize(0);
|
||||||
|
pointZones_.writeOpt() = IOobject::NO_WRITE;
|
||||||
|
|
||||||
faceZones_.clear();
|
faceZones_.clear();
|
||||||
faceZones_.setSize(0);
|
faceZones_.setSize(0);
|
||||||
|
faceZones_.writeOpt() = IOobject::NO_WRITE;
|
||||||
|
|
||||||
cellZones_.clear();
|
cellZones_.clear();
|
||||||
cellZones_.setSize(0);
|
cellZones_.setSize(0);
|
||||||
|
cellZones_.writeOpt() = IOobject::NO_WRITE;
|
||||||
clearOut();
|
clearOut();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue