functionObjectList: Removed warning for optional entries

Simplified the residuals functionObject call in the tutorials
This commit is contained in:
Henry Weller
2019-09-01 21:16:37 +01:00
parent 6e9801e7e8
commit dbe9fb3b76
9 changed files with 7 additions and 96 deletions

View File

@ -374,12 +374,6 @@ bool Foam::functionObjectList::readFunctionObject
// Insert named arguments
forAll(namedArgs, i)
{
if (!funcDict.found(namedArgs[i].first()))
{
IOWarningInFunction(funcDict)
<< "Keyword " << namedArgs[i].first() << " not found" << endl;
}
IStringStream entryStream
(
namedArgs[i].first() + ' ' + namedArgs[i].second() + ';'