• Mark Olesen's avatar
    ENH: use dictionary::readEntry for detection of input errors (#762, #1033) · 13778f76
    Mark Olesen authored
    - 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.
    13778f76
lduMatrixPreconditioner.C 3.96 KB