Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
0ebd122b
Commit
0ebd122b
authored
Aug 08, 2015
by
Henry Weller
Browse files
polyMeshFromShapeMesh: Set patch-face to corresponding cell-face
Resolves bug-report
http://www.openfoam.org/mantisbt/view.php?id=1818
parent
0cf3ae4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/meshes/polyMesh/polyMeshFromShapeMesh.C
View file @
0ebd122b
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment