vtk-m2/vtkm
Kenneth Moreland b4ef9fcac3 Fix UnknownArrayHandle::CastAndCall for special arrays
`UnknownArrayHandle` treats a `ArrayHandleCast` and
`ArrayHandleMultiplexer` special. When you put one of these arrays in an
`UnknownArrayHandle`, it takes the original array out and stores it. If
you try to take an array of that type out, it will again do the proper
conversion.

The only problem is that if you use `IsType`, the result can be
unexpected. This is what happened with `CastAndCall`, which was using
`IsType` internally. Changed that to `CanConvert` to properly get the
array handle out.
2021-04-07 16:12:42 -06:00
..
cont Fix UnknownArrayHandle::CastAndCall for special arrays 2021-04-07 16:12:42 -06:00
exec Minor style changes in UnitTestVariant 2021-04-01 14:47:51 -06:00
filter Deprecate VariantArrayHandle 2021-04-07 16:12:38 -06:00
internal Slight comment changes 2021-03-31 14:35:06 -06:00
interop Update vtkm/interop to use non-deprecated make_ArrayHandle API 2020-08-03 12:15:16 -04:00
io Deprecate VariantArrayHandle 2021-04-07 16:12:38 -06:00
random ArrayHandleRandomUniformReal 2020-06-02 11:58:57 -06:00
rendering add support for removing annotations and remove from regression tests 2021-03-31 17:08:46 +00:00
source Fix deprecation warnings 2021-01-26 07:56:39 -07:00
testing Deprecate vtkm/BinarySearch.h, it is unused and similar to LowerBound 2021-04-07 19:10:28 +00:00
thirdparty Merge branch 'upstream-lcl' into refactor-use-cpp14 2021-02-08 17:13:10 +01:00
worklet Deprecate VariantArrayHandle 2021-04-07 16:12:38 -06:00
.gitattributes
Algorithms.h Deprecate vtkm/BinarySearch.h, it is unused and similar to LowerBound 2021-04-07 19:10:28 +00:00
Assert.h Disable VTKM_ASSERT when using HIP 2020-09-25 11:06:57 -04:00
Atomic.h Do not use volatile when calling CUDA atomicCAS 2021-03-25 10:11:44 -06:00
BinaryOperators.h
BinaryPredicates.h
Bitset.h Add unittest for particlearraycopy 2020-06-18 15:45:36 -04:00
Bounds.h
CellClassification.h
CellShape.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
CellTraits.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
CMakeLists.txt Deprecate vtkm/BinarySearch.h, it is unused and similar to LowerBound 2021-04-07 19:10:28 +00:00
Deprecated.h Use GNU attributes for deprecated 2021-02-15 12:39:11 -07:00
ErrorCode.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
Flags.h
Geometry.h
Geometry.hxx Update vtkm/Geometry.hxx to follow clangs rules on function markup 2020-09-25 09:37:46 -04:00
Hash.h
ImplicitFunction.h Remove make_ImplicitFunctionFunctor functions 2021-02-25 14:05:02 -07:00
List.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
ListTag.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
LowerBound.h split vtkm/Algorithms.h into UpperBound.h, LowerBound.h, and BinarySearch.h 2021-04-07 18:53:09 +00:00
Math.h Kahan's difference of products algorithm 2021-04-05 15:20:56 -04:00
Math.h.in Kahan's difference of products algorithm 2021-04-05 15:20:56 -04:00
Matrix.h Kahan's difference of products algorithm 2021-04-05 15:20:56 -04:00
NewtonsMethod.h
Pair.h
Particle.h Add support for ghost cells in particle advection. 2020-10-19 16:46:48 -04:00
Range.h
RangeId2.h
RangeId3.h
RangeId.h
StaticAssert.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
Swap.h vtkm/Swap works with hip 2020-10-22 15:32:06 -04:00
TopologyElementTag.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
Transform3D.h
Tuple.h Update vtk-m doxygen to generate less warnings 2020-06-01 16:58:32 -04:00
Tuple.h.in Update doxygen comments in Tuple.h.in 2020-06-03 09:22:48 -06:00
TypeList.h Enable reinterpreting UnknownArrayHandle to compatible C types 2021-01-13 09:19:27 -07:00
TypeListTag.h
Types.h Allow for different types in basic type operators 2021-03-03 09:39:45 -07:00
TypeTraits.h Add implementation of ArrayRangeCompute for UnknownArrayHandle 2021-02-17 09:18:31 -07:00
UnaryPredicates.h
UpperBound.h split vtkm/Algorithms.h into UpperBound.h, LowerBound.h, and BinarySearch.h 2021-04-07 18:53:09 +00:00
VecAxisAlignedPointCoordinates.h Add VecFlat class 2020-12-16 17:22:44 -07:00
VecFlat.h Fix warning in VecFlat 2020-12-17 13:39:02 -07:00
VecFromPortal.h
VecFromPortalPermute.h
VecFromVirtPortal.h
VectorAnalysis.h Kahan's difference of products algorithm 2021-04-05 15:20:56 -04:00
VecTraits.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
VecVariable.h Generalize fields for particle advection 2020-07-20 21:15:46 -04:00
Version.h.in
VirtualObjectBase.h