Skip to content
Snippets Groups Projects
Commit e704d0c9 authored by Mattijs Janssens's avatar Mattijs Janssens
Browse files

changing zones in readUpdate

parent a972933b
No related branches found
No related tags found
No related merge requests found
...@@ -284,6 +284,7 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate() ...@@ -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() ...@@ -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() ...@@ -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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment