1. 02 Jun, 2020 1 commit
    • Mark Olesen's avatar
      ENH: unify use of dictionary method names · 3e43edf0
      Mark Olesen authored
      - previously introduced `getOrDefault` as a dictionary _get_ method,
        now complete the transition and use it everywhere instead of
        `lookupOrDefault`. This avoids mixed usage of the two methods that
        are identical in behaviour, makes for shorter names, and promotes
        the distinction between "lookup" access (ie, return a token stream,
        locate and return an entry) and "get" access (ie, the above with
        conversion to concrete types such as scalar, label etc).
      3e43edf0
  2. 31 Oct, 2019 1 commit
  3. 02 Oct, 2019 1 commit
    • Kutalmis Bercin's avatar
      ENH: Subtle renovations in wall function documentation and input · 458738f0
      Kutalmis Bercin authored
        - Improves header file documentations
        - Adds const specifier to various objects
        - Allows various model constants to be user-defined
        - Changes from lookupOrDefault() to getOrDefault()
        - Consistent namespace usage:
          - If the WF belongs to only Foam:: namespace, use Foam:: explicitly
          - If the WF belongs to more than one namespaces, put the WF in namespace
            parentheses
        - Adds the missing dashes in comments required by Doxygen
        - Corrects capitalisation in comments
        - The terminology 'viscous sublayer' was preferred over 'laminar sublayer'
          due to the fact that the sublayer is not laminar.
        - The order of initialisation of fields is changed to be the same across all.
      458738f0
  4. 31 May, 2019 1 commit
  5. 06 Feb, 2019 2 commits
  6. 30 Jan, 2019 1 commit
  7. 17 Jan, 2019 1 commit
  8. 11 Dec, 2018 1 commit
    • Mark Olesen's avatar
      ENH: use Zero when zero-initializing types · 1d85fecf
      Mark Olesen authored
      - makes the intent clearer and avoids the need for additional
        constructor casting. Eg,
      
            labelList(10, Zero)    vs.  labelList(10, 0)
            scalarField(10, Zero)  vs.  scalarField(10, scalar(0))
            vectorField(10, Zero)  vs.  vectorField(10, vector::zero)
      1d85fecf
  9. 30 Apr, 2016 1 commit
    • Henry Weller's avatar
      GeometricField: Renamed internalField() -> primitiveField() and... · 3c053c2f
      Henry Weller authored
      GeometricField: Renamed internalField() -> primitiveField() and dimensionedInternalField() -> internalField()
      
      These new names are more consistent and logical because:
      
      primitiveField():
      primitiveFieldRef():
          Provides low-level access to the Field<Type> (primitive field)
          without dimension or mesh-consistency checking.  This should only be
          used in the low-level functions where dimensional consistency is
          ensured by careful programming and computational efficiency is
          paramount.
      
      internalField():
      internalFieldRef():
          Provides access to the DimensionedField<Type, GeoMesh> of values on
          the internal mesh-type for which the GeometricField is defined and
          supports dimension and checking and mesh-consistency checking.
      3c053c2f
  10. 25 Apr, 2016 1 commit
  11. 24 Feb, 2016 1 commit
    • Henry Weller's avatar
      tmp: Improved reference count checks to provide better error diagnostics · c02bf70e
      Henry Weller authored
      in case of tmp misuse.
      
      Simplified tmp reuse pattern in field algebra to use tmp copy and
      assignment rather than the complex delayed call to 'ptr()'.
      
      Removed support for unused non-const 'REF' storage of non-tmp objects due to C++
      limitation in constructor overloading: if both tmp(T&) and tmp(const T&)
      constructors are provided resolution is ambiguous.
      
      The turbulence libraries have been upgraded and '-DCONST_TMP' option
      specified in the 'options' file to switch to the new 'tmp' behavior.
      c02bf70e
  12. 22 Jan, 2015 2 commits
  13. 01 Aug, 2013 1 commit
  14. 28 Jul, 2013 1 commit
  15. 27 Nov, 2012 1 commit
  16. 19 Nov, 2012 1 commit
  17. 03 Jul, 2012 2 commits
  18. 20 Dec, 2011 1 commit
  19. 14 Aug, 2011 1 commit
  20. 19 Jan, 2011 1 commit
  21. 14 Jan, 2011 1 commit
  22. 07 Jan, 2011 1 commit
  23. 05 Jan, 2011 2 commits
  24. 30 Dec, 2010 1 commit
  25. 22 Dec, 2010 1 commit
  26. 17 Dec, 2010 2 commits
  27. 28 Jul, 2010 1 commit
  28. 22 Apr, 2010 1 commit
  29. 29 Mar, 2010 1 commit
  30. 07 Aug, 2009 1 commit
  31. 03 Aug, 2009 1 commit
  32. 27 Jul, 2009 1 commit
  33. 24 Jul, 2009 1 commit
  34. 23 Jul, 2009 2 commits