mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: regionModel: correct parallel startup
This commit is contained in:
@ -103,7 +103,7 @@ void Foam::regionModels::regionModel::initialise()
|
|||||||
forAll(rbm, patchI)
|
forAll(rbm, patchI)
|
||||||
{
|
{
|
||||||
const polyPatch& regionPatch = rbm[patchI];
|
const polyPatch& regionPatch = rbm[patchI];
|
||||||
if (isA<mappedWallPolyPatch>(regionPatch))
|
if (isA<mappedPatchBase>(regionPatch))
|
||||||
{
|
{
|
||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
@ -136,7 +136,7 @@ void Foam::regionModels::regionModel::initialise()
|
|||||||
primaryPatchIDs_.transfer(primaryPatchIDs);
|
primaryPatchIDs_.transfer(primaryPatchIDs);
|
||||||
intCoupledPatchIDs_.transfer(intCoupledPatchIDs);
|
intCoupledPatchIDs_.transfer(intCoupledPatchIDs);
|
||||||
|
|
||||||
if (nBoundaryFaces == 0)
|
if (returnReduce(nBoundaryFaces, sumOp<label>()) == 0)
|
||||||
{
|
{
|
||||||
WarningIn("regionModel::initialise()")
|
WarningIn("regionModel::initialise()")
|
||||||
<< "Region model has no mapped boundary conditions - transfer "
|
<< "Region model has no mapped boundary conditions - transfer "
|
||||||
|
|||||||
Reference in New Issue
Block a user