1. 15 Dec, 2009 1 commit
  2. 01 Dec, 2009 3 commits
    • Mark Olesen's avatar
      fixup #remove functionEntry and revert 09b3c166 · 7889df78
      Mark Olesen authored and Andrew Heather's avatar Andrew Heather committed
      - forgot to use readList in removeEntry, which caused the test failure.
      
      - remaining problem:
      
      it doesn't work as might be expected
      This is the problem:
      
      dict
      {
         foo xxx;
         bar yyy;
      }
      
      dict
      {
         baz zzz;
         #remove foo
      }
      
      This only removes 'foo' from the current scope (the second dict), since
      it occurs before the dictionary merge does.
      
      To remove from the final, merged dictionary, we'd need a new
      deleteEntry type that would do the right thing on the merge before
      self-destructing (ie, removing itself too).
      7889df78
    • Mark Olesen's avatar
      fixup #remove functionEntry and revert e15e32fdb7d515b · 28345f7e
      Mark Olesen authored
      - forgot to use readList in removeEntry, which caused the test failure.
      
      - remaining problem:
      
      it doesn't work as might be expected
      This is the problem:
      
      dict
      {
         foo xxx;
         bar yyy;
      }
      
      dict
      {
         baz zzz;
         #remove foo
      }
      
      This only removes 'foo' from the current scope (the second dict), since
      it occurs before the dictionary merge does.
      
      To remove from the final, merged dictionary, we'd need a new
      deleteEntry type that would do the right thing on the merge before
      self-destructing (ie, removing itself too).
      28345f7e
    • henry's avatar
  3. 27 Nov, 2009 1 commit
    • Mark Olesen's avatar
      coding style adherence · fa93ce8c
      Mark Olesen authored
      - markup codingStyleGuide.org examples so they actually indent correctly
      
      - use 'Info<<' as per codingStyleGuide instead of 'Info <<'
      fa93ce8c
  4. 26 Nov, 2009 1 commit
  5. 08 Oct, 2009 1 commit
  6. 22 Sep, 2009 1 commit
  7. 31 Jul, 2009 1 commit
  8. 30 Jul, 2009 1 commit
  9. 21 Jul, 2009 1 commit
  10. 23 Jun, 2009 1 commit
  11. 08 May, 2009 1 commit
    • Mark Olesen's avatar
      minor cleanup of turbulence models · 19d951ce
      Mark Olesen authored
      - added constructor dictionary(const dictionary*) that also handles NULL
        pointers and makes it convenient to construct from a possibly nonexistent
        sub-dictionary:
        eg,
            dictionary dict2(dict1.subDictPtr("someDict"));
      
      - make some of the turbulence Coeffs sub-dictionary optional.
        Their contents are all 'lookupOrAddDefault' anyhow.
      
      - in turbulentMixingLength BCs, skip namespace qualifier in template
        (eg, <RASModel> vs. <compressible::RASModel>)
      
      - change comments from 'turbulenceProperties' to RASProperties/LESProperties
      
      - consistency between compressible/incompressible - no separate file for
        'New' selector etc
      
      - consistency in accessing the model coefficients.
        Use method coeffDict() for const access.
        Use protected data member coeffDict_ for read/write access.
      
      - document model coefficients in etc/constant/RASProperties.
        Need the same for LESProperties before we can prune these from the
        tutorials.
      19d951ce
  12. 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
  13. 24 Mar, 2009 1 commit
  14. 18 Mar, 2009 1 commit
    • Mark Olesen's avatar
      dictionary cosmetics · 0bada1e3
      Mark Olesen authored
      - partial revert for commit d21869b5
        * only add extra newlines for a top-level dictionary that is output as such
      
      - make "#inputMode merge" the default instead of "#inputMode error"
        * this corresponds to a very common usage case
      0bada1e3
  15. 13 Feb, 2009 1 commit
  16. 11 Feb, 2009 1 commit
  17. 10 Feb, 2009 1 commit
    • Mark Olesen's avatar
      SHA1, dictionary improvements · adfd8254
      Mark Olesen authored
      - added class OSHA1stream for a stream-based calculation method
      - dictionary gets digest() method
      - dictionaryEntry tweak: avoid trailing space after dictionary keyword
      adfd8254
  18. 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
  19. 05 Jan, 2009 1 commit
    • Mark Olesen's avatar
      rename xfer<T> class to Xfer<T> · 19503c93
      Mark Olesen authored
      - The capitalization is consistent with most other template classes, but
        more importantly frees up xfer() for use as method name without needing
        special treatment to avoid ambiguities.
      
        It seems reasonable to have different names for transfer(...) and xfer()
        methods, since the transfer is occuring in different directions.
        The xfer() method can thus replace the recently introduced zero-parameter
        transfer() methods.
        Other name candidates (eg, yield, release, etc.) were deemed too abstract.
      19503c93
  20. 02 Jan, 2009 1 commit
  21. 31 Dec, 2008 1 commit
  22. 18 Dec, 2008 1 commit
  23. 12 Dec, 2008 1 commit
  24. 10 Dec, 2008 3 commits
  25. 08 Dec, 2008 1 commit
  26. 24 Nov, 2008 1 commit
  27. 02 Oct, 2008 2 commits
  28. 01 Jul, 2008 1 commit
  29. 25 Jun, 2008 2 commits
  30. 20 Jun, 2008 2 commits
  31. 17 Jun, 2008 1 commit
  32. 16 Jun, 2008 1 commit
  33. 13 Jun, 2008 1 commit
    • Mark Olesen's avatar
      Reworked dictionary code : · 92cd94ac
      Mark Olesen authored
       * finally removed #ifdef's with old merge method
       * use autoPtr::ptr() instead of autoPtr::() to reduce cloning
       * eliminated a few add() methods that are covered by the templated form
       * added a 'set()' method that forces overwrite - symmetric with HashTable
      92cd94ac