Viskores  1.0
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
viskores::exec::ConnectivityExtrude Class Reference

#include <ConnectivityExtrude.h>

Public Types

using ConnectivityPortalType = Int32PortalType
 
using NextNodePortalType = Int32PortalType
 
using SchedulingRangeType = viskores::Id2
 
using CellShapeTag = viskores::CellShapeTagWedge
 
using IndicesType = IndicesExtrude
 

Public Member Functions

 ConnectivityExtrude ()=default
 
 ConnectivityExtrude (const ConnectivityPortalType &conn, const NextNodePortalType &nextnode, viskores::Int32 cellsPerPlane, viskores::Int32 pointsPerPlane, viskores::Int32 numPlanes, bool periodic)
 
viskores::Id GetNumberOfElements () const
 
CellShapeTag GetCellShape (viskores::Id) const
 
IndicesType GetIndices (viskores::Id index) const
 
IndicesType GetIndices (const viskores::Id2 &index) const
 
template<typename IndexType >
viskores::IdComponent GetNumberOfIndices (const IndexType &) const
 
viskores::Id LogicalToFlatToIndex (const viskores::Id2 &index) const
 
viskores::Id2 FlatToLogicalToIndex (viskores::Id index) const
 

Private Types

using Int32HandleType = viskores::cont::ArrayHandle< viskores::Int32 >
 
using Int32PortalType = typename Int32HandleType::ReadPortalType
 

Private Attributes

ConnectivityPortalType Connectivity
 
NextNodePortalType NextNode
 
viskores::Int32 NumberOfCellsPerPlane
 
viskores::Int32 NumberOfPointsPerPlane
 
viskores::Int32 NumberOfPlanes
 
viskores::Id NumberOfCells
 

Member Typedef Documentation

◆ CellShapeTag

◆ ConnectivityPortalType

◆ IndicesType

◆ Int32HandleType

◆ Int32PortalType

◆ NextNodePortalType

◆ SchedulingRangeType

Constructor & Destructor Documentation

◆ ConnectivityExtrude() [1/2]

viskores::exec::ConnectivityExtrude::ConnectivityExtrude ( )
default

◆ ConnectivityExtrude() [2/2]

viskores::exec::ConnectivityExtrude::ConnectivityExtrude ( const ConnectivityPortalType conn,
const NextNodePortalType nextnode,
viskores::Int32  cellsPerPlane,
viskores::Int32  pointsPerPlane,
viskores::Int32  numPlanes,
bool  periodic 
)
inline

Member Function Documentation

◆ FlatToLogicalToIndex()

viskores::Id2 viskores::exec::ConnectivityExtrude::FlatToLogicalToIndex ( viskores::Id  index) const
inline

◆ GetCellShape()

CellShapeTag viskores::exec::ConnectivityExtrude::GetCellShape ( viskores::Id  ) const
inline

◆ GetIndices() [1/2]

ConnectivityExtrude::IndicesType viskores::exec::ConnectivityExtrude::GetIndices ( const viskores::Id2 index) const
inline

◆ GetIndices() [2/2]

IndicesType viskores::exec::ConnectivityExtrude::GetIndices ( viskores::Id  index) const
inline

◆ GetNumberOfElements()

viskores::Id viskores::exec::ConnectivityExtrude::GetNumberOfElements ( ) const
inline

◆ GetNumberOfIndices()

template<typename IndexType >
viskores::IdComponent viskores::exec::ConnectivityExtrude::GetNumberOfIndices ( const IndexType &  ) const
inline

◆ LogicalToFlatToIndex()

viskores::Id viskores::exec::ConnectivityExtrude::LogicalToFlatToIndex ( const viskores::Id2 index) const
inline

Member Data Documentation

◆ Connectivity

ConnectivityPortalType viskores::exec::ConnectivityExtrude::Connectivity
private

◆ NextNode

NextNodePortalType viskores::exec::ConnectivityExtrude::NextNode
private

◆ NumberOfCells

viskores::Id viskores::exec::ConnectivityExtrude::NumberOfCells
private

◆ NumberOfCellsPerPlane

viskores::Int32 viskores::exec::ConnectivityExtrude::NumberOfCellsPerPlane
private

◆ NumberOfPlanes

viskores::Int32 viskores::exec::ConnectivityExtrude::NumberOfPlanes
private

◆ NumberOfPointsPerPlane

viskores::Int32 viskores::exec::ConnectivityExtrude::NumberOfPointsPerPlane
private

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