- 24 Feb, 2017 2 commits
-
-
Sujin Philip authored
-
David Lonie authored
7e34f861 Append newline to ArrayHandle summaries. 6f417a38 Add type information to array summaries and cast/call errors. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !705
-
- 23 Feb, 2017 8 commits
-
-
Sujin Philip authored
a88807fd Catch all exceptions by reference Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <kmorel@sandia.gov> Merge-request: !704
-
David Lonie authored
14f216d5 Update the output coordinates for the clip filter. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <kmorel@sandia.gov> Merge-request: !706
-
Sujin Philip authored
-
David C. Lonie authored
-
David C. Lonie authored
The clip worklet will change the number of points in the result set by adding points at the clip boundaries. The filter was updating the clipped scalar array to reflect the new points, but not the actual coordinate array. This patch will cause the clip filter's result dataset to contain the correct number of points and no longer automatically map the scalar array onto the output, since this is easily done via the filter API.
-
Kenneth Moreland authored
81f7ff23 Make offsets for ArrayHandleGroupVecVariable always input Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !703
-
David C. Lonie authored
This isn't always the most human readable type info on some platforms, but it does greatly assist in tracking down why a cast failed.
-
David Lonie authored
ab9e1f6e Ignore filter traits when mapping fields to output. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <kmorel@sandia.gov> Merge-request: !701
-
- 22 Feb, 2017 8 commits
-
-
Matt Larsen authored
a6bd88d2 Removing unused timing code and headers Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !702
-
Matt Larsen authored
-
Kenneth Moreland authored
The offsets for an ArrayHandleGroupVecVariable are always inputs and cannot be changed, even when the array handle is used as an output. There was a mistake where the PrepareFor* methods tried to make the offsets mutable. In the case of an output, the offsets were not pushed to the execution environment, and the arrays could not be looked up.
-
Matt Larsen authored
7d4334b5 Had conditional backwards 50ccedf8 Fixing the default behavior of the volume renderer Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <kmorel@sandia.gov> Merge-request: !700
-
David C. Lonie authored
The input type restrictions in FilterTraits should not be used to restrict the arrays that can be mapped to the output dataset.
-
Matt Larsen authored
-
Matt Larsen authored
-
Kenneth Moreland authored
6089e739 Match the two overload of ArrayRangeCompute Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !699
-
- 21 Feb, 2017 1 commit
-
-
Kenneth Moreland authored
There are two versions of ArrayRangeCompute. The first version is a general version that computes the min and max by running a reduction on a device. The second version was a specialization for uniform grid coordinate arrays, which is easily computed without looking at the values. The problem was that the generic version of ArrayRangeCompute took two arguments and the specialization only took one argument (because it does not need a device). This means that templated code uses the general version will never use the specialized version. This fix adds a device argument to the specialized version. The extra argument is not used, but will properly overload the general version.
-
- 20 Feb, 2017 1 commit
-
-
David Lonie authored
d1181160 Allow any DynamicCellSetBase to be used with the Clip worklet. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Robert Maynard <robert.maynard@kitware.com> Acked-by:
Kenneth Moreland <kmorel@sandia.gov> Merge-request: !698
-
- 17 Feb, 2017 2 commits
-
-
David C. Lonie authored
-
David Lonie authored
7a41621d Move default device selection out of private headers. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <kmorel@sandia.gov> Merge-request: !693
-
- 16 Feb, 2017 4 commits
-
-
David C. Lonie authored
This will make the librarification of vtk-m easier as we tread that path. Refs #120.
-
Kenneth Moreland authored
17ed7a36 Remove typedef that is no longer used 364f4175 Only print cell arrays that are valid 5b8389f9 Use printSummary_ArrayHandle when testing fancy arrays 873ceefc Implement ArrayHandleGroupVecVariable::GetPortalConst Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !695
-
Kenneth Moreland authored
dcbbb727 Merge branch 'master' into external-face-more-generic 0703139a Make Keys class do in-place sort 059c7f6d Fix issue with ExternalFaces on CellSetSingleType 876514ba Add better test for external faces 53679dfc Update ExternalFaces to support mixed face types Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Brent Lessley <blessley@cs.uoregon.edu> Merge-request: !662
-
Robert Maynard authored
55be1fcb examples: ensure cleanup occurs before main ends. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !697
-
- 15 Feb, 2017 8 commits
-
-
Kenneth Moreland authored
It was a typedef for a Portal. Instead of setting the portal directly, the portal is just sent to a function, so we don't directly use this type anymore. Not a big deal, but it could cause compiler warnings.
-
Kenneth Moreland authored
ConnectivityExplicitInternals::PrintSummary blindly attempted to print all of its arrays regardless of whether they are valid. Trying to print uninitialized arrays can be invalid in some circumstances. Instead, check to see of the arrays are valid before printing them out. (This can give you useful information anyway. There is a difference between an uninitialized array and one of zero length.)
-
Kenneth Moreland authored
This makes it easier to see what is going on in the fancy arrays and do diagnostics. This change required some changes to printSummary_ArrayHandle to support more array types.
-
Robert Maynard authored
fc68362d Build benchmarks even when testing is not enabled. 31e20859 Fix typo. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Robert Maynard <robert.maynard@kitware.com> Merge-request: !696
-
Tom Fogal authored
Else the implicit context in the CUDA driver may destroy itself before the destructors for globals/statics run, and we could try to e.g. cudaFree without a valid context.
-
Kenneth Moreland authored
Previously it was impossible to get an ArrayPortal from an ArrayHandleGroupVecVariable on the control side (by calling GetPortal or GetPortalConst). This makes it possible.
-
Kenneth Moreland authored
58bbeb18 Support using empty array handles as input 6d5de0c3 Change make_ArrayHandle work with empty std::vector Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Robert Maynard <robert.maynard@kitware.com> Merge-request: !694
-
Robert Maynard authored
94bd79b0 Leverage std::move to help FunctionInterface make less copies. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !691
-
- 14 Feb, 2017 6 commits
-
-
Kenneth Moreland authored
Previously if you constructed an array handle without allocating it, you would get an error if you tried to use the array as input. This conflicted with some recent changes to accept empty vectors. Now when you try to use an unallocated ArrayHandle as input (calling PrepareForInput or PrepareForInPlace), it internally calls Allocate(0) (to establish internal state) and sets up a valid execution ArrayPortal of size 0.
-
Robert Maynard authored
-
Kenneth Moreland authored
When make_ArrayHandle gets an std::vector, it converts it to an ArrayHandle by getting a pointer to the vector's internal array. However, when the vector is of size 0, there is no array and it is invalid to get a pointer. Instead, make a special case for empty vectors.
-
Tom Fogal authored
-
Robert Maynard authored
df437afb Remove an unnecessary copy of a string in ErrorExecution constructor Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <kmorel@sandia.gov> Reviewed-by:
David Lonie <david.lonie@kitware.com> Merge-request: !692
-
Tom Fogal authored
-