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 ()
 
 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, 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
 
void PrintSummary (std::ostream &out) const override
 
void ReleaseResourcesExecution () override
 

Detailed Description

Definition at line 41 of file vtkmCellSetExplicit.h.

Constructor & Destructor Documentation

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

Definition at line 44 of file vtkmCellSetExplicit.h.

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

Definition at line 57 of file vtkmCellSetExplicit.h.

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

Definition at line 61 of file vtkmCellSetExplicit.h.

Member Function Documentation

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

Definition at line 74 of file vtkmCellSetExplicit.h.

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

Definition at line 88 of file vtkmCellSetExplicit.h.

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

Definition at line 93 of file vtkmCellSetExplicit.h.

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

Definition at line 98 of file vtkmCellSetExplicit.h.

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

Definition at line 100 of file vtkmCellSetExplicit.h.

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

Definition at line 103 of file vtkmCellSetExplicit.h.

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

Definition at line 108 of file vtkmCellSetExplicit.h.

vtkm::IdComponent vtkm::cont::vtkmCellSetExplicitAOS::GetNumberOfPointsInCell ( vtkm::Id  index) const
override
vtkm::UInt8 vtkm::cont::vtkmCellSetExplicitAOS::GetCellShape ( vtkm::Id  index) const
override
void vtkm::cont::vtkmCellSetExplicitAOS::GetCellPointIds ( vtkm::Id  id,
vtkm::Id *  ptids 
) const
override
std::shared_ptr<CellSet> vtkm::cont::vtkmCellSetExplicitAOS::NewInstance ( ) const
override
void vtkm::cont::vtkmCellSetExplicitAOS::DeepCopy ( const CellSet *  src)
override
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

template<typename Device >
vtkm::exec::ConnectivityVTKAOS<Device> vtkm::cont::vtkmCellSetExplicitAOS::PrepareForInput ( Device  ,
vtkm::TopologyElementTagPoint  ,
vtkm::TopologyElementTagCell   
) const
template<typename Device >
vtkm::exec::ReverseConnectivityVTK<Device> vtkm::cont::vtkmCellSetExplicitAOS::PrepareForInput ( Device  ,
vtkm::TopologyElementTagCell  ,
vtkm::TopologyElementTagPoint   
) const
const vtkm::cont::ArrayHandle<vtkm::UInt8, tovtkm::vtkAOSArrayContainerTag>& vtkm::cont::vtkmCellSetExplicitAOS::GetShapesArray ( vtkm::TopologyElementTagPoint  ,
vtkm::TopologyElementTagCell   
) const
inline

Definition at line 159 of file vtkmCellSetExplicit.h.

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

Definition at line 166 of file vtkmCellSetExplicit.h.

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

Definition at line 173 of file vtkmCellSetExplicit.h.

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

Definition at line 181 of file vtkmCellSetExplicit.h.


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