Bugfix: adjusted handling of coupled interfaces on decomposition and reconstruction
This commit is contained in:
parent
c113c6b774
commit
b19ac91318
4 changed files with 31 additions and 4 deletions
|
@ -62,6 +62,15 @@ bool Foam::ggiPolyPatch::active() const
|
|||
polyPatchID shadow(shadowName_, boundaryMesh());
|
||||
faceZoneID zone(zoneName_, boundaryMesh().mesh().faceZones());
|
||||
|
||||
// For decomposition and reconstruction
|
||||
// If not runing in parallel and the patch is not local, this is a serial
|
||||
// operation on a piece of a parallel decomposition and is therefore
|
||||
// inactive. HJ, 5/Spe/2016
|
||||
if (!Pstream::parRun() && !localParallel())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return shadow.active() && zone.active();
|
||||
}
|
||||
|
||||
|
|
|
@ -58,6 +58,15 @@ bool Foam::mixingPlanePolyPatch::active() const
|
|||
polyPatchID shadow(shadowName_, boundaryMesh());
|
||||
faceZoneID zone(zoneName_, boundaryMesh().mesh().faceZones());
|
||||
|
||||
// For decomposition and reconstruction
|
||||
// If not runing in parallel and the patch is not local, this is a serial
|
||||
// operation on a piece of a parallel decomposition and is therefore
|
||||
// inactive. HJ, 5/Sep/2016
|
||||
if (!Pstream::parRun() && !localParallel())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return shadow.active() && zone.active();
|
||||
}
|
||||
|
||||
|
|
|
@ -53,6 +53,15 @@ bool Foam::overlapGgiPolyPatch::active() const
|
|||
polyPatchID shadow(shadowName_, boundaryMesh());
|
||||
faceZoneID zone(zoneName_, boundaryMesh().mesh().faceZones());
|
||||
|
||||
// For decomposition and reconstruction
|
||||
// If not runing in parallel and the patch is not local, this is a serial
|
||||
// operation on a piece of a parallel decomposition and is therefore
|
||||
// inactive. HJ, 5/Sep/2016
|
||||
if (!Pstream::parRun() && !localParallel())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return shadow.active() && zone.active();
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue