1. 15 Dec, 2009 1 commit
  2. 22 Sep, 2009 1 commit
  3. 23 Jun, 2009 1 commit
  4. 05 May, 2009 1 commit
    • Mark Olesen's avatar
      adjusted dictionary #inputMode directive · 6e10b0de
      Mark Olesen authored
      - #inputMode error
        now issues a FatalError on duplicate entries
      
      - #inputMode warn
        issues a warning on duplicate entries, corresponds to the
        old behaviour of 'error'
      
      - #inputMode protect
        prevents overwriting existing entries
      
      The 'protect' mode provides a simple mechanism for supplying default values.
      eg,
          in file1:
              #inputMode  protect
              intensity       0.1;
              mixingLength    0.005;
              #inputMode  merge
      
              inlet
              {
                  type        turbulentIntensityKineticEnergyInlet;
                  intensity   $intensity;
              }
      
          which is included from file2:
      
              intensity   0.05;
              #include    "file1"
      6e10b0de
  5. 10 Jan, 2009 1 commit
    • Mark Olesen's avatar
      Simplify checking of container (List/HashTable, strings) sizes · 95dcb6de
      Mark Olesen authored
      - can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
        'XX.size() <= 0' or for simpler coding.
        It also has the same number of characters as '!XX.size()' and /might/ be
        more readable
      
      - many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
        when a simple 'XX.size()' suffices
      95dcb6de
  6. 31 Dec, 2008 1 commit
  7. 12 Dec, 2008 1 commit
  8. 02 Oct, 2008 2 commits
  9. 25 Jun, 2008 2 commits
  10. 13 Jun, 2008 1 commit
    • Mark Olesen's avatar
      dictionary functionEntries cleanup · 1e8d4b2a
      Mark Olesen authored
        * added '#remove' function
        * changed insert() method name to more general execute()
        * using #inputMode or #remove within a primitiveEntry now provokes an error
        * adjusted the dictionaryTest accordingly
      1e8d4b2a
  11. 15 Apr, 2008 1 commit