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 ()
 
virtual ~vtkmCellSetExplicitAOS ()
 
 vtkmCellSetExplicitAOS (const vtkmCellSetExplicitAOS &src)
 
vtkmCellSetExplicitAOSoperator= (const vtkmCellSetExplicitAOS &src)
 
vtkm::Id GetNumberOfCells () const override
 
vtkm::Id GetNumberOfPoints () const override
 
vtkm::Id GetNumberOfFaces () const override
 
vtkm::Id GetNumberOfEdges () const override
 
vtkm::Id GetSchedulingRange (vtkm::TopologyElementTagCell) const
 
vtkm::Id GetSchedulingRange (vtkm::TopologyElementTagPoint) const
 
vtkm::IdComponent GetNumberOfPointsInCell (vtkm::Id index) const override
 
vtkm::UInt8 GetCellShape (vtkm::Id index) const override
 
void GetCellPointIds (vtkm::Id id, vtkm::Id *ptids) const override
 
std::shared_ptr< CellSet > NewInstance () const override
 
void DeepCopy (const CellSet *src) override
 
void Fill (vtkm::Id numberOfPoints, const vtkm::cont::ArrayHandle< vtkm::UInt8 > &cellTypes, const vtkm::cont::ArrayHandle< vtkm::Id, tovtkm::vtkCellArrayContainerTag > &connectivity, const vtkm::cont::ArrayHandle< vtkm::Id > &offsets)
 Assigns the array handles to the explicit connectivity. More...
 
template<typename Device >
vtkm::exec::ConnectivityVTKAOS< Device > PrepareForInput (Device, vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint) const
 
template<typename Device >
vtkm::exec::ReverseConnectivityVTK< Device > PrepareForInput (Device, vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell) const
 
const vtkm::cont::ArrayHandle< vtkm::UInt8 > & GetShapesArray (vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint) const
 
const vtkm::cont::ArrayHandle< vtkm::Id, tovtkm::vtkCellArrayContainerTag > & GetConnectivityArray (vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint) const
 
const vtkm::cont::ArrayHandle< vtkm::Id > & GetIndexOffsetArray (vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint) const
 
void PrintSummary (std::ostream &out) const override
 
void ReleaseResourcesExecution () override
 

Detailed Description

Definition at line 41 of file vtkmCellSetExplicit.h.

Constructor & Destructor Documentation

◆ vtkmCellSetExplicitAOS() [1/2]

vtkm::cont::vtkmCellSetExplicitAOS::vtkmCellSetExplicitAOS ( )
inline

Definition at line 44 of file vtkmCellSetExplicit.h.

◆ ~vtkmCellSetExplicitAOS()

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

Definition at line 57 of file vtkmCellSetExplicit.h.

◆ vtkmCellSetExplicitAOS() [2/2]

vtkm::cont::vtkmCellSetExplicitAOS::vtkmCellSetExplicitAOS ( const vtkmCellSetExplicitAOS src)
inline

Definition at line 61 of file vtkmCellSetExplicit.h.

Member Function Documentation

◆ operator=()

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

Definition at line 74 of file vtkmCellSetExplicit.h.

◆ GetNumberOfCells()

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

Definition at line 88 of file vtkmCellSetExplicit.h.

◆ GetNumberOfPoints()

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

Definition at line 93 of file vtkmCellSetExplicit.h.

◆ GetNumberOfFaces()

vtkm::Id vtkm::cont::vtkmCellSetExplicitAOS::GetNumberOfFaces ( ) const
inlineoverride

Definition at line 98 of file vtkmCellSetExplicit.h.

◆ GetNumberOfEdges()

vtkm::Id vtkm::cont::vtkmCellSetExplicitAOS::GetNumberOfEdges ( ) const
inlineoverride

Definition at line 100 of file vtkmCellSetExplicit.h.

◆ GetSchedulingRange() [1/2]

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

Definition at line 103 of file vtkmCellSetExplicit.h.

◆ GetSchedulingRange() [2/2]

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

Definition at line 108 of file vtkmCellSetExplicit.h.

◆ GetNumberOfPointsInCell()

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

◆ GetCellShape()

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

◆ GetCellPointIds()

void vtkm::cont::vtkmCellSetExplicitAOS::GetCellPointIds ( vtkm::Id  id,
vtkm::Id *  ptids 
) const
override

◆ NewInstance()

std::shared_ptr<CellSet> vtkm::cont::vtkmCellSetExplicitAOS::NewInstance ( ) const
override

◆ DeepCopy()

void vtkm::cont::vtkmCellSetExplicitAOS::DeepCopy ( const CellSet *  src)
override

◆ Fill()

void vtkm::cont::vtkmCellSetExplicitAOS::Fill ( vtkm::Id  numberOfPoints,
const vtkm::cont::ArrayHandle< vtkm::UInt8 > &  cellTypes,
const vtkm::cont::ArrayHandle< vtkm::Id, tovtkm::vtkCellArrayContainerTag > &  connectivity,
const vtkm::cont::ArrayHandle< vtkm::Id > &  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::TopologyElementTagCell  ,
vtkm::TopologyElementTagPoint   
) const

◆ PrepareForInput() [2/2]

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

◆ GetShapesArray()

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

Definition at line 157 of file vtkmCellSetExplicit.h.

◆ GetConnectivityArray()

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

Definition at line 164 of file vtkmCellSetExplicit.h.

◆ GetIndexOffsetArray()

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

Definition at line 171 of file vtkmCellSetExplicit.h.

◆ PrintSummary()

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

◆ ReleaseResourcesExecution()

void vtkm::cont::vtkmCellSetExplicitAOS::ReleaseResourcesExecution ( )
inlineoverride

Definition at line 179 of file vtkmCellSetExplicit.h.


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