mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 02:25:42 +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. |
||
---|---|---|
.. | ||
1.3 | ||
1.4 | ||
0-sample-topic.md | ||
apply-policy-with-single-type.md | ||
array-get-values.md | ||
array-handle-multiplexer.md | ||
array-handle-soa.md | ||
BoundaryState-refactor.md | ||
cell_locator_changes.md | ||
cellsets-dont-have-names.md | ||
dataset-no-throw-on-index-queries.md | ||
dataset-only-single-cellset.md | ||
field-no-cellset-name-required.md | ||
filters-no-active-cellset.md | ||
filters-removal-of-filter-cell.md | ||
fix-polygon-gradient.md | ||
invoker-used-by-filters.md | ||
invoker-vtkm-cont.md | ||
lagrangian-coherent-structures.md | ||
multiblock_renamed_partitioneddataset.md | ||
orient-normals.md | ||
particle_status_changes.md | ||
refactor-topo-mapping.md | ||
remove-array-portal-shrink.md | ||
scan-extended.md | ||
simplify-create-fields.md | ||
simplify-create-result.md | ||
simplify-examples.md | ||
simplify-specifying-filter-allowed-value-types.md | ||
threshold-explicit-cells.md | ||
vec-traits-base-components.md | ||
vec-typedefs.md | ||
vtkm-vec-operator-constexpr.md | ||
write-to-array-handle-cast.md |