Skip to content
Snippets Groups Projects
Commit bd7ace5b authored by Andrew Heather's avatar Andrew Heather
Browse files

added updated() check

parent 60e3918b
Branches
Tags
No related merge requests found
......@@ -191,6 +191,11 @@ mutkWallFunctionFvPatchScalarField::mutkWallFunctionFvPatchScalarField
void mutkWallFunctionFvPatchScalarField::updateCoeffs()
{
if (updated())
{
return;
}
operator==(calcMut());
fixedValueFvPatchScalarField::updateCoeffs();
......
......@@ -200,6 +200,11 @@ nutkWallFunctionFvPatchScalarField::nutkWallFunctionFvPatchScalarField
void nutkWallFunctionFvPatchScalarField::updateCoeffs()
{
if (updated())
{
return;
}
operator==(calcNut());
fixedValueFvPatchScalarField::updateCoeffs();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment