VTK-m
2.0
|
An implementation for read-only implicit arrays. More...
#include <ArrayHandleImplicit.h>
Public Types | |
using | PortalType = ArrayPortalType |
An implementation for read-only implicit arrays.
It is sometimes the case that you want VTK-m to operate on an array of implicit values. That is, rather than store the data in an actual array, it is gerenated on the fly by a function. This is handled in VTK-m by creating an ArrayHandle in VTK-m with a StorageTagImplicit type of Storage
. This tag itself is templated to specify an ArrayPortal that generates the desired values. An ArrayHandle created with this tag will raise an error on any operation that tries to modify it.
using vtkm::cont::StorageTagImplicit< ArrayPortalType >::PortalType = ArrayPortalType |