Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
f42be0fb
Commit
f42be0fb
authored
Apr 02, 2012
by
mattijs
Browse files
ENH: polyMeshFromShapeMesh: construct parallel
parent
4926c19d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/meshes/polyMesh/polyMeshFromShapeMesh.C
View file @
f42be0fb
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -614,10 +614,17 @@ Foam::polyMesh::polyMesh
label
nAllPatches
=
boundaryFaces
.
size
();
if
(
nFaces
>
defaultPatchStart
)
label
nDefaultFaces
=
nFaces
-
defaultPatchStart
;
if
(
syncPar
)
{
reduce
(
nDefaultFaces
,
sumOp
<
label
>
());
}
if
(
nDefaultFaces
>
0
)
{
WarningIn
(
"polyMesh::polyMesh(... construct from shapes...)"
)
<<
"Found "
<<
n
Faces
-
defaultPatchStart
<<
"Found "
<<
n
DefaultFaces
<<
" undefined faces in mesh; adding to default patch."
<<
endl
;
// Check if there already exists a defaultFaces patch as last patch
...
...
@@ -883,10 +890,16 @@ Foam::polyMesh::polyMesh
label
nAllPatches
=
boundaryFaces
.
size
();
if
(
nFaces
>
defaultPatchStart
)
label
nDefaultFaces
=
nFaces
-
defaultPatchStart
;
if
(
syncPar
)
{
reduce
(
nDefaultFaces
,
sumOp
<
label
>
());
}
if
(
nDefaultFaces
>
0
)
{
WarningIn
(
"polyMesh::polyMesh(... construct from shapes...)"
)
<<
"Found "
<<
n
Faces
-
defaultPatchStart
<<
"Found "
<<
n
DefaultFaces
<<
" undefined faces in mesh; adding to default patch."
<<
endl
;
// Check if there already exists a defaultFaces patch as last patch
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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