added updated() check

This commit is contained in:
andy
2009-08-03 15:26:41 +01:00
parent 60e3918be8
commit bd7ace5b2e
2 changed files with 10 additions and 0 deletions

View File

@ -191,6 +191,11 @@ mutkWallFunctionFvPatchScalarField::mutkWallFunctionFvPatchScalarField
void mutkWallFunctionFvPatchScalarField::updateCoeffs()
{
if (updated())
{
return;
}
operator==(calcMut());
fixedValueFvPatchScalarField::updateCoeffs();

View File

@ -200,6 +200,11 @@ nutkWallFunctionFvPatchScalarField::nutkWallFunctionFvPatchScalarField
void nutkWallFunctionFvPatchScalarField::updateCoeffs()
{
if (updated())
{
return;
}
operator==(calcNut());
fixedValueFvPatchScalarField::updateCoeffs();