Commit 0ebd122b authored by Henry Weller's avatar Henry Weller
Browse files

polyMeshFromShapeMesh: Set patch-face to corresponding cell-face

Resolves bug-report
parent 0cf3ae4f
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment