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
26c2c3f6
Commit
26c2c3f6
authored
Apr 05, 2013
by
andy
Browse files
BUG: Corrected collocated patch handling
parent
bf8df5f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sampling/sampledSurface/isoSurface/isoSurface.C
View file @
26c2c3f6
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
2
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -75,18 +75,24 @@ Foam::PackedBoolList Foam::isoSurface::collocatedFaces
// Initialise to false
PackedBoolList
collocated
(
pp
.
size
());
if
(
isA
<
processorPolyPatch
>
(
pp
)
&&
collocatedPatch
(
pp
)
)
if
(
isA
<
processorPolyPatch
>
(
pp
))
{
forAll
(
pp
,
i
)
if
(
collocatedPatch
(
pp
)
)
{
collocated
[
i
]
=
1u
;
forAll
(
pp
,
i
)
{
collocated
[
i
]
=
1u
;
}
}
}
else
if
(
isA
<
cyclicPolyPatch
>
(
pp
)
&&
collocatedPatch
(
pp
)
)
else
if
(
isA
<
cyclicPolyPatch
>
(
pp
))
{
forAll
(
pp
,
i
)
if
(
collocatedPatch
(
pp
)
)
{
collocated
[
i
]
=
1u
;
forAll
(
pp
,
i
)
{
collocated
[
i
]
=
1u
;
}
}
}
else
...
...
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