Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev
This commit is contained in:
commit
5301bf1ce7
@ -315,12 +315,6 @@ void Foam::mergePolyMesh::addMesh(const polyMesh& m)
|
||||
}
|
||||
}
|
||||
|
||||
newOwn = own[faceI];
|
||||
if (newOwn > -1) newOwn = renumberCells[newOwn];
|
||||
|
||||
newNei = nei[faceI];
|
||||
if (newNei > -1) newNei = renumberCells[newNei];
|
||||
|
||||
if (faceI < m.nInternalFaces() || faceI >= m.nFaces())
|
||||
{
|
||||
newPatch = -1;
|
||||
@ -330,6 +324,20 @@ void Foam::mergePolyMesh::addMesh(const polyMesh& m)
|
||||
newPatch = patchIndices[bm.whichPatch(faceI)];
|
||||
}
|
||||
|
||||
newOwn = own[faceI];
|
||||
if (newOwn > -1) newOwn = renumberCells[newOwn];
|
||||
|
||||
if (newPatch > -1)
|
||||
{
|
||||
newNei = -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
newNei = nei[faceI];
|
||||
newNei = renumberCells[newNei];
|
||||
}
|
||||
|
||||
|
||||
newZone = fz.whichZone(faceI);
|
||||
newZoneFlip = false;
|
||||
|
||||
|
@ -284,6 +284,7 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
|
||||
*this
|
||||
);
|
||||
|
||||
pointZones_.setSize(newPointZones.size());
|
||||
forAll (pointZones_, pzI)
|
||||
{
|
||||
pointZones_[pzI] = newPointZones[pzI];
|
||||
@ -304,6 +305,7 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
|
||||
*this
|
||||
);
|
||||
|
||||
faceZones_.setSize(newFaceZones.size());
|
||||
forAll (faceZones_, fzI)
|
||||
{
|
||||
faceZones_[fzI].resetAddressing
|
||||
@ -328,6 +330,7 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
|
||||
*this
|
||||
);
|
||||
|
||||
cellZones_.setSize(newCellZones.size());
|
||||
forAll (cellZones_, czI)
|
||||
{
|
||||
cellZones_[czI] = newCellZones[czI];
|
||||
|
Loading…
Reference in New Issue
Block a user