1. 16 Jan, 2019 1 commit
  2. 15 Dec, 2018 1 commit
    • Mark Olesen's avatar
      ENH: simplify use of case-relative paths · 455c8ef5
      Mark Olesen authored
      - provide relativePath() for argList and for Time.
        These are relative to the case globalPath().
        Eg,
      
           Info<< "output: " << runTime.relativePath(outputFile) << nl;
      455c8ef5
  3. 14 Dec, 2018 1 commit
    • Mark Olesen's avatar
      ENH: make "file" property in functionObjects a relative path (issue #1125) · 2f9c511b
      Mark Olesen authored
      - partial solution for issue #1091
      
        This generates file properties that are case-relative,
        Eg,
      
            plane0
            {
                p
                {
                    file "<case>/postProcessing/plane0/1/p_plane0.vtk";
                }
                U
                {
                    file "<case>/postProcessing/plane0/1/U_plane0.vtk";
                }
            }
      
         This allows the case to be moved elsewhere and still find its files.
      
         This functionality was previously added for vtkCloud, but now also
         applies to streamLine, sampledSets and sampledSurfaces
      2f9c511b
  4. 07 May, 2018 2 commits
    • Mark Olesen's avatar
      BUG: collated ensight not working with isosurfaces (closes #318) · 01a313d8
      Mark Olesen authored
      - the problem arises since the various surface writers are stateless.
        The collated output format hacks around this limitation by adding in
        its own fieldDict caching (to disk).
      
        Now include an updateMesh() method to hook into geometry changes.
        This is considered a stop-gap measure until the surface output
        handling is improved.
      01a313d8
    • 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
  5. 29 Nov, 2016 1 commit
  6. 11 Aug, 2016 1 commit
    • Mark Olesen's avatar
      ENH: mergedSurf helper class (fixes #104) · c79544b1
      Mark Olesen authored
      - For merging meshedSurf content from parallel sources.
        Ensures zoneIds are properly preserved for sampling in parallel.
      
      Current state
      ~~~~~~~~~~~~~
      
      Current producers of the region information:
       * sampledTriSurfaceMesh
      
      Current consumers of the region information:
       * nastran writer. The zone ids passed through as PSHELL Ids (with offset 1).
      
      Limitations
      
        The per-face region association is preserved, but the face/element
        sort order gets lost in reconstruction. Would need to attach
        additional information to the sampled surface and use that for
        sorting, but this would also imply that sampled values be written
        indirectly (or resorted) too to match the order. Zone ids are passed
        through, but not their names. After reconstruction, zone ids are no
        longer contiguous. Re-sorting (as mentioned above) would solve this
        too, but again at the cost of more complexity when writing.
      c79544b1
  7. 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
  8. 15 Jun, 2016 1 commit
  9. 10 Jan, 2016 1 commit
  10. 08 Dec, 2015 1 commit
  11. 11 Nov, 2015 2 commits
    • Andrew Heather's avatar
      ENH: Updates to set and surface writers · 11c3654a
      Andrew Heather authored
      - New boundaryData surface writer
      - Moved templated code into separate files
      - Output filenames written to functionObjectState dictionary
      - Ensight surface writer now supports a 'collate times' option [mattijs]
      - Nastran surface writer updated based on user feedback
      11c3654a
    • Andrew Heather's avatar
      ENH: Updates to set and surface writers · c972a375
      Andrew Heather authored
      - New boundaryData surface writer
      - Moved templated code into separate files
      - Output filenames written to functionObjectState dictionary
      - Ensight surface writer now supports a 'collate times' option [mattijs]
      - Nastran surface writer updated based on user feedback
      c972a375
  12. 21 Nov, 2013 1 commit
  13. 09 Apr, 2013 1 commit
  14. 08 Apr, 2013 1 commit
  15. 05 Apr, 2013 1 commit
  16. 05 Mar, 2013 1 commit
  17. 02 Nov, 2012 1 commit
  18. 01 Nov, 2012 1 commit
  19. 28 Aug, 2012 1 commit
  20. 13 Aug, 2012 1 commit
  21. 07 Aug, 2012 1 commit
  22. 14 Aug, 2011 1 commit
  23. 26 Jan, 2011 1 commit
    • Mark Olesen's avatar
      ENH: rework surface writers as non-templated classes · 51df389d
      Mark Olesen authored
      - easier (more logical) when adding a new writer
      
      ENH: add surface field  writer for 'starcd' format
      
      - creates *.usr files, which can be read in proSTAR with the 'getuser'
        command, but which can also be parsed directly since the format is
        extremely primitive
      51df389d
  24. 19 Jan, 2011 1 commit
  25. 14 Jan, 2011 1 commit
  26. 07 Jan, 2011 1 commit
  27. 05 Jan, 2011 2 commits
  28. 09 Nov, 2010 1 commit
  29. 28 Jul, 2010 1 commit
  30. 29 Mar, 2010 1 commit
  31. 01 Dec, 2009 1 commit
  32. 16 Mar, 2009 1 commit
    • Mark Olesen's avatar
      sampling reworking · ba771d19
      Mark Olesen authored
      - write geometry file if no fields would be sampled
      - write geometry file only once for obj, stl formats and use MeshedSurfaceProxy
        for writing
      ba771d19
  33. 10 Jan, 2009 1 commit
  34. 31 Dec, 2008 2 commits
    • Mark Olesen's avatar
      update copyrights for 2009 · 28b200bc
      Mark Olesen authored
      28b200bc
    • Mark Olesen's avatar
      new management for sampledSurface(s) · 48af5740
      Mark Olesen authored
              //- Does the surface need an update?
              virtual bool needsUpdate() const = 0;
      
              //- Mark the surface as needing an update.
              //  May also free up unneeded data.
              //  Return false if surface was already marked as expired.
              virtual bool expire() = 0;
      
              //- Update the surface as required.
              //  Do nothing (and return false) if no update was required
              virtual bool update() = 0;
      
          The constructors for the derived classes should generally start in a
          'expired' condition (ie, needsUpdate() == true) and rely on a subsequent
          call to the update() method to complete the initialization. Delaying the
          final construction as late as possible allows the construction of
          surfaces that may depend on intermediate calculation results (eg,
          iso-surfaces) and also avoids the unnecessary reconstruction of surfaces
          between sampling intervals.
      
          It is the responsibility of the caller to ensure that the surface
          update() is called before the surface is used.  The update() method
          implementation should do nothing when the surface is already up-to-date.
      48af5740
  35. 21 Oct, 2008 1 commit
  36. 25 Jun, 2008 1 commit