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. |
||
---|---|---|
.. | ||
changelog | ||
CodingConventions.md |