Bugfix: Pstream default comms format
This commit is contained in:
parent
9a0ff103cd
commit
89c27a55a6
3 changed files with 10 additions and 9 deletions
|
@ -77,7 +77,7 @@ void directMappedFixedValueFvPatchField<Type>::mapField()
|
||||||
}
|
}
|
||||||
mapDistribute::distribute
|
mapDistribute::distribute
|
||||||
(
|
(
|
||||||
static_cast<Pstream::commsTypes>(Pstream::defaultCommsType()),
|
Pstream::defaultComms(),
|
||||||
distMap.schedule(),
|
distMap.schedule(),
|
||||||
distMap.constructSize(),
|
distMap.constructSize(),
|
||||||
distMap.subMap(),
|
distMap.subMap(),
|
||||||
|
@ -112,7 +112,7 @@ void directMappedFixedValueFvPatchField<Type>::mapField()
|
||||||
newValues_ = nbrField.boundaryField()[nbrPatchID];
|
newValues_ = nbrField.boundaryField()[nbrPatchID];
|
||||||
mapDistribute::distribute
|
mapDistribute::distribute
|
||||||
(
|
(
|
||||||
static_cast<Pstream::commsTypes>(Pstream::defaultCommsType()),
|
Pstream::defaultComms(),
|
||||||
distMap.schedule(),
|
distMap.schedule(),
|
||||||
distMap.constructSize(),
|
distMap.constructSize(),
|
||||||
distMap.subMap(),
|
distMap.subMap(),
|
||||||
|
@ -144,7 +144,7 @@ void directMappedFixedValueFvPatchField<Type>::mapField()
|
||||||
|
|
||||||
mapDistribute::distribute
|
mapDistribute::distribute
|
||||||
(
|
(
|
||||||
static_cast<Pstream::commsTypes>(Pstream::defaultCommsType()),
|
Pstream::defaultComms(),
|
||||||
distMap.schedule(),
|
distMap.schedule(),
|
||||||
distMap.constructSize(),
|
distMap.constructSize(),
|
||||||
distMap.subMap(),
|
distMap.subMap(),
|
||||||
|
|
|
@ -274,7 +274,7 @@ void Foam::turbulentTemperatureCoupledBaffleFvPatchScalarField::updateCoeffs()
|
||||||
scalarField nbrIntFld = nbrField.patchInternalField();
|
scalarField nbrIntFld = nbrField.patchInternalField();
|
||||||
mapDistribute::distribute
|
mapDistribute::distribute
|
||||||
(
|
(
|
||||||
static_cast<Pstream::commsTypes>(Pstream::defaultCommsType()),
|
Pstream::defaultComms(),
|
||||||
distMap.schedule(),
|
distMap.schedule(),
|
||||||
distMap.constructSize(),
|
distMap.constructSize(),
|
||||||
distMap.subMap(), // what to send
|
distMap.subMap(), // what to send
|
||||||
|
@ -286,7 +286,7 @@ void Foam::turbulentTemperatureCoupledBaffleFvPatchScalarField::updateCoeffs()
|
||||||
scalarField nbrKappaDelta = nbrField.Kappa()*nbrPatch.deltaCoeffs();
|
scalarField nbrKappaDelta = nbrField.Kappa()*nbrPatch.deltaCoeffs();
|
||||||
mapDistribute::distribute
|
mapDistribute::distribute
|
||||||
(
|
(
|
||||||
static_cast<Pstream::commsTypes>(Pstream::defaultCommsType()),
|
Pstream::defaultComms(),
|
||||||
distMap.schedule(),
|
distMap.schedule(),
|
||||||
distMap.constructSize(),
|
distMap.constructSize(),
|
||||||
distMap.subMap(), // what to send
|
distMap.subMap(), // what to send
|
||||||
|
@ -296,7 +296,8 @@ void Foam::turbulentTemperatureCoupledBaffleFvPatchScalarField::updateCoeffs()
|
||||||
|
|
||||||
tmp<scalarField> myKappaDelta = Kappa()*patch().deltaCoeffs();
|
tmp<scalarField> myKappaDelta = Kappa()*patch().deltaCoeffs();
|
||||||
|
|
||||||
// Calculate common wall temperature. Reuse *this to store common value.
|
// Calculate common wall temperature.
|
||||||
|
// Reuse *this to store common value.
|
||||||
scalarField Twall
|
scalarField Twall
|
||||||
(
|
(
|
||||||
(myKappaDelta()*intFld() + nbrKappaDelta*nbrIntFld)
|
(myKappaDelta()*intFld() + nbrKappaDelta*nbrIntFld)
|
||||||
|
@ -307,7 +308,7 @@ void Foam::turbulentTemperatureCoupledBaffleFvPatchScalarField::updateCoeffs()
|
||||||
// Distribute back and assign to neighbour
|
// Distribute back and assign to neighbour
|
||||||
mapDistribute::distribute
|
mapDistribute::distribute
|
||||||
(
|
(
|
||||||
static_cast<Pstream::commsTypes>(Pstream::defaultCommsType()),
|
Pstream::defaultComms(),
|
||||||
distMap.schedule(),
|
distMap.schedule(),
|
||||||
nbrField.size(),
|
nbrField.size(),
|
||||||
distMap.constructMap(), // reverse : what to send
|
distMap.constructMap(), // reverse : what to send
|
||||||
|
|
|
@ -233,7 +233,7 @@ void turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs()
|
||||||
scalarField nbrIntFld = nbrField.patchInternalField();
|
scalarField nbrIntFld = nbrField.patchInternalField();
|
||||||
mapDistribute::distribute
|
mapDistribute::distribute
|
||||||
(
|
(
|
||||||
static_cast<Pstream::commsTypes>(Pstream::defaultCommsType()),
|
Pstream::defaultComms(),
|
||||||
distMap.schedule(),
|
distMap.schedule(),
|
||||||
distMap.constructSize(),
|
distMap.constructSize(),
|
||||||
distMap.subMap(), // what to send
|
distMap.subMap(), // what to send
|
||||||
|
@ -245,7 +245,7 @@ void turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs()
|
||||||
scalarField nbrKappaDelta = nbrField.Kappa()*nbrPatch.deltaCoeffs();
|
scalarField nbrKappaDelta = nbrField.Kappa()*nbrPatch.deltaCoeffs();
|
||||||
mapDistribute::distribute
|
mapDistribute::distribute
|
||||||
(
|
(
|
||||||
static_cast<Pstream::commsTypes>(Pstream::defaultCommsType()),
|
Pstream::defaultComms(),
|
||||||
distMap.schedule(),
|
distMap.schedule(),
|
||||||
distMap.constructSize(),
|
distMap.constructSize(),
|
||||||
distMap.subMap(), // what to send
|
distMap.subMap(), // what to send
|
||||||
|
|
Reference in a new issue