Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -36,7 +36,13 @@ Foam::fixedMeanFvPatchField<Type>::fixedMeanFvPatchField
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
fixedValueFvPatchField<Type>(p, iF),
|
fixedValueFvPatchField<Type>
|
||||||
|
(
|
||||||
|
p,
|
||||||
|
iF,
|
||||||
|
dict,
|
||||||
|
!Pstream::parRun() && p.boundaryMesh().mesh().time().processorCase()
|
||||||
|
),
|
||||||
meanValue_
|
meanValue_
|
||||||
(
|
(
|
||||||
Function1<Type>::New
|
Function1<Type>::New
|
||||||
@ -47,9 +53,12 @@ Foam::fixedMeanFvPatchField<Type>::fixedMeanFvPatchField
|
|||||||
dict
|
dict
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
{
|
||||||
|
if (Pstream::parRun() || !p.boundaryMesh().mesh().time().processorCase())
|
||||||
{
|
{
|
||||||
this->evaluate();
|
this->evaluate();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
|
|||||||
Reference in New Issue
Block a user