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

#include <ConnectivityExtrude.h>

Public Types

using ConnectivityPortalType = Int32PortalType
 
using OffsetsPortalType = Int32PortalType
 
using CountsPortalType = Int32PortalType
 
using PrevNodePortalType = Int32PortalType
 
using SchedulingRangeType = viskores::Id2
 
using CellShapeTag = viskores::CellShapeTagVertex
 
using IndicesType = ReverseIndicesExtrude< ConnectivityPortalType >
 

Public Member Functions

 ReverseConnectivityExtrude ()=default
 
 ReverseConnectivityExtrude (const ConnectivityPortalType &conn, const OffsetsPortalType &offsets, const CountsPortalType &counts, const PrevNodePortalType &prevNode, viskores::Int32 cellsPerPlane, viskores::Int32 pointsPerPlane, viskores::Int32 numPlanes)
 
viskores::Id GetNumberOfElements () const
 
CellShapeTag GetCellShape (viskores::Id) const
 
IndicesType GetIndices (viskores::Id index) const
 Returns a Vec-like object containing the indices for the given index. More...
 
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
 

Public Attributes

ConnectivityPortalType Connectivity
 
OffsetsPortalType Offsets
 
CountsPortalType Counts
 
PrevNodePortalType PrevNode
 
viskores::Int32 NumberOfCellsPerPlane
 
viskores::Int32 NumberOfPointsPerPlane
 
viskores::Int32 NumberOfPlanes
 

Private Types

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

Member Typedef Documentation

◆ CellShapeTag

◆ ConnectivityPortalType

◆ CountsPortalType

◆ IndicesType

◆ Int32HandleType

◆ Int32PortalType

◆ OffsetsPortalType

◆ PrevNodePortalType

◆ SchedulingRangeType

Constructor & Destructor Documentation

◆ ReverseConnectivityExtrude() [1/2]

viskores::exec::ReverseConnectivityExtrude::ReverseConnectivityExtrude ( )
default

◆ ReverseConnectivityExtrude() [2/2]

viskores::exec::ReverseConnectivityExtrude::ReverseConnectivityExtrude ( const ConnectivityPortalType conn,
const OffsetsPortalType offsets,
const CountsPortalType counts,
const PrevNodePortalType prevNode,
viskores::Int32  cellsPerPlane,
viskores::Int32  pointsPerPlane,
viskores::Int32  numPlanes 
)
inline

Member Function Documentation

◆ FlatToLogicalToIndex()

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

◆ GetCellShape()

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

◆ GetIndices() [1/2]

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

◆ GetIndices() [2/2]

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

Returns a Vec-like object containing the indices for the given index.

The object returned is not an actual array, but rather an object that loads the indices lazily out of the connectivity array. This prevents us from having to know the number of indices at compile time.

◆ GetNumberOfElements()

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

◆ GetNumberOfIndices()

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

◆ LogicalToFlatToIndex()

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

Member Data Documentation

◆ Connectivity

ConnectivityPortalType viskores::exec::ReverseConnectivityExtrude::Connectivity

◆ Counts

CountsPortalType viskores::exec::ReverseConnectivityExtrude::Counts

◆ NumberOfCellsPerPlane

viskores::Int32 viskores::exec::ReverseConnectivityExtrude::NumberOfCellsPerPlane

◆ NumberOfPlanes

viskores::Int32 viskores::exec::ReverseConnectivityExtrude::NumberOfPlanes

◆ NumberOfPointsPerPlane

viskores::Int32 viskores::exec::ReverseConnectivityExtrude::NumberOfPointsPerPlane

◆ Offsets

OffsetsPortalType viskores::exec::ReverseConnectivityExtrude::Offsets

◆ PrevNode

PrevNodePortalType viskores::exec::ReverseConnectivityExtrude::PrevNode

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