mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
fixedFluxPressureFvPatchScalarField: Avoid calling evaluate() in the mapping constructor as it call updateCoeffs()
This commit is contained in:
@ -62,7 +62,10 @@ Foam::fixedFluxPressureFvPatchScalarField::fixedFluxPressureFvPatchScalarField
|
|||||||
// Evaluate the value field from the gradient if the internal field is valid
|
// Evaluate the value field from the gradient if the internal field is valid
|
||||||
if (&iF && iF.size())
|
if (&iF && iF.size())
|
||||||
{
|
{
|
||||||
evaluate();
|
scalarField::operator=
|
||||||
|
(
|
||||||
|
patchInternalField() + gradient()/patch().deltaCoeffs()
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user