1. 08 Jun, 2020 1 commit
    • Kutalmis Bercin's avatar
      DOC: elaborate the usage of function objects · a5c6516e
      Kutalmis Bercin authored
        ENH: update libs of etc/caseDicts/postProcess items
        ENH: ensure destructor=default
        ENH: ensure constness
        ENH: ensure no 'copy construct' and 'no copy assignment' exist
        TUT: add examples of function objects with full set
             of settings into a TUT if unavailable
        TUT: update pisoFoam/RAS/cavity tutorial in terms of usage
      a5c6516e
  2. 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
  3. 23 May, 2020 1 commit
  4. 31 Oct, 2019 1 commit
  5. 09 Sep, 2019 1 commit
  6. 13 Jun, 2019 1 commit
  7. 13 Feb, 2019 1 commit
  8. 23 Jan, 2019 1 commit
  9. 09 Jan, 2019 1 commit
  10. 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
  11. 16 Oct, 2018 1 commit
  12. 17 Oct, 2018 1 commit
    • Mark Olesen's avatar
      ENH: simplify objectRegistry access names (issue #322) · 8fabc325
      Mark Olesen authored
        New name:  findObject(), cfindObject()
        Old name:  lookupObjectPtr()
      
            Return a const pointer or nullptr on failure.
      
        New name:  findObject()
        Old name:  --
      
            Return a non-const pointer or nullptr on failure.
      
        New name:  getObjectPtr()
        Old name:  lookupObjectRefPtr()
      
            Return a non-const pointer or nullptr on failure.
            Can be called on a const object and it will perform a
            const_cast.
      
      - use these updated names and functionality in more places
      
      NB: The older methods names are deprecated, but continue to be defined.
      8fabc325
  13. 11 Sep, 2018 1 commit
  14. 03 Aug, 2018 1 commit
  15. 21 Jun, 2018 1 commit
  16. 20 Jun, 2018 1 commit
  17. 19 Jun, 2018 2 commits
  18. 15 Jun, 2018 1 commit
  19. 14 Jun, 2018 2 commits
  20. 13 Jun, 2018 1 commit
  21. 11 Jun, 2018 1 commit
  22. 06 Jun, 2018 1 commit