From e57f6769886c9fa6ecfd2b1b47698ee383e241db Mon Sep 17 00:00:00 2001 From: andy Date: Thu, 1 Dec 2011 17:09:45 +0000 Subject: [PATCH] ENH: Only eveluate cyclicAMI field if value not present --- .../constraint/cyclicAMI/cyclicAMIFvPatchField.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/finiteVolume/fields/fvPatchFields/constraint/cyclicAMI/cyclicAMIFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/constraint/cyclicAMI/cyclicAMIFvPatchField.C index 31729346e2..0eeb351cd4 100644 --- a/src/finiteVolume/fields/fvPatchFields/constraint/cyclicAMI/cyclicAMIFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/constraint/cyclicAMI/cyclicAMIFvPatchField.C @@ -94,7 +94,7 @@ Foam::cyclicAMIFvPatchField::cyclicAMIFvPatchField "cyclicAMIFvPatchField::cyclicAMIFvPatchField" "(" "const fvPatch&, " - "const Field&, " + "const DimensionedField&, " "const dictionary&" ")", dict @@ -106,7 +106,7 @@ Foam::cyclicAMIFvPatchField::cyclicAMIFvPatchField << exit(FatalIOError); } - if (this->coupled()) + if (!dict.found("value") && this->coupled()) { this->evaluate(Pstream::blocking); }