Go to the documentation of this file.
10 #ifndef vtk_m_cont_ArrayPortal_h
11 #define vtk_m_cont_ArrayPortal_h
20 #ifdef VTKM_DOXYGEN_ONLY
87 #endif // VTKM_DOXYGEN_ONLY
91 #endif //vtk_m_cont_ArrayPortal_h
VTKM_EXEC_CONT void Set(vtkm::Id index, const ValueType &value) const
Sets a value in the array.
Groups connected points that have the same field value.
Definition: Atomic.h:19
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
T ValueType
The type of each value in the array.
Definition: ArrayPortal.h:67
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
VTKM_EXEC_CONT vtkm::Id GetNumberOfValues() const
The total number of values in the array.
VTKM_EXEC_CONT ValueType Get(vtkm::Id index) const
Gets a value from the array.
A class that points to and access and array of data.
Definition: ArrayPortal.h:62