ENH: Only eveluate cyclicAMI field if value not present

This commit is contained in:
andy
2011-12-01 17:09:45 +00:00
parent ca9844b790
commit e57f676988

View File

@ -94,7 +94,7 @@ Foam::cyclicAMIFvPatchField<Type>::cyclicAMIFvPatchField
"cyclicAMIFvPatchField<Type>::cyclicAMIFvPatchField" "cyclicAMIFvPatchField<Type>::cyclicAMIFvPatchField"
"(" "("
"const fvPatch&, " "const fvPatch&, "
"const Field<Type>&, " "const DimensionedField<Type, volMesh>&, "
"const dictionary&" "const dictionary&"
")", ")",
dict dict
@ -106,7 +106,7 @@ Foam::cyclicAMIFvPatchField<Type>::cyclicAMIFvPatchField
<< exit(FatalIOError); << exit(FatalIOError);
} }
if (this->coupled()) if (!dict.found("value") && this->coupled())
{ {
this->evaluate(Pstream::blocking); this->evaluate(Pstream::blocking);
} }