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
17555ea4
Commit
17555ea4
authored
Mar 26, 2013
by
andy
Browse files
BUG: Corrected cyclic proc patch tag creation
parent
adc90617
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.C
View file @
17555ea4
...
...
@@ -150,13 +150,13 @@ int Foam::processorCyclicPolyPatch::tag() const
referPatch
()
);
if
(
cycPatch
.
owner
())
if
(
owner
())
{
tag_
=
Hash
<
word
>
()(
cycPatch
.
name
());
tag_
=
Hash
<
word
>
()(
cycPatch
.
name
())
%
32768u
;
}
else
{
tag_
=
Hash
<
word
>
()(
cycPatch
.
neighbPatch
().
name
());
tag_
=
Hash
<
word
>
()(
cycPatch
.
neighbPatch
().
name
())
%
32768u
;
}
if
(
tag_
==
Pstream
::
msgType
()
||
tag_
==
-
1
)
...
...
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