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
|
||||
)
|
||||
:
|
||||
fixedValueFvPatchField<Type>(p, iF),
|
||||
fixedValueFvPatchField<Type>
|
||||
(
|
||||
p,
|
||||
iF,
|
||||
dict,
|
||||
!Pstream::parRun() && p.boundaryMesh().mesh().time().processorCase()
|
||||
),
|
||||
meanValue_
|
||||
(
|
||||
Function1<Type>::New
|
||||
@ -47,9 +53,12 @@ Foam::fixedMeanFvPatchField<Type>::fixedMeanFvPatchField
|
||||
dict
|
||||
)
|
||||
)
|
||||
{
|
||||
if (Pstream::parRun() || !p.boundaryMesh().mesh().time().processorCase())
|
||||
{
|
||||
this->evaluate();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
template<class Type>
|
||||
|
||||
Reference in New Issue
Block a user