Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
8eeb5e86
Commit
8eeb5e86
authored
May 20, 2020
by
mattijs
Browse files
ENH: redistributePar: handle cyclicACMI. See
#1558
.
Explicitly avoid updating cyclicACMI.
parent
eacba825
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/utilities/parallelProcessing/redistributePar/redistributePar.C
View file @
8eeb5e86
...
...
@@ -100,6 +100,8 @@ Usage
#include "meshRefinement.H"
#include "pointFields.H"
#include "cyclicACMIFvPatch.H"
using
namespace
Foam
;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -765,8 +767,9 @@ void correctCoupledBoundaryConditions(fvMesh& mesh)
forAll
(
bfld
,
patchi
)
{
auto
&
pfld
=
bfld
[
patchi
];
const
auto
&
fvp
=
mesh
.
boundary
()[
patchi
];
if
(
pfld
.
patch
().
coupled
(
))
if
(
fvp
.
coupled
()
&&
!
isA
<
cyclicACMIFvPatch
>
(
fvp
))
{
pfld
.
initEvaluate
(
Pstream
::
defaultCommsType
);
}
...
...
@@ -798,9 +801,10 @@ void correctCoupledBoundaryConditions(fvMesh& mesh)
forAll
(
patchSchedule
,
patchEvali
)
{
const
label
patchi
=
patchSchedule
[
patchEvali
].
patch
;
const
auto
&
fvp
=
mesh
.
boundary
()[
patchi
];
auto
&
pfld
=
bfld
[
patchi
];
if
(
pfld
.
patch
().
coupled
(
))
if
(
fvp
.
coupled
()
&&
!
isA
<
cyclicACMIFvPatch
>
(
fvp
))
{
if
(
patchSchedule
[
patchEvali
].
init
)
{
...
...
Write
Preview
Markdown
is supported
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