polyMeshFromShapeMesh: Set patch-face to corresponding cell-face

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1818
This commit is contained in:
Henry Weller
2015-08-08 14:30:06 +01:00
parent 328c7acf6b
commit 23f4ce9871

View File

@ -328,9 +328,7 @@ void Foam::polyMesh::setTopology
const label cellInside = curPatchFaceCells[faceI];
faces_[nFaces] = curFace;
// get faces of the cell inside
// Get faces of the cell inside
const faceList& facesOfCellInside = cellsFaceShapes[cellInside];
bool found = false;
@ -366,6 +364,9 @@ void Foam::polyMesh::setTopology
found = true;
// Set the patch face to corresponding cell-face
faces_[nFaces] = facesOfCellInside[cellFaceI];
cells[cellInside][cellFaceI] = nFaces;
break;