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:
@ -328,9 +328,7 @@ void Foam::polyMesh::setTopology
|
|||||||
|
|
||||||
const label cellInside = curPatchFaceCells[faceI];
|
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];
|
const faceList& facesOfCellInside = cellsFaceShapes[cellInside];
|
||||||
|
|
||||||
bool found = false;
|
bool found = false;
|
||||||
@ -366,6 +364,9 @@ void Foam::polyMesh::setTopology
|
|||||||
|
|
||||||
found = true;
|
found = true;
|
||||||
|
|
||||||
|
// Set the patch face to corresponding cell-face
|
||||||
|
faces_[nFaces] = facesOfCellInside[cellFaceI];
|
||||||
|
|
||||||
cells[cellInside][cellFaceI] = nFaces;
|
cells[cellInside][cellFaceI] = nFaces;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user