fixedFluxPressureFvPatchScalarField: Avoid calling evaluate() in the mapping constructor as it call updateCoeffs()

This commit is contained in:
Henry
2013-09-13 00:10:57 +01:00
parent a1a427f875
commit c7cd331617

View File

@ -62,7 +62,10 @@ Foam::fixedFluxPressureFvPatchScalarField::fixedFluxPressureFvPatchScalarField
// Evaluate the value field from the gradient if the internal field is valid
if (&iF && iF.size())
{
evaluate();
scalarField::operator=
(
patchInternalField() + gradient()/patch().deltaCoeffs()
);
}
}