ENH: give warning for value field inside cyclic.

This commit is contained in:
mattijs
2010-05-04 17:33:13 +01:00
parent f39c200e02
commit 4380e0fbea

View File

@ -308,6 +308,15 @@ void rewriteField
dictionary patchDict(boundaryField.subDict(patchName)); dictionary patchDict(boundaryField.subDict(patchName));
if (patchDict.found("value"))
{
IOWarningIn("rewriteField(..)", patchDict)
<< "Cyclic patch " << patchName
<< " has value entry. Please removed this and rerun."
<< endl;
}
boundaryField.changeKeyword(patchName, newName); boundaryField.changeKeyword(patchName, newName);
boundaryField.add boundaryField.add
( (