Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev

This commit is contained in:
Henry Weller
2024-05-24 10:31:55 +01:00

View File

@ -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>