1. 23 Apr, 2010 1 commit
  2. 20 Apr, 2010 1 commit
  3. 13 Apr, 2010 1 commit
  4. 12 Apr, 2010 1 commit
  5. 30 Mar, 2010 1 commit
  6. 29 Mar, 2010 1 commit
  7. 08 Feb, 2010 1 commit
  8. 07 Feb, 2010 1 commit
    • Mark Olesen's avatar
      ENH: Add functionEntry '#calc' to dictionary · 00616b72
      Mark Olesen authored
      - handles basic operations, references to other dictionary entries
        (with '$name' syntax) and assorted mathematical functions:
      
            pi(), degToRad, radToDeg, asin, acos, atan, sin, cos, tan, log,
            log10, mag, atan2, pow
      
      The basic syntax: #calc{ ... };
      
      NOTE the trailing ';' is required for the primitiveEntry to be
      properly defined.
      00616b72
  9. 15 Jan, 2010 1 commit
  10. 15 Dec, 2009 2 commits
  11. 09 Dec, 2009 1 commit
  12. 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
  13. 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
  14. 26 Nov, 2009 1 commit
  15. 08 Oct, 2009 1 commit
  16. 22 Sep, 2009 1 commit
  17. 31 Jul, 2009 1 commit
  18. 30 Jul, 2009 1 commit
  19. 21 Jul, 2009 1 commit
  20. 23 Jun, 2009 1 commit
  21. 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
  22. 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
  23. 24 Mar, 2009 1 commit
  24. 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
  25. 13 Feb, 2009 1 commit
  26. 11 Feb, 2009 1 commit
  27. 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
  28. 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
  29. 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
  30. 02 Jan, 2009 1 commit
  31. 31 Dec, 2008 1 commit
  32. 18 Dec, 2008 1 commit
  33. 12 Dec, 2008 1 commit
  34. 10 Dec, 2008 3 commits
  35. 08 Dec, 2008 1 commit