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
109d8410
Commit
109d8410
authored
Jul 05, 2015
by
Henry Weller
Browse files
blockMesh: Improve block merge face correspondence test
parent
722a824b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mesh/blockMesh/blockMesh/blockMeshMerge.C
View file @
109d8410
...
...
@@ -86,11 +86,7 @@ void Foam::blockMesh::calcMergeInfo()
blockPfaceLabel
++
)
{
if
(
blockFaces
[
blockPfaces
[
blockPfaceLabel
]]
==
blockFaces
[
blockFaceLabel
]
)
if
(
blockPfaces
[
blockPfaceLabel
]
==
blockFaceLabel
)
{
foundFace
=
true
;
break
;
...
...
@@ -345,7 +341,6 @@ void Foam::blockMesh::calcMergeInfo()
}
}
// FIXME? - there seems to be some logic missing here
label
blockNfaceLabel
;
for
...
...
@@ -365,8 +360,6 @@ void Foam::blockMesh::calcMergeInfo()
}
}
// FIXME? - there seems to be some logic missing here
const
labelListList
&
blockPfaceFaces
=
blocks
[
blockPlabel
].
boundaryPatches
()[
blockPfaceLabel
];
...
...
@@ -416,7 +409,7 @@ void Foam::blockMesh::calcMergeInfo()
{
FatalErrorIn
(
"blockMesh::calcMergeInfo()"
)
<<
"Point merging failed after max number of passes."
<<
abor
t
(
FatalError
);
<<
exi
t
(
FatalError
);
}
}
while
(
changedPointMerge
);
...
...
@@ -560,7 +553,8 @@ void Foam::blockMesh::calcMergeInfo()
if
(
mergeList_
[
pointLabel
]
>
pointLabel
)
{
FatalErrorIn
(
"blockMesh::calcMergeInfo()"
)
<<
"ouch"
<<
exit
(
FatalError
);
<<
"Merge list contains point index out of range"
<<
exit
(
FatalError
);
}
if
...
...
@@ -579,7 +573,6 @@ void Foam::blockMesh::calcMergeInfo()
}
nPoints_
=
newPointLabel
;
}
...
...
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