openfoam/etc/codeTemplates/functionObject
Mark Olesen 13778f7647 ENH: use dictionary::readEntry for detection of input errors (#762, #1033)
- instead of   dict.lookup(name) >> val;
  can use      dict.readEntry(name, val);

  for checking of input token sizes.
  This helps catch certain types of input errors:

  {

      key1 ;                // <- Missing value
      key2 1234             // <- Missing ';' terminator
      key3 val;
  }

STYLE: readIfPresent() instead of 'if found ...' in a few more places.
2018-10-05 10:15:13 +02:00
..
Make etc/codeTemplates/functionObject: Updated to correspond to the new functionObject structure 2016-05-15 21:47:18 +01:00
FUNCTIONOBJECT.C ENH: use dictionary::readEntry for detection of input errors (#762, #1033) 2018-10-05 10:15:13 +02:00
FUNCTIONOBJECT.H STYLE: adjust codeTemplates to use '= delete' 2018-04-19 07:38:31 +02:00