1. 14 Jun, 2018 1 commit
  2. 13 Jun, 2018 1 commit
  3. 07 May, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: improvements in the surface sampling infrastructure · b0648f2b
      Mark OLESEN authored
      - improvement documentation for surface sampling.
      
      - can now specify alternative sampling scheme for obtaining the
        face values instead of just using the "cell" value. For example,
      
            sampleScheme    cellPoint;
      
        This can be useful for cases when the surface is close to a boundary
        cell and there are large gradients in the sampled field.
      
      - distanceSurface now handles non-closed surfaces more robustly.
        Unknown regions (not inside or outside) are marked internally and
        excluded from consideration. This allows use of 'signed' surfaces
        where not previously possible.
      b0648f2b
  4. 22 Mar, 2018 1 commit
  5. 26 Feb, 2018 1 commit
  6. 08 Dec, 2017 1 commit
  7. 11 Sep, 2017 1 commit
  8. 11 Aug, 2017 1 commit
    • Mark OLESEN's avatar
      ENH: add absolute weighting for surfaceFieldValue (issue #567) · 45881823
      Mark OLESEN authored
      - can be useful either for flow-rate weighting where backflow
        is to be ignored in the average, or for flow-rate weighting
        on surfaces with inconsistent orientation.
      
        Reworked to code to make better use of Enum (the NamedEnum
        replacement). Enum doesn't require contiguous enumeration values,
        which lets us use bitmasking of similar operations to reduce
        duplicate code.
      45881823
  9. 10 Aug, 2017 1 commit
  10. 03 Jul, 2017 1 commit
  11. 29 May, 2017 1 commit
    • Mark OLESEN's avatar
      ENH: cleanup of NamedEnum · fb497164
      Mark OLESEN authored
      - Remove the unused enums() method since it delivers wholly unreliable
        results. It is not guaranteed to cover the full enumeration range,
        but only the listed names.
      
      - Remove the unused strings() method.
        Duplicated functionality of the words(), but was never used.
      
      - Change access of words() method from static to object.
        Better code isolation. Permits the constructor to take over
        as the single point of failure for bad input.
      
      - Add values() method
      
      - do not expose internal (HashTable) lookup since it makes it more
        difficult to enforce constness and the implementation detail should
        not be exposed. However leave toc() and sortedToc() for the interface.
      
      STYLE: relocated NamedEnum under primitives (was containers)
      
      - internal typedef as 'value_type' for some consistency with STL conventions
      fb497164
  12. 22 Jun, 2017 1 commit
    • Henry Weller's avatar
      Rationalize the "pos" function · 56bfc759
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      "pos" now returns 1 if the argument is greater than 0, otherwise it returns 0.
      This is consistent with the common mathematical definition of the "pos" function:
      
      https://en.wikipedia.org/wiki/Sign_(mathematics)
      
      However the previous implementation in which 1 was also returned for a 0
      argument is useful in many situations so the "pos0" has been added which returns
      1 if the argument is greater or equal to 0.  Additionally the "neg0" has been
      added which returns 1 if if the argument is less than or equal to 0.
      56bfc759
  13. 18 May, 2017 1 commit
  14. 24 Apr, 2017 1 commit
  15. 27 Mar, 2017 1 commit
  16. 24 Mar, 2017 1 commit
  17. 02 Mar, 2017 1 commit
    • Mark Olesen's avatar
      ENH: support operations on surfFields in surfaceFieldValue · 2853678a
      Mark Olesen authored
      - this makes it possible to perform additional operations
        on surface values that have been previously sampled.
      
      - support vectorField for weighting operations.
      
      - reduce overhead by avoiding creation of weight fields, Sf fields
        and combined surface geometries unless they are actually required.
      
      - extend some similar concepts and operations to volFieldValue
      2853678a
  18. 21 Mar, 2017 1 commit
  19. 06 Feb, 2017 1 commit
  20. 15 Dec, 2016 1 commit
  21. 08 Dec, 2016 1 commit
  22. 28 Nov, 2016 1 commit
  23. 03 Nov, 2016 1 commit
  24. 20 Oct, 2016 1 commit
  25. 05 Oct, 2016 1 commit
  26. 23 Sep, 2016 1 commit
  27. 24 Aug, 2016 1 commit
  28. 11 Aug, 2016 1 commit
  29. 10 Aug, 2016 1 commit
    • Mark Olesen's avatar
      ENH: use meshedSurf API for surface writers (issue #104) · 1fc2a732
      Mark Olesen authored
      - Allows passing of additional information (per-face zone ids) or possibly
        other things, while reducing the number of arguments to pass.
      
      - In sampledTriSurfaceMesh, preserve the region information that was
        read in, passing it onwards via the UnsortedMeshSurface content.
      
        The Nastran surface writer is currently the only writer making use
        of this per-face zone information.
        Passing it through as a PSHELL attribute, which should retain the
        distinction for parts. (issue #204)
      1fc2a732