1. 17 Dec, 2020 1 commit
  2. 13 Nov, 2020 1 commit
  3. 16 Jul, 2020 1 commit
  4. 24 Jun, 2020 3 commits
    • Andrew Heather's avatar
      66d270b9
    • Andrew Heather's avatar
      ENH: AMI code refactoring · c6e18e75
      Andrew Heather authored and Andrew Heather's avatar Andrew Heather committed
      c6e18e75
    • Andrew Heather's avatar
      ENH: AMI - multiple updates · a13e00b5
      Andrew Heather authored and Andrew Heather's avatar Andrew Heather committed
      - start of work to create a 1-to-1 face mapping across AMI patches
      - faces are inserted according to the AMI addressing based on Horacio's method
      - removed 'updated' flag and reworked some demand driven updates
      - updated to handle 'walking' through baffles
      - use bitSet instead of boolList
      - moved update of meshPhi to movePoints() functions at fvPatch level
      - moved scaling of areas to movePoints() functions at fvPatch level
      - rehomed topology change code to own file
      - added warning re: geometry construction
      
      ACMI
      - split srcMask into srcMask and srcAreaMask
        - former in range 0-1, and latter has bounding or tol to (1-tol) to avoid
          sigFpe's
      a13e00b5
  5. 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
  6. 31 Oct, 2019 1 commit
  7. 28 Oct, 2019 1 commit
  8. 10 Feb, 2019 1 commit
  9. 06 Feb, 2019 1 commit
  10. 21 Nov, 2018 1 commit
  11. 06 Nov, 2018 1 commit
  12. 26 Jul, 2018 1 commit
  13. 05 Oct, 2018 1 commit
    • Mark Olesen's avatar
      ENH: use dictionary::readEntry for detection of input errors (#762, #1033) · 13778f76
      Mark Olesen authored
      - instead of   dict.lookup(name) >> val;
        can use      dict.readEntry(name, val);
      
        for checking of input token sizes.
        This helps catch certain types of input errors:
      
        {
      
            key1 ;                // <- Missing value
            key2 1234             // <- Missing ';' terminator
            key3 val;
        }
      
      STYLE: readIfPresent() instead of 'if found ...' in a few more places.
      13778f76
  14. 10 Aug, 2018 1 commit
  15. 30 May, 2018 1 commit
  16. 28 Mar, 2018 1 commit
  17. 26 Mar, 2018 1 commit
    • Mark Olesen's avatar
      STYLE: consistent lookupOrDefault template parameters · 36719bf5
      Mark Olesen authored
      - in many cases can just use lookupOrDefault("key", bool) instead of
        lookupOrDefault<bool> or lookupOrDefault<Switch> since reading a
        bool from an Istream uses the Switch(Istream&) anyhow
      
      STYLE: relocated Switch string names into file-local scope
      36719bf5
  18. 26 Feb, 2018 2 commits
    • Mark Olesen's avatar
    • Mark Olesen's avatar
      ENH: cleanup autoPtr class (issue #639) · 660f3e54
      Mark Olesen authored
      Improve alignment of its behaviour with std::unique_ptr
      
        - element_type typedef
        - release() method - identical to ptr() method
        - get() method to get the pointer without checking and without releasing it.
        - operator*() for dereferencing
      
      Method name changes
      
        - renamed rawPtr() to get()
        - renamed rawRef() to ref(), removed unused const version.
      
      Removed methods/operators
      
        - assignment from a raw pointer was deleted (was rarely used).
          Can be convenient, but uncontrolled and potentially unsafe.
          Do allow assignment from a literal nullptr though, since this
          can never leak (and also corresponds to the unique_ptr API).
      
      Additional methods
      
        - clone() method: forwards to the clone() method of the underlying
          data object with argument forwarding.
      
        - reset(autoPtr&&) as an alternative to operator=(autoPtr&&)
      
      STYLE: avoid implicit conversion from autoPtr to object type in many places
      
      - existing implementation has the following:
      
           operator const T&() const { return operator*(); }
      
        which means that the following code works:
      
             autoPtr<mapPolyMesh> map = ...;
             updateMesh(*map);    // OK: explicit dereferencing
             updateMesh(map());   // OK: explicit dereferencing
             updateMesh(map);     // OK: implicit dereferencing
      
        for clarity it may preferable to avoid the implicit dereferencing
      
      - prefer operator* to operator() when deferenced a return value
        so it is clearer that a pointer is involve and not a function call
        etc    Eg,   return *meshPtr_;  vs.  return meshPtr_();
      660f3e54
  19. 05 Nov, 2017 1 commit
  20. 18 Aug, 2017 1 commit
  21. 10 Mar, 2017 1 commit
  22. 28 Nov, 2016 1 commit
  23. 05 Aug, 2016 1 commit
  24. 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
  25. 28 Apr, 2016 1 commit
  26. 25 Apr, 2016 2 commits
  27. 21 Apr, 2016 1 commit
  28. 16 Apr, 2016 1 commit
  29. 29 Feb, 2016 1 commit
  30. 10 Jan, 2016 1 commit
  31. 26 Nov, 2015 1 commit
  32. 11 Nov, 2015 1 commit
  33. 06 Nov, 2015 1 commit
  34. 23 Oct, 2015 1 commit
  35. 22 Oct, 2015 1 commit
  36. 28 May, 2015 1 commit