1. 21 May, 2014 4 commits
    • Berk Geveci's avatar
      Fixed compiler warnings. · a4c8e855
      Berk Geveci authored
      Change-Id: I80d4dbda38c7a6d83d6ba3fadeb81cce1154a1b1
      a4c8e855
    • Berk Geveci's avatar
      Cleaned up and fixed transmit filters for structured data. · 24a324ef
      Berk Geveci authored
      Change-Id: I7e5c55259159752882c8ae056e08f9bec12b3c02
      24a324ef
    • Berk Geveci's avatar
      Update the XML readers and writers to work with pipeline changes. · 32cf800f
      Berk Geveci authored
      The XML readers and writers, both parallel and serial, now work
      with the pipeline changes. Now, all writers work with pieces
      even though the structured ones can handle asking for a sub-
      extent.
      
      Change-Id: I9f757ba12a3b9fb84e141506dacadad608eb8b99
      32cf800f
    • Berk Geveci's avatar
      Refactored how pieces and extents are handled. · 1a0b4e9d
      Berk Geveci authored
      Refactoring the way VTK goes between piece and structured
      extents. Before, extent translators were used when the pipeline
      moved from structured to unstructured data converting piece
      request to extent request. This caused many problems with filters
      that altered extents, mainly a lot of redundant IO due to
      repartitioning of different extents. This became extremely
      cumbersome to manage when running distributed. The new behavior
      pushes the extent translation all to way to the readers and
      only when readers are able to read a subset. This works much
      better. The only downside is that filters need to be able to
      handle data extents different than update extents. Most filters
      can do this but many imaging filters cannot. Those that are
      needed in parallel will have to be updated.
      
      As part of this work, I also removed MAXIMUM_NUMBER_OF_PIECES
      and added CAN_HANDLE_PIECE_REQUEST. MAXIMUM_NUMBER_OF_PIECES had
      reduced to being a boolean. 1 for serial sources, -1 for parallel
      sources. I removed it and added a CAN_HANDLE_PIECE_REQUEST instead.
      This key, produced by a source, tells the executive that a source is
      able to handle piece request. It is a source only key produced in
      RequestInformation and is not propagated downstream. If this key is
      not present, the executive will only execute the source for piece 0
      to produce the entire data. It is then up to the user to add a filter
      that splits the data for other piece requests. The only exception to
      this is when CAN_PRODUCE_SUB_EXTENT is present, in which case the
      executive will split using an extent translator AT THE source - not
      downstream.
      
      Conflicts:
      	Filters/FlowPaths/vtkParticleTracerBase.cxx
      
      Change-Id: I8db4040289ff87331adeecded4a738313d9b52df
      1a0b4e9d
  2. 16 May, 2014 2 commits
  3. 14 May, 2014 1 commit
    • David Gobbi's avatar
      Bad null pointer check in vtkBSplineTransform. · ddf898ae
      David Gobbi authored
      The ForwardTransformPoint method was missing a "!" in a null pointer
      check, causing the transform to perform an identity transform.  The
      tests for this class did not cover this code path, even though it is
      the most common path in the general usage of this class.  A new test
      has been added, and an old test has been re-enabled.
      
      Also, add the missing GetDisplacementScale method.
      
      Change-Id: I3cc21fda11e4c4f0a83dc020e0e9968086246d45
      ddf898ae
  4. 09 May, 2014 1 commit
  5. 07 May, 2014 1 commit
  6. 06 May, 2014 1 commit
  7. 05 May, 2014 1 commit
  8. 02 May, 2014 2 commits
  9. 29 Apr, 2014 2 commits
    • Zack Galbreath's avatar
      fix potential segmentation fault · b77eff3c
      Zack Galbreath authored
      If one table and one tree were requested as output from
      vtkRCalculatorFilter, its output would be a vtkTable or vtkTree.
      It actually needs to be a vtkMultiPieceDataSet to contain both
      objects though, and this would result in a segmentation fault
      shortly thereafter.  This commit fixes this degenerate case
      and adds a test for it.
      
      Change-Id: I53e468bba2e2d336dc7a4a7f9fb53fdcb64f98b6
      b77eff3c
    • Berk Geveci's avatar
      PERF: Parallel streamline was slow. Fixed. · f82238ed
      Berk Geveci authored
      vtkPStreamTracer was causing the creation of a new locator at
      every iteration (task), which is very slow for cell locators
      since they have to bin data every time. Fixed by removing
      the reallocation and using one locator. The input data does not
      change between iterations so recreationg the locator was totally
      unnecessary.
      
      Change-Id: I966f25caf2e05ba08355a426f3e31f1ac66517ef
      f82238ed
  10. 25 Apr, 2014 1 commit
    • George Zagaris's avatar
      BUGFIX: Add guards for NULL ivars in PrintSelf · 33920cf2
      George Zagaris authored
      The PrintSelf method of vtkStructuredImplicitConnectivity
      was causing failures in the otherPrint test b/c it was
      dereferencing NULL ivars. Fixed that by adding guards
      to chekc if the ivars are NULL.
      
      Change-Id: I50416653e14d5af50a6408c09129f1deebf63ebf
      33920cf2
  11. 23 Apr, 2014 4 commits
    • George Zagaris's avatar
      ENH: Rename nodes to points in vtkStructuredData · 9bfa169c
      George Zagaris authored
      Modified the function names in vtkStructuredData to use "points"
      instead of "nodes" in order to be consistent with the rest of VTK.
      Further, updated all affected code that is using vtkStructuredData
      to reflect this change.
      
      Change-Id: Iad0a876b49e0b5439e47b963c73885c2ade3c0d6
      9bfa169c
    • George Zagaris's avatar
      COMP: Update vtkFiltersParallelMPI tests · 843bd4d2
      George Zagaris authored
      Updated tests in the vtkFiltersParallelMPI module to reflect changes in
      VTK's test macros.
      
      Change-Id: I81d3983a35f3fe2e49cb2b83f2771d2c92084ff2
      843bd4d2
    • George Zagaris's avatar
      ENH: Implicit structured data connectivity · e42bbf8f
      George Zagaris authored
      This commit introduces the vtkStructuredImplicitConnectivity class, intended
      as a lower-level helper that provides functionality for resolving
      situations where "gaps" are present in a distributed structured dataset. Gaps
      are resolved by communicating the data (growing the grid to the right) as
      necessary to close the gap. This situation is common with finite difference
      grids that are partitioned with respect to the nodes of the grid, or when some
      other post-processing filter, e.g., sampling the grid to reduce the resolution
      introduces a gap.The present implementation requires one grid per process and
      can deal with 2-D datasets -- XY,XZ,YZ -- as well as 3-D datasets. A test for
      all 2-D and 3-D cases is also added.
      
      Change-Id: I5260ce4fb5ced45434a719c8aacc2153253917a7
      e42bbf8f
    • Brad King's avatar
      Use vtkMPI.cmake helper for all module MPI tests · c05001df
      Brad King authored
      In commit cd4fc15a (Rewrite the testing macros, 2014-03-14)
      the vtk_test_mpi_executable() helper was introduced to add
      MPI tests.  It depends on the vtk_mpi_link() helper in the
      vtkMPI module.  Include the latter in all test CMakeLists.txt
      files that add MPI tests.
      
      Change-Id: Ifecc7c6b1bf856a8f66905bfb2d69e22b5de3aac
      c05001df
  12. 22 Apr, 2014 1 commit
  13. 18 Apr, 2014 3 commits
    • Zack Galbreath's avatar
      style cleanup · 4cfbdfd2
      Zack Galbreath authored
      indentation was messed up in a block.
      
      Change-Id: I7b1890aa552f8b4133f07cca515f858a809deea9
      4cfbdfd2
    • Zack Galbreath's avatar
      break vtkRCalculatorFilter's input/output symmetry · ea356a14
      Zack Galbreath authored
      Before this commit, vtkRCalculatorFilter produced the same type
      of output as its input.  This is no longer the case.  For example,
      you can now run an R script that takes one table as input
      and produces two trees as output.  A test is included for this
      new functionality.
      
      This commit also makes vtkRAdapter::RToVTKTree() more robust.
      Previously, we assumed that the elements in the R Tree would
      appear in a certain order, but apparently that is not guaranteed
      to be true.  We now parse these elements in whatever order they
      appear.  While I was modifying this function, I also cleaned it up
      so it should now adhere to VTK's coding style.
      
      Change-Id: I988361ee8e6788f6f51e0c930fc52df50d1b2912
      ea356a14
    • Ben Boeckel's avatar
      Fix test function signatures · 7f6395a8
      Ben Boeckel authored
      Change-Id: I851265b552c48e752906f0ff4e109c3a6e6fff9c
      7f6395a8
  14. 16 Apr, 2014 8 commits
  15. 15 Apr, 2014 1 commit
    • Zack Galbreath's avatar
      preserve R data.frame row names · c06dd72d
      Zack Galbreath authored
      When converting from an R data.frame to a vtkTable, store their
      row names (if any) in a string column at the beginning of the table.
      
      Change-Id: Ie9bc73a8c83ae7aec46ce05bc0de849a1c0f3da2
      c06dd72d
  16. 10 Apr, 2014 1 commit
    • Joachim Pouderoux's avatar
      Fix and enhance bag plots. · df6c71a9
      Joachim Pouderoux authored
      Fix the way how the bags are computed. They are now performed at
      50 and 99% of the distribution.
      Functional bag plots also create a median serie which is the
      median line of all input series. Outliers series are also
      tagged with an "_outlier" extension in their name.
      
      Change-Id: I990428c9b79278be9be725491232b3e9d69190b0
      df6c71a9
  17. 08 Apr, 2014 1 commit
    • George Zagaris's avatar
      ENH: DuplicateNodes property to RCB partitioners · 271954af
      George Zagaris authored
      This commit adds the DuplicateNodes property to the structured
      RCB partitioners, which controls where the nodes between
      partition interfaces will be duplicated or not. By default the
      nodes are duplicated, which yields partitions that are abbuting
      at the interfaces sharing a face. If the DuplicateNodes property
      is switched off, there will be a "gap" between partitions, which
      is common with Finite Difference codes in particular.
      
      Change-Id: If57529e60f608444dbd055d62d1b1d863e22b924
      271954af
  18. 02 Apr, 2014 1 commit
  19. 28 Mar, 2014 1 commit
    • Zack Galbreath's avatar
      copy row names from R to vtkTable · 48341cd5
      Zack Galbreath authored
      Since vtkTable does not have a concept of row names, we add a
      vtkStringArray containing the names as the first column of the
      vtkTable.
      
      Change-Id: I2c9e20ed2c1d9cc21205e137ce9b9cfedd02a816
      48341cd5
  20. 11 Mar, 2014 1 commit
    • Joachim Pouderoux's avatar
      Fix bag plot and functional bag plots tests. · 5d42650d
      Joachim Pouderoux authored
      Use precomputed table of densities to avoid precision differences
      on some machines.
      Also remove unuseful normalization step in the plot and algorithm.
      
      Change-Id: Ifb28b82b276ee93b66f4ddf8f4375f7b3b465b94
      5d42650d
  21. 10 Mar, 2014 2 commits