Skip to content
Snippets Groups Projects
  1. Jul 17, 2017
    • Mark OLESEN's avatar
      ENH: make treatment of stream allocators more uniform (issue #532) · 41cfd4d0
      Mark OLESEN authored
      - use allocator class to wrap the stream pointers instead of passing
        them into ISstream, OSstream and using a dynamic cast to delete
        then. This is especially important if we will have a bidirectional
        stream (can't delete twice!).
      
      STYLE:
      
      - file stream constructors with std::string (C++11)
      
      - for rewind, explicit about in|out direction. This is not currently
        important, but avoids surprises with any future bidirectional access.
      
      - combined string streams in StringStream.H header.
        Similar to <sstream> include that has both input and output string
        streams.
      41cfd4d0
    • Mark OLESEN's avatar
      bc5d4880
  2. Jul 03, 2017
  3. Jun 13, 2017
  4. May 24, 2017
    • Mark OLESEN's avatar
      ENH: paraview reader module with internal caching of the vtk geometries · 8d900264
      Mark OLESEN authored
      - The reader module allows two levels of caching.
        The OpenFOAM fvMesh can be cached in memory, for faster loading of
        fields. Additionally, the translated VTK geometries are held in a
        local cache. The cached VTK geometries should incur no additional
        overhead since they use the VTK reference counting for their storage
        management.
      8d900264
  5. May 23, 2017
  6. May 15, 2017
  7. May 14, 2017
  8. May 12, 2017
  9. May 18, 2017
  10. May 10, 2017
  11. Apr 24, 2017
  12. Apr 04, 2017
  13. Feb 24, 2017
  14. Feb 23, 2017
  15. Feb 10, 2017
  16. Feb 03, 2017
  17. Feb 01, 2017
  18. Jan 23, 2017
  19. Jan 12, 2017
    • Mark Olesen's avatar
      ENH: avoid deprecated paraview method SetImmediateUpdate() · 4b7d1e4e
      Mark Olesen authored
      - add support for patch names in block mesh reader.
      4b7d1e4e
    • Mark Olesen's avatar
      ENH: refactor paraview readers code to avoid duplication · ec944d4b
      Mark Olesen authored
      - as originally intended years ago, but never actually done.
      
      - use 'foamPvCore' instead of 'vtkPVReaders' to avoid potential name
        collisions with any 'vtk*' files and since we may reuse these
        functions in other foam-paraview modules (not just readers).
      
      STYLE: use same font size/colour for patch-names as for point-numbers
      
      BUG: repair issue with single time-step
      
      - paraview time-selector returns '0' as the requested time if there is
        only one time step. However, if we have skipped the 0/ directory,
        this single time step is likely a non-zero value.
      ec944d4b
  20. Jan 05, 2017
    • Mark Olesen's avatar
      ENH: add versioning to paraview plugin support libraries (issue #370) · 122c52f9
      Mark Olesen authored
      - use "-pvMAJ.MIN" suffix for similarity with the paraview convention
      
      - use sentinel file to ensure clean change of intermediate targets
      
      - ensure all library files are being properly removed
      122c52f9
    • Mark Olesen's avatar
      ENH: update QT interface code for ParaView reader (issue #337) · 13924e66
      Mark Olesen authored
      - remove old (ParaView-3) files
      
      - Works in 4.4.0, 5.0.1, 5.2.0 etc
      
      STYLE:
      - slots now use SM properties directly without a second lookup.
        This reduces exposure of the QT elements and simplifies the coding.
      
      - avoid focus borders on the Qt elements
      
      - place the "use Polyhedron" checkbox into a column
      
      - move "Cache Mesh" down in the GUI (an advanced feature and thus
        should be less prominent)
      
      - obtain button labels/tooltip directly from the XML content
      13924e66
  21. Jan 04, 2017
  22. Dec 22, 2016
  23. Dec 15, 2016
  24. Dec 06, 2016
  25. Nov 28, 2016
    • Andrew Heather's avatar
      ENH: runTimePostProcessing FO camera update · 22cf7b84
      Andrew Heather authored
          - Removed the camera 'mode'
          - The (old) static camera was only appropriate when parallel
            projection was inactive, and the view was centred at (0 0 0)
          - Camera input now always requires 'position' and 'focalPoint'
          - Clip box is now optional.  Note that this is applied after the
            camera
            set-up and so will override the camera position
          - View angle is only appropriate when not using parallel projection
          - Zoom now required, applied after all other operations
            - 1 = do nothing, >1 = zoom in, <1 = zoom out
      
          Example input:
      
              camera
              {
                  // Total number of frames to generate
                  nFrameTotal 1;
      
                  // Parallel projection flag
                  parallelProjection no;
      
                  // Optional clippling box
                  clipBox     (-0.0206 -0.0254 -0.0005) (0.29 0.0254 0.0005);
                  focalPoint  (0 0 0);
                  up          (0 1 0);
                  position    (0 0 1);
                  viewAngle   20;
                  zoom        1.1;
              }
      22cf7b84
  26. Dec 06, 2016