Skip to content
GitLab
Menu
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
a922f819
Commit
a922f819
authored
Jan 23, 2009
by
mattijs
Browse files
one-off warning for unsorted boundaries
parent
41c1239a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C
View file @
a922f819
...
...
@@ -538,7 +538,7 @@ bool Foam::polyBoundaryMesh::checkDefinition(const bool report) const
forAll
(
bm
,
patchI
)
{
if
(
bm
[
patchI
].
start
()
!=
nextPatchStart
)
if
(
bm
[
patchI
].
start
()
!=
nextPatchStart
&&
!
boundaryError
)
{
boundaryError
=
true
;
...
...
@@ -547,7 +547,9 @@ bool Foam::polyBoundaryMesh::checkDefinition(const bool report) const
<<
" of type "
<<
bm
[
patchI
].
type
()
<<
". The patch should start on face no "
<<
nextPatchStart
<<
" and the patch specifies "
<<
bm
[
patchI
].
start
()
<<
"."
<<
endl
;
<<
"."
<<
endl
<<
"Possibly consecutive patches have this same problem."
<<
" Suppressing future warnings."
<<
endl
;
}
nextPatchStart
+=
bm
[
patchI
].
size
();
...
...
Write
Preview
Supports
Markdown
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