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
42b9779b
Commit
42b9779b
authored
Sep 06, 2013
by
laurence
Browse files
STYLE: Line lengths
parent
6ffcc03d
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshIO.C
View file @
42b9779b
...
...
@@ -928,7 +928,8 @@ void Foam::conformalVoronoiMesh::calcFaceZones
// {
// label faceI = pp.start()+i;
// label ownSurface = cellToSurface[faceOwner[faceI]];
// label neiSurface = neiCellSurface[faceI-mesh.nInternalFaces()];
// label neiSurface =
// neiCellSurface[faceI-mesh.nInternalFaces()];
//
// if (faceToSurface[faceI] == -1 && (ownSurface != neiSurface))
// {
...
...
@@ -1542,28 +1543,6 @@ void Foam::conformalVoronoiMesh::writeMesh
const
labelList
&
faceOwner
=
mesh
.
faceOwner
();
const
labelList
&
faceNeighbour
=
mesh
.
faceNeighbour
();
// // Get coupled neighbour cellZone. Set to -1 on non-coupled patches.
// labelList neiCellZone(mesh.nFaces() - mesh.nInternalFaces(), -1);
//
// const polyBoundaryMesh& patches = mesh.boundaryMesh();
//
// forAll(patches, patchI)
// {
// const polyPatch& pp = patches[patchI];
//
// if (pp.coupled())
// {
// forAll(pp, i)
// {
// label faceI = pp.start()+i;
// neiCellZone[faceI - mesh.nInternalFaces()] =
// surfaceToCellZone[cellToSurface[faceOwner[faceI]]];
// }
// }
// }
//
// syncTools::swapBoundaryFaceList(mesh, neiCellZone);
forAll
(
faceToSurface
,
faceI
)
{
label
surfaceI
=
faceToSurface
[
faceI
];
...
...
@@ -1604,15 +1583,15 @@ void Foam::conformalVoronoiMesh::writeMesh
(
polyModifyFace
(
mesh
.
faces
()[
faceI
],
// modified face
mesh
.
faces
()[
faceI
],
// modified face
faceI
,
// label of face
own
,
// owner
own
,
// owner
-
1
,
// neighbour
false
,
// face flip
patchID
,
// patch for face
patchID
,
// patch for face
false
,
// remove from zone
surfaceToFaceZone
[
surfaceI
],
// zone for face
flipMap
[
faceI
]
// face flip in zone
surfaceToFaceZone
[
surfaceI
],
// zone for face
flipMap
[
faceI
]
// face flip in zone
)
);
}
...
...
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