1. 03 Jul, 2009 1 commit
  2. 20 May, 2009 1 commit
  3. 23 Mar, 2009 2 commits
  4. 16 Mar, 2009 1 commit
  5. 06 Mar, 2009 1 commit
    • Mark Olesen's avatar
      objectRegistry fixes · 47830f9c
      Mark Olesen authored
      - objectRegistry gets a rename() that also adjusts the dbDir
      - cloud reworked to use static variables subInstance and defaultName.
        This avoids writing "lagrangian" everywhere
      
      string fixes
      - avoid masking of std::string::replace in string.H
      - avoid old strstream in PV3FoamReader
      47830f9c
  6. 05 Mar, 2009 2 commits
  7. 04 Mar, 2009 1 commit
  8. 20 Feb, 2009 1 commit
  9. 24 Feb, 2009 1 commit
  10. 06 Feb, 2009 1 commit
    • Mark Olesen's avatar
      consistency update · f2e3e5ef
      Mark Olesen authored
      - OSspecific: chmod() -> chMod(), even although it's not used anywhere
      
      - ListOps get subset() and inplaceSubset() templated on BoolListType
      
      - added UList<bool>::operator[](..) const specialization.
        Returns false (actually pTraits<bool>::zero) for out-of-range elements.
        This lets us use List<bool> with lazy evaluation and no noticeable
        change in performance.
      
      - use rcIndex() and fcIndex() wherever possible.
        Could check if branching or modulus is faster for fcIndex().
      
      - UList and FixedList get 'const T* cdata() const' and 'T* data()' members.
        Similar to the STL front() and std::string::data() methods, they return a
        pointer to the first element without needing to write '&myList[0]', recast
        begin() or violate const-ness.
      f2e3e5ef
  11. 02 Feb, 2009 1 commit
  12. 28 Jan, 2009 1 commit
    • Andrew Heather's avatar
      bugfix: · 50eb0ed2
      Andrew Heather authored
          - convertPointField caused a seg-fault if the internal field was null
            - attempted to name the vtk object the name of the null field
      
      + minor clean-up
      50eb0ed2
  13. 10 Jan, 2009 1 commit
    • Mark Olesen's avatar
      Simplify checking of container (List/HashTable, strings) sizes · fd01a40e
      Mark Olesen authored
      - can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
        'XX.size() <= 0' or for simpler coding.
        It also has the same number of characters as '!XX.size()' and /might/ be
        more readable
      
      - many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
        when a simple 'XX.size()' suffices
      fd01a40e
  14. 31 Dec, 2008 1 commit
  15. 15 Dec, 2008 1 commit
  16. 21 Nov, 2008 1 commit
  17. 21 Oct, 2008 1 commit
  18. 07 Oct, 2008 1 commit
  19. 02 Oct, 2008 1 commit
  20. 19 Sep, 2008 1 commit
  21. 15 Aug, 2008 1 commit
  22. 10 Aug, 2008 1 commit
  23. 09 Aug, 2008 1 commit
  24. 08 Aug, 2008 1 commit
    • Mark Olesen's avatar
      PV3FoamReader gets (single) mesh region handling · d8369415
      Mark Olesen authored
        - handling multiple regions require multiple readers
        - a region is currently recognized by the file name, anything after the
          '=' delimiter (eg, "case=region.OpenFOAM") is used to determine the
          mesh region, but might be changed in the future
          eg, 'case%region', 'case^region', 'case~region', 'case{region}' ...
      
      Note:
        - Having a separate reader for each region instead attempting to handle
          all the mesh regions in a single reader is the better solution.
          It is not only simpler, but allows distinct field selections for
          each region
      Todo:
        - Haven't a test for Lagrangian and multi-regions.
      d8369415
  25. 05 Aug, 2008 1 commit
    • Mark Olesen's avatar
      PV3FoamReader - minor changes · d20b6fe6
      Mark Olesen authored
        - remove TimeRange property from XML. Not needed for discrete time data
        - represent Lagrangian data as VTK_VERTEX for simple visualization
      d20b6fe6
  26. 04 Aug, 2008 1 commit
  27. 03 Aug, 2008 1 commit
    • Mark Olesen's avatar
      PV3FoamReader - code cleanup · 3277463f
      Mark Olesen authored
       - streamlined code somewhat, minor attempt to reclaim some memory
       - now use "mesh parts" for patches/zones/sets/etc throughout to avoid
         ambiguity with mesh regions
       - collect superCells and addPointCellLabels in a class. The old version
         actually seemed to have overwritten the addPointCellLabels with each
         cellSet/cellZone. This means that part of the pointFields would be trashed
         in the combination of polyhedral cells, cellSets/cellZones and internalMesh
       - polyDecomp information for muitiple mesh regions, but not yet exploited
       - pointFields now working for cellZones/cellSets
       - extroplating fields onto walls also works as expected for interpolated
         pointFields
       - added tooltips to reader GUI
      
      TODO:
       - pointFields (real and interpolated) for faceSets/faceZones
      3277463f
  28. 02 Aug, 2008 1 commit
    • Mark Olesen's avatar
      PV3FoamReader improvements · 3db5f133
      Mark Olesen authored
        - various GUI properties are now animateable="0"
          (meaning they no longer show up on the time-line)
        - move reader switches to the bottom of the GUI
        - move Lagrangian fields above pointFields for better visibility
        - basic support for multiple clouds
        - filter fields based on selection before looping over all the geometry bits
        - mesh conversion functions now return VTK mesh types for easier handling
        - faceZones mesh conversion had points/faces allocation reversed
        - updateInfo with every call to setTime() that changes the timeIndex
          This seems to be the only way to notice Lagrangian fields
        - restore displaying patchnames that got forgotten in the last commit
        - misc reorganization
      3db5f133
  29. 01 Aug, 2008 1 commit
    • Mark Olesen's avatar
      PV3FoamReader - neater multiblocks and dual output ports · cf9019f8
      Mark Olesen authored
        - normal mesh data on port0
        - Lagrangian data on port1
        - no fixed block numbers for dividing internalMesh, patches, zones etc.
          This helps avoid ugly gaps in the multiblock output
        - avoid segfault if Lagrangian fields are converted without positions
      
        TODO:
        - can we label the output ports?
        - the selection of Lagrangian data and fields is wonky.
      cf9019f8
  30. 30 Jul, 2008 1 commit
    • Mark Olesen's avatar
      PV3FoamReader fixes · 321a91f4
      Mark Olesen authored
        - added printMemory() method to aid debugging memory used
        - call UpdateInformation() if the mesh has changed
        - automatic activation of "internalMesh", "p", "U"
          is suppressed if a fvMesh is cached. Otherwise,
          appearing/disappearing volFields can cause a crash
      
        Note:
        The message "had to make up a selection value" that sometimes occurs
        seems to be paraview related (see paraview mailing list),
      321a91f4
  31. 28 Jul, 2008 1 commit
    • Mark Olesen's avatar
      PV3FoamReader reorganization · ad009d0c
      Mark Olesen authored
        - vtkPV3Foam get PrintSelf (reduces number of methods)
        - move output data member from vtkPV3Foam -> PV3FoamReader
          in preparation for rewriting output method
        - roughed in code to track mesh/field changes in preparation for rewriting
          output method
        - progress bar with arbitrary values to give the user something to watch
      ad009d0c
  32. 25 Jul, 2008 2 commits
    • Mark Olesen's avatar
      static label Time::findClosestTimeIndex(const instantList&, const scalar) · 24341e58
      Mark Olesen authored
        - avoid code duplication in vtkPV3Foam.C and checkTimeOption.H
        - can also be used in Time::findClosestTime(), but didn't touch that
      24341e58
    • Mark Olesen's avatar
      PV3FoamReader repaired several misfeatures · 18976c15
      Mark Olesen authored
        - On the first call, select 'internalMesh' and the 'p', 'U' fields.
          This corresponds to a fairly common default case without loading all
          possible fields etc.
        - Include zones should now work without issuing a FatalError when the
          corresponding files are missing. I must have tried too many things
          at once and didn't notice this before.
        - Use ZoneMesh for zone names if the fvMesh is already cached
          (skips re-reading the same files).
        - Change reader description to "OpenFOAM Reader" to distinguish it a bit
          from the vtkOpenFOAMReader built into paraview/vtk
        - Misc. file and method names reorganized
      
        - Remaining problem:
          mixing internalMesh and cellZones is clunky since there aren't yet
          interpolated point values for cellSets/cellZones. Paraview complains
          about the mismatch, but extracting a block is still okay.
      
        TODO:
        - multi-port output for Lagrangian
        - hold all the vtk mesh parts (including multiblock) and just pass the
          reference. With this, the pipeline might notice that the geometry is
          actually identical and skip the PVGeometryFilter that takes so long.
      18976c15
  33. 24 Jul, 2008 1 commit
  34. 17 Jul, 2008 1 commit
  35. 23 Jul, 2008 1 commit
  36. 22 Jul, 2008 2 commits