VTK
Classes | Public Member Functions | List of all members
vtkm::cont::vtkmCellSetExplicitAOS Class Reference

#include <vtkmCellSetExplicit.h>

Inherits CellSet.

Classes

struct  ExecutionTypes
 
struct  ExecutionTypes< DeviceAdapter, vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint >
 
struct  ExecutionTypes< DeviceAdapter, vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell >
 

Public Member Functions

 vtkmCellSetExplicitAOS (const std::string &name=std::string())
 
virtual ~vtkmCellSetExplicitAOS ()
 
vtkmCellSetExplicitAOSoperator= (const vtkmCellSetExplicitAOS &src)
 
vtkm::Id GetNumberOfCells () const
 
vtkm::Id GetNumberOfPoints () const
 
virtual vtkm::Id GetNumberOfFaces () const
 
virtual vtkm::Id GetNumberOfEdges () const
 
vtkm::Id GetSchedulingRange (vtkm::TopologyElementTagCell) const
 
vtkm::Id GetSchedulingRange (vtkm::TopologyElementTagPoint) const
 
vtkm::IdComponent GetNumberOfPointsInCell (vtkm::Id index) const
 
vtkm::Id GetCellShape (vtkm::Id index) const
 
void Fill (vtkm::Id numberOfPoints, const vtkm::cont::ArrayHandle< vtkm::UInt8, tovtkm::vtkAOSArrayContainerTag > &cellTypes, const vtkm::cont::ArrayHandle< vtkm::Id, tovtkm::vtkCellArrayContainerTag > &connectivity, const vtkm::cont::ArrayHandle< vtkm::Id, tovtkm::vtkAOSArrayContainerTag > &offsets)
 Assigns the array handles to the explicit connectivity. More...
 
template<typename Device >
vtkm::exec::ConnectivityVTKAOS< Device > PrepareForInput (Device, vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell) const
 
template<typename Device >
vtkm::exec::ReverseConnectivityVTK< Device > PrepareForInput (Device, vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint) const
 
const vtkm::cont::ArrayHandle< vtkm::UInt8, tovtkm::vtkAOSArrayContainerTag > & GetShapesArray (vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell) const
 
const vtkm::cont::ArrayHandle< vtkm::Id, tovtkm::vtkCellArrayContainerTag > & GetConnectivityArray (vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell) const
 
const vtkm::cont::ArrayHandle< vtkm::Id, tovtkm::vtkAOSArrayContainerTag > & GetIndexOffsetArray (vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell) const
 
virtual void PrintSummary (std::ostream &out) const
 

Detailed Description

Definition at line 41 of file vtkmCellSetExplicit.h.

Constructor & Destructor Documentation

◆ vtkmCellSetExplicitAOS()

vtkm::cont::vtkmCellSetExplicitAOS::vtkmCellSetExplicitAOS ( const std::string &  name = std::string())
inline

Definition at line 44 of file vtkmCellSetExplicit.h.

◆ ~vtkmCellSetExplicitAOS()

virtual vtkm::cont::vtkmCellSetExplicitAOS::~vtkmCellSetExplicitAOS ( )
inlinevirtual

Definition at line 51 of file vtkmCellSetExplicit.h.

Member Function Documentation

◆ operator=()

vtkmCellSetExplicitAOS& vtkm::cont::vtkmCellSetExplicitAOS::operator= ( const vtkmCellSetExplicitAOS src)
inline

Definition at line 55 of file vtkmCellSetExplicit.h.

◆ GetNumberOfCells()

vtkm::Id vtkm::cont::vtkmCellSetExplicitAOS::GetNumberOfCells ( ) const
inline

Definition at line 69 of file vtkmCellSetExplicit.h.

◆ GetNumberOfPoints()

vtkm::Id vtkm::cont::vtkmCellSetExplicitAOS::GetNumberOfPoints ( ) const
inline

Definition at line 74 of file vtkmCellSetExplicit.h.

◆ GetNumberOfFaces()

virtual vtkm::Id vtkm::cont::vtkmCellSetExplicitAOS::GetNumberOfFaces ( ) const
inlinevirtual

Definition at line 79 of file vtkmCellSetExplicit.h.

◆ GetNumberOfEdges()

virtual vtkm::Id vtkm::cont::vtkmCellSetExplicitAOS::GetNumberOfEdges ( ) const
inlinevirtual

Definition at line 81 of file vtkmCellSetExplicit.h.

◆ GetSchedulingRange() [1/2]

vtkm::Id vtkm::cont::vtkmCellSetExplicitAOS::GetSchedulingRange ( vtkm::TopologyElementTagCell  ) const
inline

Definition at line 84 of file vtkmCellSetExplicit.h.

◆ GetSchedulingRange() [2/2]

vtkm::Id vtkm::cont::vtkmCellSetExplicitAOS::GetSchedulingRange ( vtkm::TopologyElementTagPoint  ) const
inline

Definition at line 89 of file vtkmCellSetExplicit.h.

◆ GetNumberOfPointsInCell()

vtkm::IdComponent vtkm::cont::vtkmCellSetExplicitAOS::GetNumberOfPointsInCell ( vtkm::Id  index) const

◆ GetCellShape()

vtkm::Id vtkm::cont::vtkmCellSetExplicitAOS::GetCellShape ( vtkm::Id  index) const

◆ Fill()

void vtkm::cont::vtkmCellSetExplicitAOS::Fill ( vtkm::Id  numberOfPoints,
const vtkm::cont::ArrayHandle< vtkm::UInt8, tovtkm::vtkAOSArrayContainerTag > &  cellTypes,
const vtkm::cont::ArrayHandle< vtkm::Id, tovtkm::vtkCellArrayContainerTag > &  connectivity,
const vtkm::cont::ArrayHandle< vtkm::Id, tovtkm::vtkAOSArrayContainerTag > &  offsets 
)

Assigns the array handles to the explicit connectivity.

This is the way you can fill the memory from another system without copying

◆ PrepareForInput() [1/2]

template<typename Device >
vtkm::exec::ConnectivityVTKAOS<Device> vtkm::cont::vtkmCellSetExplicitAOS::PrepareForInput ( Device  ,
vtkm::TopologyElementTagPoint  ,
vtkm::TopologyElementTagCell   
) const

◆ PrepareForInput() [2/2]

template<typename Device >
vtkm::exec::ReverseConnectivityVTK<Device> vtkm::cont::vtkmCellSetExplicitAOS::PrepareForInput ( Device  ,
vtkm::TopologyElementTagCell  ,
vtkm::TopologyElementTagPoint   
) const

◆ GetShapesArray()

const vtkm::cont::ArrayHandle<vtkm::UInt8, tovtkm::vtkAOSArrayContainerTag>& vtkm::cont::vtkmCellSetExplicitAOS::GetShapesArray ( vtkm::TopologyElementTagPoint  ,
vtkm::TopologyElementTagCell   
) const
inline

Definition at line 135 of file vtkmCellSetExplicit.h.

◆ GetConnectivityArray()

const vtkm::cont::ArrayHandle<vtkm::Id, tovtkm::vtkCellArrayContainerTag>& vtkm::cont::vtkmCellSetExplicitAOS::GetConnectivityArray ( vtkm::TopologyElementTagPoint  ,
vtkm::TopologyElementTagCell   
) const
inline

Definition at line 142 of file vtkmCellSetExplicit.h.

◆ GetIndexOffsetArray()

const vtkm::cont::ArrayHandle<vtkm::Id, tovtkm::vtkAOSArrayContainerTag>& vtkm::cont::vtkmCellSetExplicitAOS::GetIndexOffsetArray ( vtkm::TopologyElementTagPoint  ,
vtkm::TopologyElementTagCell   
) const
inline

Definition at line 149 of file vtkmCellSetExplicit.h.

◆ PrintSummary()

virtual void vtkm::cont::vtkmCellSetExplicitAOS::PrintSummary ( std::ostream &  out) const
virtual

The documentation for this class was generated from the following file: