Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
0efac64b
Commit
0efac64b
authored
12 years ago
by
laurence
Browse files
Options
Downloads
Patches
Plain Diff
BUG: pointZone: Check point in same (or no) zone on all processors.
parent
686b8f19
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/OpenFOAM/meshes/polyMesh/zones/ZoneMesh/ZoneMesh.C
+2
-2
2 additions, 2 deletions
src/OpenFOAM/meshes/polyMesh/zones/ZoneMesh/ZoneMesh.C
src/OpenFOAM/meshes/polyMesh/zones/pointZone/pointZone.C
+12
-4
12 additions, 4 deletions
src/OpenFOAM/meshes/polyMesh/zones/pointZone/pointZone.C
with
14 additions
and
6 deletions
src/OpenFOAM/meshes/polyMesh/zones/ZoneMesh/ZoneMesh.C
+
2
−
2
View file @
0efac64b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
========= |
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011
-2013
OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation |
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
License
License
...
@@ -492,7 +492,7 @@ bool Foam::ZoneMesh<ZoneType, MeshType>::checkParallelSync
...
@@ -492,7 +492,7 @@ bool Foam::ZoneMesh<ZoneType, MeshType>::checkParallelSync
<<
" of type "
<<
zones
[
zoneI
].
type
()
<<
" of type "
<<
zones
[
zoneI
].
type
()
<<
" is not correctly synchronised"
<<
" is not correctly synchronised"
<<
" across coupled boundaries."
<<
" across coupled boundaries."
<<
" (coupled faces are either not both
"
<<
" (coupled faces are either not both"
<<
" present in set or have same flipmap)"
<<
endl
;
<<
" present in set or have same flipmap)"
<<
endl
;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
src/OpenFOAM/meshes/polyMesh/zones/pointZone/pointZone.C
+
12
−
4
View file @
0efac64b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
========= |
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011
-2013
OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation |
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
License
License
...
@@ -154,8 +154,15 @@ bool Foam::pointZone::checkParallelSync(const bool report) const
...
@@ -154,8 +154,15 @@ bool Foam::pointZone::checkParallelSync(const bool report) const
forAll
(
maxZone
,
pointI
)
forAll
(
maxZone
,
pointI
)
{
{
// Check point in zone on both sides
// Check point in same (or no) zone on all processors
if
(
maxZone
[
pointI
]
!=
minZone
[
pointI
])
if
(
(
maxZone
[
pointI
]
!=
-
1
||
minZone
[
pointI
]
!=
labelMax
)
&&
(
maxZone
[
pointI
]
!=
minZone
[
pointI
])
)
{
{
if
(
report
&&
!
error
)
if
(
report
&&
!
error
)
{
{
...
@@ -167,7 +174,8 @@ bool Foam::pointZone::checkParallelSync(const bool report) const
...
@@ -167,7 +174,8 @@ bool Foam::pointZone::checkParallelSync(const bool report) const
<<
(
minZone
[
pointI
]
==
labelMax
?
-
1
:
minZone
[
pointI
])
<<
(
minZone
[
pointI
]
==
labelMax
?
-
1
:
minZone
[
pointI
])
<<
" on some processors and in zone "
<<
" on some processors and in zone "
<<
maxZone
[
pointI
]
<<
maxZone
[
pointI
]
<<
" on some other processors."
<<
" on some other processors."
<<
nl
<<
"(suppressing further warnings)"
<<
endl
;
<<
endl
;
}
}
error
=
true
;
error
=
true
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment