VTK-m  2.2
Namespaces
ArrayGetValues.h File Reference
#include <vtkm/cont/vtkm_cont_export.h>
#include <vtkm/cont/ArrayHandle.h>
#include <vtkm/cont/UnknownArrayHandle.h>
#include <initializer_list>
#include <vector>

Go to the source code of this file.

Namespaces

 vtkm
 Groups connected points that have the same field value.
 
 vtkm::cont
 VTK-m Control Environment.
 

Functions

template<typename SIds , typename T , typename SData , typename SOut >
void vtkm::cont::ArrayGetValues (const vtkm::cont::ArrayHandle< vtkm::Id, SIds > &ids, const vtkm::cont::ArrayHandle< T, SData > &data, vtkm::cont::ArrayHandle< T, SOut > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename SIds , typename TIn , typename SData , typename TOut , typename SOut >
void vtkm::cont::ArrayGetValues (const vtkm::cont::ArrayHandle< vtkm::Id, SIds > &ids, const vtkm::cont::ArrayHandle< TOut, vtkm::cont::StorageTagCast< TIn, SData >> &data, vtkm::cont::ArrayHandle< TOut, SOut > &output)
 We need a specialization for ArrayHandleCasts to avoid runtime type missmatch errors inside ArrayGetValuesImpl. More...
 
template<typename SIds , typename T , typename SData , typename Alloc >
void vtkm::cont::ArrayGetValues (const vtkm::cont::ArrayHandle< vtkm::Id, SIds > &ids, const vtkm::cont::ArrayHandle< T, SData > &data, std::vector< T, Alloc > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename SIds , typename T , typename SData >
std::vector< T > vtkm::cont::ArrayGetValues (const vtkm::cont::ArrayHandle< vtkm::Id, SIds > &ids, const vtkm::cont::ArrayHandle< T, SData > &data)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename Alloc , typename SData , typename SOut >
void vtkm::cont::ArrayGetValues (const std::vector< vtkm::Id, Alloc > &ids, const vtkm::cont::ArrayHandle< T, SData > &data, vtkm::cont::ArrayHandle< T, SOut > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename AllocId , typename SData , typename AllocOut >
void vtkm::cont::ArrayGetValues (const std::vector< vtkm::Id, AllocId > &ids, const vtkm::cont::ArrayHandle< T, SData > &data, std::vector< T, AllocOut > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename Alloc , typename SData >
std::vector< T > vtkm::cont::ArrayGetValues (const std::vector< vtkm::Id, Alloc > &ids, const vtkm::cont::ArrayHandle< T, SData > &data)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename SData , typename SOut >
void vtkm::cont::ArrayGetValues (const std::initializer_list< vtkm::Id > &ids, const vtkm::cont::ArrayHandle< T, SData > &data, vtkm::cont::ArrayHandle< T, SOut > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename SData , typename Alloc >
void vtkm::cont::ArrayGetValues (const std::initializer_list< vtkm::Id > &ids, const vtkm::cont::ArrayHandle< T, SData > &data, std::vector< T, Alloc > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename SData >
std::vector< T > vtkm::cont::ArrayGetValues (const std::initializer_list< vtkm::Id > &ids, const vtkm::cont::ArrayHandle< T, SData > &data)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename SData , typename SOut >
void vtkm::cont::ArrayGetValues (const vtkm::Id *ids, const vtkm::Id numIds, const vtkm::cont::ArrayHandle< T, SData > &data, vtkm::cont::ArrayHandle< T, SOut > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename SData , typename Alloc >
void vtkm::cont::ArrayGetValues (const vtkm::Id *ids, const vtkm::Id numIds, const vtkm::cont::ArrayHandle< T, SData > &data, std::vector< T, Alloc > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename SData >
std::vector< T > vtkm::cont::ArrayGetValues (const vtkm::Id *ids, const vtkm::Id numIds, const vtkm::cont::ArrayHandle< T, SData > &data)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename S >
vtkm::cont::ArrayGetValue (vtkm::Id id, const vtkm::cont::ArrayHandle< T, S > &data)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename S >
void vtkm::cont::ArrayGetValue (vtkm::Id id, const vtkm::cont::ArrayHandle< T, S > &data, T &val)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename SIds , typename T , typename SData , typename SOut >
void vtkm::cont::ArrayGetValues (const vtkm::cont::ArrayHandle< vtkm::Id, SIds > &ids, const vtkm::cont::ArrayHandle< T, SData > &data, vtkm::cont::ArrayHandle< T, SOut > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename SIds , typename TIn , typename SData , typename TOut , typename SOut >
void vtkm::cont::ArrayGetValues (const vtkm::cont::ArrayHandle< vtkm::Id, SIds > &ids, const vtkm::cont::ArrayHandle< TOut, vtkm::cont::StorageTagCast< TIn, SData >> &data, vtkm::cont::ArrayHandle< TOut, SOut > &output)
 We need a specialization for ArrayHandleCasts to avoid runtime type missmatch errors inside ArrayGetValuesImpl. More...
 
template<typename SIds , typename T , typename SData , typename Alloc >
void vtkm::cont::ArrayGetValues (const vtkm::cont::ArrayHandle< vtkm::Id, SIds > &ids, const vtkm::cont::ArrayHandle< T, SData > &data, std::vector< T, Alloc > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename SIds , typename T , typename SData >
std::vector< T > vtkm::cont::ArrayGetValues (const vtkm::cont::ArrayHandle< vtkm::Id, SIds > &ids, const vtkm::cont::ArrayHandle< T, SData > &data)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename Alloc , typename SData , typename SOut >
void vtkm::cont::ArrayGetValues (const std::vector< vtkm::Id, Alloc > &ids, const vtkm::cont::ArrayHandle< T, SData > &data, vtkm::cont::ArrayHandle< T, SOut > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename AllocId , typename SData , typename AllocOut >
void vtkm::cont::ArrayGetValues (const std::vector< vtkm::Id, AllocId > &ids, const vtkm::cont::ArrayHandle< T, SData > &data, std::vector< T, AllocOut > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename Alloc , typename SData >
std::vector< T > vtkm::cont::ArrayGetValues (const std::vector< vtkm::Id, Alloc > &ids, const vtkm::cont::ArrayHandle< T, SData > &data)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename SData , typename SOut >
void vtkm::cont::ArrayGetValues (const std::initializer_list< vtkm::Id > &ids, const vtkm::cont::ArrayHandle< T, SData > &data, vtkm::cont::ArrayHandle< T, SOut > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename SData , typename Alloc >
void vtkm::cont::ArrayGetValues (const std::initializer_list< vtkm::Id > &ids, const vtkm::cont::ArrayHandle< T, SData > &data, std::vector< T, Alloc > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename SData >
std::vector< T > vtkm::cont::ArrayGetValues (const std::initializer_list< vtkm::Id > &ids, const vtkm::cont::ArrayHandle< T, SData > &data)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename SData , typename SOut >
void vtkm::cont::ArrayGetValues (const vtkm::Id *ids, const vtkm::Id numIds, const vtkm::cont::ArrayHandle< T, SData > &data, vtkm::cont::ArrayHandle< T, SOut > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename SData , typename Alloc >
void vtkm::cont::ArrayGetValues (const vtkm::Id *ids, const vtkm::Id numIds, const vtkm::cont::ArrayHandle< T, SData > &data, std::vector< T, Alloc > &output)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename SData >
std::vector< T > vtkm::cont::ArrayGetValues (const vtkm::Id *ids, const vtkm::Id numIds, const vtkm::cont::ArrayHandle< T, SData > &data)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename S >
vtkm::cont::ArrayGetValue (vtkm::Id id, const vtkm::cont::ArrayHandle< T, S > &data)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...
 
template<typename T , typename S >
void vtkm::cont::ArrayGetValue (vtkm::Id id, const vtkm::cont::ArrayHandle< T, S > &data, T &val)
 Obtain a small set of values from an ArrayHandle with minimal device transfers. More...