VTK-m  2.0
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
vtkm::worklet::ExternalFaces::BuildConnectivityStructured Class Reference

#include <ExternalFaces.h>

Inheritance diagram for vtkm::worklet::ExternalFaces::BuildConnectivityStructured:
vtkm::worklet::WorkletVisitCellsWithPoints vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint > vtkm::exec::FunctorBase

Public Types

enum  FaceType { FACE_GRID_MIN, FACE_GRID_MAX, FACE_GRID_MIN_AND_MAX, FACE_NONE }
 
using ControlSignature = void(CellSetIn inCellSet, WholeCellSetIn<> inputCell, FieldOut faceShapes, FieldOut facePointCount, FieldOut faceConnectivity, FieldInPoint pointCoordinates)
 
using ExecutionSignature = void(CellShape, VisitIndex, InputIndex, _2, _3, _4, _5, _6)
 
using InputDomain = _1
 
using ScatterType = vtkm::worklet::ScatterCounting
 
- Public Types inherited from vtkm::worklet::WorkletVisitCellsWithPoints
using FieldInPoint = FieldInIncident
 
using FieldInCell = FieldInVisit
 
using FieldOutCell = FieldOut
 
using FieldInOutCell = FieldInOut
 
using PointCount = IncidentElementCount
 
using PointIndices = IncidentElementIndices
 
- Public Types inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint >
using VisitTopologyType = vtkm::TopologyElementTagCell
 
using IncidentTopologyType = vtkm::TopologyElementTagPoint
 

Public Member Functions

VTKM_CONT BuildConnectivityStructured (const vtkm::Vec3f_64 &min_point, const vtkm::Vec3f_64 &max_point)
 
template<typename PointCoordVecType >
VTKM_EXEC vtkm::IdComponent FindFaceIndexForVisit (vtkm::IdComponent visitIndex, const PointCoordVecType &pointCoordinates) const
 
template<typename CellShapeTag , typename CellSetType , typename PointCoordVecType , typename ConnectivityType >
VTKM_EXEC void operator() (CellShapeTag shape, vtkm::IdComponent visitIndex, vtkm::Id inputIndex, const CellSetType &cellSet, vtkm::UInt8 &shapeOut, vtkm::IdComponent &numFacePointsOut, ConnectivityType &faceConnectivity, const PointCoordVecType &pointCoordinates) const
 
- Public Member Functions inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint >
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::CustomScatterOrMaskTagGetThreadIndices (vtkm::Id threadIndex, const OutToInArrayType &outToIn, const VisitArrayType &visit, const ThreadToOutArrayType &threadToOut, const InputDomainType &connectivity) const
 Topology map worklets use topology map indices. More...
 
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC EnableFnWhen< S &&M, vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::DefaultScatterAndMaskTag > > GetThreadIndices (vtkm::Id threadIndex1D, const vtkm::Id3 &threadIndex3D, const OutToInArrayType &vtkmNotUsed(outToIn), const VisitArrayType &vtkmNotUsed(visit), const ThreadToOutArrayType &vtkmNotUsed(threadToOut), const InputDomainType &connectivity) const
 Optimized for ScatterIdentity and MaskNone. More...
 
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC EnableFnWhen<!(S &&M), vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::CustomScatterOrMaskTag > > GetThreadIndices (vtkm::Id threadIndex1D, const vtkm::Id3 &threadIndex3D, const OutToInArrayType &outToIn, const VisitArrayType &visit, const ThreadToOutArrayType &threadToOut, const InputDomainType &connectivity) const
 Default version. More...
 

Static Public Member Functions

template<typename CountArrayType >
static VTKM_CONT ScatterType MakeScatter (const CountArrayType &countArray)
 
static VTKM_EXEC bool FoundFaceOnDimension (vtkm::Float64 grid_min, vtkm::Float64 grid_max, vtkm::Float64 cell_min, vtkm::Float64 cell_max, vtkm::IdComponent &faceIndex, vtkm::IdComponent &count, vtkm::IdComponent dimensionFaceOffset, vtkm::IdComponent visitIndex)
 

Private Attributes

vtkm::Vec3f_64 MinPoint
 
vtkm::Vec3f_64 MaxPoint
 

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::ExternalFaces::BuildConnectivityStructured::ControlSignature = void(CellSetIn inCellSet, WholeCellSetIn<> inputCell, FieldOut faceShapes, FieldOut facePointCount, FieldOut faceConnectivity, FieldInPoint pointCoordinates)

◆ ExecutionSignature

◆ InputDomain

◆ ScatterType

Member Enumeration Documentation

◆ FaceType

Enumerator
FACE_GRID_MIN 
FACE_GRID_MAX 
FACE_GRID_MIN_AND_MAX 
FACE_NONE 

Constructor & Destructor Documentation

◆ BuildConnectivityStructured()

VTKM_CONT vtkm::worklet::ExternalFaces::BuildConnectivityStructured::BuildConnectivityStructured ( const vtkm::Vec3f_64 min_point,
const vtkm::Vec3f_64 max_point 
)
inline

Member Function Documentation

◆ FindFaceIndexForVisit()

template<typename PointCoordVecType >
VTKM_EXEC vtkm::IdComponent vtkm::worklet::ExternalFaces::BuildConnectivityStructured::FindFaceIndexForVisit ( vtkm::IdComponent  visitIndex,
const PointCoordVecType &  pointCoordinates 
) const
inline

◆ FoundFaceOnDimension()

static VTKM_EXEC bool vtkm::worklet::ExternalFaces::BuildConnectivityStructured::FoundFaceOnDimension ( vtkm::Float64  grid_min,
vtkm::Float64  grid_max,
vtkm::Float64  cell_min,
vtkm::Float64  cell_max,
vtkm::IdComponent faceIndex,
vtkm::IdComponent count,
vtkm::IdComponent  dimensionFaceOffset,
vtkm::IdComponent  visitIndex 
)
inlinestatic

◆ MakeScatter()

template<typename CountArrayType >
static VTKM_CONT ScatterType vtkm::worklet::ExternalFaces::BuildConnectivityStructured::MakeScatter ( const CountArrayType &  countArray)
inlinestatic

◆ operator()()

template<typename CellShapeTag , typename CellSetType , typename PointCoordVecType , typename ConnectivityType >
VTKM_EXEC void vtkm::worklet::ExternalFaces::BuildConnectivityStructured::operator() ( CellShapeTag  shape,
vtkm::IdComponent  visitIndex,
vtkm::Id  inputIndex,
const CellSetType &  cellSet,
vtkm::UInt8 shapeOut,
vtkm::IdComponent numFacePointsOut,
ConnectivityType &  faceConnectivity,
const PointCoordVecType &  pointCoordinates 
) const
inline

Member Data Documentation

◆ MaxPoint

vtkm::Vec3f_64 vtkm::worklet::ExternalFaces::BuildConnectivityStructured::MaxPoint
private

◆ MinPoint

vtkm::Vec3f_64 vtkm::worklet::ExternalFaces::BuildConnectivityStructured::MinPoint
private

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