mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 18:45:43 +00:00
3039a18baf
This is done through a new version of ApplyPolicy. This version takes a type of the array as its first template argument, which must be specified. This requires having a list of potential storage to try. It will use that to construct an ArrayHandleMultiplexer containing all potential types. This list of storages comes from the policy. A StorageList item was added to the policy. Types are automatically converted. So if you ask for a vtkm::Float64 and field contains a vtkm::Float32, it will the array wrapped in an ArrayHandleCast to give the expected type. |
||
---|---|---|
.. | ||
testing | ||
.gitattributes | ||
ArrayPortalHelpers.h | ||
ArrayPortalUniformPointCoordinates.h | ||
ArrayPortalValueReference.h | ||
ArrayPortalVirtual.h | ||
Assume.h | ||
brigand.hpp | ||
CMakeLists.txt | ||
Configure.h.in | ||
ConfigureFor32.h | ||
ConfigureFor64.h | ||
ConnectivityStructuredInternals.h | ||
ExportMacros.h | ||
FunctionInterface.h | ||
FunctionInterfaceDetailPost.h | ||
FunctionInterfaceDetailPost.h.in | ||
FunctionInterfaceDetailPre.h | ||
FunctionInterfaceDetailPre.h.in | ||
IndexTag.h | ||
IndicesExtrude.h | ||
Invocation.h | ||
ListTagDetail.h | ||
Unreachable.h | ||
Variant.h | ||
VariantDetail.h | ||
VariantDetail.h.in | ||
Windows.h |