1. 08 Dec, 2020 1 commit
  2. 30 Nov, 2020 1 commit
    • Mark Olesen's avatar
      ENH: additional handling for out-of-range sampling (#1891) · f8d08a80
      Mark Olesen authored
      - when sampling onto a meshed surface, the sampling surface may be
        outside of the mesh region, or simply too far away to be considered
        reasonable.
      
        Can now specify a max search distance and default values for samples
        that are too distant.
        If a default value is not specified, uses Type(Zero).
      
        Eg,
      
            maxDistance     0.005;
            defaultValue
            {
                "p.*"   1e5;
                T       273.15;
                U       (-100 -100 -100);
            }
      f8d08a80
  3. 03 Apr, 2020 1 commit
  4. 31 Oct, 2019 1 commit
  5. 30 Aug, 2019 1 commit
    • Mark Olesen's avatar
      ENH: allow invariant surfaces for sampling (#1418) · 8037b8d6
      Mark Olesen authored
      - an advanced feature, for example when sampling on a static patch
        while some motion occurs elsewhere. [use with caution]
      
      - If the sampled surface dictionary is modified during run-time, the
        ensight file indexing for the geometry will become out of sync.
        This is addressed in a subsequent commit.
      8037b8d6
  6. 07 Feb, 2019 2 commits
    • Mark Olesen's avatar
      ENH: improved sample surfaces and surface writers (#1206) · 181c974b
      Mark Olesen authored
      - The writers have changed from being a generic state-less set of
        routines to more properly conforming to the normal notion of a writer.
        These changes allow us to combine output fields (eg, in a single
        VTK/vtp file for each timestep).
      
        Parallel data reduction and any associated bookkeeping is now part
        of the surface writers.
        This improves their re-usability and avoids unnecessary
        and premature data reduction at the sampling stage.
      
        It is now possible to have different output formats on a per-surface
        basis.
      
      - A new feature of the surface sampling is the ability to "store" the
        sampled surfaces and fields onto a registry for reuse by other
        function objects.
      
        Additionally, the "store" can be triggered at the execution phase
        as well
      181c974b
    • Mark Olesen's avatar
      ENH: code adjustments for updated NullObject · 078e3474
      Mark Olesen authored
      - can now safely use labelList::null() instead of emptyLabelList for
        return values. No special treatment required for lists.
      
        Possible replacements:
      
            if (notNull(list) && list.size())  ->  if (list.size())
            if (isNull(list) || list.empty())  ->  if (list.empty())
      
        The receiver may still wish to handle differently to distinguish
        between a null list and an empty list, but no additional special
        protection is required when obtaining sizes, traversing, outputting
        etc.
      078e3474
  7. 06 Feb, 2019 1 commit
  8. 22 Jan, 2019 1 commit
    • Mark Olesen's avatar
      ENH: support dictionary or list entry for sampled surfaces · 6b8f56ef
      Mark Olesen authored
      - support for optional 'enabled' keyword to selectively disable a
        single sampled surface.
      
      ENH: add sampledSurface::withSurfaceFields() method
      
      - can be used to distinguish which samplers support surface fields.
        Currently this is only sampledPatch
      6b8f56ef
  9. 12 Dec, 2018 1 commit
  10. 19 Oct, 2018 1 commit
    • Mark Olesen's avatar
      ENH: minor changes to rationalize sampledSurface · d63b4cd4
      Mark Olesen authored
      - make hasFaceId a top-level virtual method and remove keepIds
        equivalent from sampledTriSurfaceMesh. This makes the property
        available without casting.
      
      - New sampling type 'none'.
        Can be used to temporarily disable a sampling surface definition,
        or to provide boilerplate for overwriting later.
      d63b4cd4
  11. 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
  12. 21 Mar, 2018 1 commit
  13. 26 Feb, 2018 1 commit
    • 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 c...
      660f3e54
  14. 03 Feb, 2017 1 commit
  15. 20 Oct, 2016 1 commit
  16. 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
  17. 05 Aug, 2016 1 commit
  18. 29 May, 2016 1 commit
  19. 04 May, 2016 1 commit
  20. 29 Feb, 2016 1 commit
  21. 10 Jan, 2016 1 commit
  22. 01 Nov, 2015 1 commit
  23. 14 Feb, 2015 1 commit
  24. 07 Aug, 2012 1 commit
  25. 23 Jul, 2012 1 commit
  26. 11 Jul, 2012 1 commit
  27. 29 Feb, 2012 1 commit
  28. 14 Aug, 2011 1 commit
  29. 19 Jan, 2011 1 commit
  30. 14 Jan, 2011 1 commit
  31. 07 Jan, 2011 1 commit
  32. 05 Jan, 2011 2 commits
  33. 11 Nov, 2010 1 commit
  34. 28 Jul, 2010 1 commit
  35. 12 Apr, 2010 1 commit
  36. 29 Mar, 2010 1 commit
  37. 04 Mar, 2010 1 commit
  38. 31 Dec, 2008 1 commit