1. 31 Oct, 2019 1 commit
  2. 17 May, 2019 1 commit
  3. 06 Feb, 2019 1 commit
  4. 09 Jan, 2019 1 commit
    • Mark Olesen's avatar
      STYLE: add compile-time deprecated message for face/triangle normal() · c350a127
      Mark Olesen authored
      - in 1812 propagated through the distinction between areaNormal and
        unitNormal (issue #885).
      
        In older versions, the normal() always meant the area-normal for
        certain of these primitive.
      
        However, the .org version changed this to now return the unit-normal
        instead, but with the same method name. Thus add the deprecated
        message to avoid future inadvertent uses of normal() without being
        certain which one is being meant.
      c350a127
  5. 11 Nov, 2018 1 commit
  6. 18 Oct, 2018 1 commit
    • Mark Olesen's avatar
      ENH: cleanup of Enum class · 3b745122
      Mark Olesen authored
      - more dictionary-like methods, enforce keyType::LITERAL for all
        lookups to avoid any spurious keyword matching.
      
      - new readEntry, readIfPresent methods
      
      - The get() method replaces the now deprecate lookup() method.
      
      - Deprecate lookupOrFailsafe()
        Failsafe behaviour is now an optional parameter for lookupOrDefault,
        which makes it easier to tailor behaviour at runtime.
      
      - output of the names is now always flatted without line-breaks.
        Thus,
      
           os << flatOutput(someEnumNames.names()) << nl;
           os << someEnumNames << nl;
      
        both generate the same output.
      
      - Constructor now uses C-string (const char*) directly instead of
        Foam::word in its initializer_list.
      
      - Remove special enum + initializer_list constructor form since
        it can create unbounded lookup indices.
      
      - Removd old hasEnum, hasName forms that were provided during initial
        transition from NamedEnum.
      
      - Added static_assert on Enum contents to restrict to enum or
        integral values.  Should not likely be using this class to enumerate
        other things since it internally uses an 'int' for its values.
      
        Changed volumeType accordingly to enumerate on its type (enum),
        not the class itself.
      3b745122
  7. 03 Aug, 2018 1 commit
    • Mark Olesen's avatar
      ENH: additional methods and improvements to plane · de2eed3e
      Mark Olesen authored
      - signedDistance() method is like distance() but retains
        the positive/negative sign for the side of the plane.
      
      - the sign() method returns the sign as -1,0,+1 integer for
        classification purposes where it is important to distinguish between
        a zero value and a positive value (eg, for cutting). Optional
        tolerance can be supplied to round for zero.
      
      - refactor and inlined simple and frequently used methods.
      
      - add boundBox faceCentre() method, which can be useful for creating
        clipping planes from a bounding box.
        Relocated treeBoundBox faceNormals to boundBox since they apply
        equally there - the meaning of the faces (x-min, x-max, etc)
        is the same, even if the point addressing for the faces differs.
      de2eed3e
  8. 20 Jun, 2018 1 commit
  9. 14 Aug, 2018 1 commit
  10. 18 Nov, 2017 1 commit
    • Mark Olesen's avatar
      ENH: enumerations for known cell models in cellModel, ptr/ref lookups · 8730a762
      Mark Olesen authored
      - this provides a better typesafe means of locating predefined cell
        models than relying on strings. The lookup is now ptr() or ref()
        directly. The lookup functions behave like on-demand singletons when
        loading "etc/cellModels".
      
        Functionality is now located entirely in cellModel but a forwarding
        version of cellModeller is provided for API (but not ABI) compatibility
        with older existing user code.
      
      STYLE: use constexpr for cellMatcher constants
      8730a762
  11. 03 Jul, 2017 1 commit
  12. 26 May, 2017 1 commit
  13. 06 Jun, 2017 1 commit
  14. 28 Apr, 2017 1 commit
  15. 23 Apr, 2017 1 commit
  16. 25 Jan, 2017 1 commit
    • Mark Olesen's avatar
      ENH: additional methods/operators for boundBox (related to #196) · 722d23f5
      Mark Olesen authored
      - Constructor for bounding box of a single point.
      
      - add(boundBox), add(point) ...
        -> Extend box to enclose the second box or point(s).
      
        Eg,
            bb.add(pt);
        vs.
            bb.min() = Foam::min(bb.min(), pt);
            bb.max() = Foam::max(bb.max(), pt);
      
      Also works with other bounding boxes.
        Eg,
            bb.add(bb2);
            // OR
            bb += bb2;
        vs.
            bb.min() = Foam::min(bb.min(), bb2.min());
            bb.max() = Foam::max(bb.max(), bb2.max());
      
      '+=' operator allows the reduction to be used in parallel
      gather/scatter operations.
      
      A global '+' operator is not currently needed.
      
      Note: may be useful in the future to have a 'clear()' method
      that resets to a zero-sized (inverted) box.
      
      STYLE: make many bounding box constructors explicit
      722d23f5
  17. 30 Sep, 2016 1 commit
  18. 28 Apr, 2016 1 commit
  19. 17 Apr, 2016 1 commit
  20. 15 Apr, 2016 1 commit
  21. 19 Dec, 2015 1 commit
  22. 26 Nov, 2015 1 commit
  23. 17 Nov, 2015 2 commits
    • mattijs's avatar
      ENH: parallel: overhaul of parallel mapping · 916dcb86
      mattijs authored
      - redistributePar to have almost (complete) functionality of decomposePar+reconstructPar
      - low-level distributed Field mapping
      - support for mapping surfaceFields (including flipping faces)
      - support for decomposing/reconstructing refinement data
      916dcb86
    • mattijs's avatar
      ENH: parallel: overhaul of parallel mapping · 436902f5
      mattijs authored
      - redistributePar to have almost (complete) functionality of decomposePar+reconstructPar
      - low-level distributed Field mapping
      - support for mapping surfaceFields (including flipping faces)
      - support for decomposing/reconstructing refinement data
      436902f5
  24. 08 Nov, 2015 1 commit
  25. 12 Jul, 2013 1 commit
  26. 30 Apr, 2013 1 commit
  27. 19 Apr, 2013 1 commit
  28. 23 Dec, 2011 1 commit
  29. 14 Aug, 2011 1 commit
  30. 19 Jan, 2011 2 commits
  31. 14 Jan, 2011 1 commit
  32. 07 Jan, 2011 1 commit
  33. 05 Jan, 2011 2 commits
  34. 22 Dec, 2010 1 commit
  35. 17 Dec, 2010 1 commit
  36. 15 Dec, 2010 2 commits