VTK-m  2.1
Classes | Namespaces | Functions
ArrayHandleSOA.h File Reference
#include <vtkm/cont/ArrayExtractComponent.h>
#include <vtkm/cont/ArrayHandle.h>
#include <vtkm/Math.h>
#include <vtkm/VecTraits.h>
#include <vtkm/internal/ArrayPortalBasic.h>
#include <vtkm/internal/ArrayPortalHelpers.h>
#include <vtkmstd/integer_sequence.h>
#include <array>
#include <limits>
#include <type_traits>

Go to the source code of this file.

Classes

struct  vtkm::cont::StorageTagSOA
 
class  vtkm::cont::ArrayHandleSOA< T >
 An ArrayHandle that for Vecs stores each component in a separate physical array. More...
 

Namespaces

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

Functions

template<typename ValueType >
ArrayHandleSOA< ValueType > vtkm::cont::make_ArrayHandleSOA (std::initializer_list< vtkm::cont::ArrayHandle< typename vtkm::VecTraits< ValueType >::ComponentType, vtkm::cont::StorageTagBasic >> &&componentArrays)
 Create a vtkm::cont::ArrayHandleSOA with an initializer list of array handles. More...
 
template<typename ComponentType , typename... RemainingArrays>
ArrayHandleSOA< vtkm::Vec< ComponentType, internal::VecSizeFromRemaining< RemainingArrays... >::value > > vtkm::cont::make_ArrayHandleSOA (const vtkm::cont::ArrayHandle< ComponentType, vtkm::cont::StorageTagBasic > &componentArray0, const RemainingArrays &... componentArrays)
 Create a vtkm::cont::ArrayHandleSOA with a number of array handles. More...
 
template<typename ValueType >
ArrayHandleSOA< ValueType > vtkm::cont::make_ArrayHandleSOA (std::initializer_list< std::vector< typename vtkm::VecTraits< ValueType >::ComponentType >> &&componentVectors)
 Create a vtkm::cont::ArrayHandleSOA with an initializer list of std::vector. More...
 
template<typename ComponentType , typename... RemainingVectors>
ArrayHandleSOA< vtkm::Vec< ComponentType, internal::VecSizeFromRemaining< RemainingVectors... >::value > > vtkm::cont::make_ArrayHandleSOA (vtkm::CopyFlag copy, const std::vector< ComponentType > &vector0, RemainingVectors &&... componentVectors)
 Create a vtkm::cont::ArrayHandleSOA with a number of std::vector. More...
 
template<typename ComponentType , typename... RemainingVectors>
ArrayHandleSOA< vtkm::Vec< ComponentType, internal::VecSizeFromRemaining< RemainingVectors... >::value > > vtkm::cont::make_ArrayHandleSOA (vtkm::CopyFlag copy, std::vector< ComponentType > &&vector0, RemainingVectors &&... componentVectors)
 Create a vtkm::cont::ArrayHandleSOA with a number of std::vector. More...
 
template<typename ComponentType , typename... RemainingVectors>
ArrayHandleSOA< vtkm::Vec< ComponentType, internal::VecSizeFromRemaining< RemainingVectors... >::value > > vtkm::cont::make_ArrayHandleSOAMove (std::vector< ComponentType > &&vector0, RemainingVectors &&... componentVectors)
 Create a vtkm::cont::ArrayHandleSOA with a number of std::vector. More...
 
template<typename ValueType >
ArrayHandleSOA< ValueType > vtkm::cont::make_ArrayHandleSOA (std::initializer_list< const typename vtkm::VecTraits< ValueType >::ComponentType * > &&componentVectors, vtkm::Id length, vtkm::CopyFlag copy)
 Create a vtkm::cont::ArrayHandleSOA with an initializer list of C arrays. More...
 
template<typename ComponentType , typename... RemainingArrays>
ArrayHandleSOA< vtkm::Vec< ComponentType, internal::VecSizeFromRemaining< RemainingArrays... >::value > > vtkm::cont::make_ArrayHandleSOA (vtkm::Id length, vtkm::CopyFlag copy, const ComponentType *array0, const RemainingArrays *... componentArrays)
 Create a vtkm::cont::ArrayHandleSOA with a number of C arrays. More...