mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
changing zones in readUpdate
This commit is contained in:
@ -284,6 +284,7 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
|
|||||||
*this
|
*this
|
||||||
);
|
);
|
||||||
|
|
||||||
|
pointZones_.setSize(newPointZones.size());
|
||||||
forAll (pointZones_, pzI)
|
forAll (pointZones_, pzI)
|
||||||
{
|
{
|
||||||
pointZones_[pzI] = newPointZones[pzI];
|
pointZones_[pzI] = newPointZones[pzI];
|
||||||
@ -304,6 +305,7 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
|
|||||||
*this
|
*this
|
||||||
);
|
);
|
||||||
|
|
||||||
|
faceZones_.setSize(newFaceZones.size());
|
||||||
forAll (faceZones_, fzI)
|
forAll (faceZones_, fzI)
|
||||||
{
|
{
|
||||||
faceZones_[fzI].resetAddressing
|
faceZones_[fzI].resetAddressing
|
||||||
@ -328,6 +330,7 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
|
|||||||
*this
|
*this
|
||||||
);
|
);
|
||||||
|
|
||||||
|
cellZones_.setSize(newCellZones.size());
|
||||||
forAll (cellZones_, czI)
|
forAll (cellZones_, czI)
|
||||||
{
|
{
|
||||||
cellZones_[czI] = newCellZones[czI];
|
cellZones_[czI] = newCellZones[czI];
|
||||||
|
|||||||
Reference in New Issue
Block a user