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

#include <SplitSharpEdges.h>

Inheritance diagram for vtkm::worklet::SplitSharpEdges::SplitSharpEdge:
vtkm::worklet::WorkletVisitPointsWithCells vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell > vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(CellSetIn intputCells, WholeCellSetIn< Cell, Point >, FieldInCell faceNormals, FieldInPoint newPointStartingIndex, FieldInPoint pointCellsStartingIndex, WholeArrayOut cellTopologyUpdateTuples)
 
using ExecutionSignature = void(CellIndices incidentCells, InputIndex pointIndex, _2 pFromCellSet, _3 faceNormals, _4 newPointStartingIndex, _5 pointCellsStartingIndex, _6 cellTopologyUpdateTuples)
 
using InputDomain = _1
 
- Public Types inherited from vtkm::worklet::WorkletVisitPointsWithCells
using FieldInCell = FieldInIncident
 
using FieldInPoint = FieldInVisit
 
using FieldOutPoint = FieldOut
 
using FieldInOutPoint = FieldInOut
 
using CellCount = IncidentElementCount
 
using CellIndices = IncidentElementIndices
 
- Public Types inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell >
using VisitTopologyType = vtkm::TopologyElementTagPoint
 
using IncidentTopologyType = vtkm::TopologyElementTagCell
 

Public Member Functions

 SplitSharpEdge (vtkm::FloatDefault cosfeatureAngle, vtkm::Id numberOfOldPoints)
 
template<typename IncidentCellVecType , typename PointFromCellSetType , typename FaceNormalVecType , typename CellTopologyUpdateTuples >
VTKM_EXEC void operator() (const IncidentCellVecType &incidentCells, vtkm::Id pointIndex, const PointFromCellSetType &pFromCellSet, const FaceNormalVecType &faceNormals, const vtkm::Id &newPointStartingIndex, const vtkm::Id &pointCellsStartingIndex, CellTopologyUpdateTuples &cellTopologyUpdateTuples) const
 
- Public Member Functions inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell >
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...
 

Private Attributes

vtkm::FloatDefault CosFeatureAngle
 
vtkm::Id NumberOfOldPoints
 

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::SplitSharpEdges::SplitSharpEdge::ControlSignature = void(CellSetIn intputCells, WholeCellSetIn<Cell, Point>, FieldInCell faceNormals, FieldInPoint newPointStartingIndex, FieldInPoint pointCellsStartingIndex, WholeArrayOut cellTopologyUpdateTuples)

◆ ExecutionSignature

using vtkm::worklet::SplitSharpEdges::SplitSharpEdge::ExecutionSignature = void(CellIndices incidentCells, InputIndex pointIndex, _2 pFromCellSet, _3 faceNormals, _4 newPointStartingIndex, _5 pointCellsStartingIndex, _6 cellTopologyUpdateTuples)

◆ InputDomain

Constructor & Destructor Documentation

◆ SplitSharpEdge()

vtkm::worklet::SplitSharpEdges::SplitSharpEdge::SplitSharpEdge ( vtkm::FloatDefault  cosfeatureAngle,
vtkm::Id  numberOfOldPoints 
)
inline

Member Function Documentation

◆ operator()()

template<typename IncidentCellVecType , typename PointFromCellSetType , typename FaceNormalVecType , typename CellTopologyUpdateTuples >
VTKM_EXEC void vtkm::worklet::SplitSharpEdges::SplitSharpEdge::operator() ( const IncidentCellVecType &  incidentCells,
vtkm::Id  pointIndex,
const PointFromCellSetType &  pFromCellSet,
const FaceNormalVecType &  faceNormals,
const vtkm::Id newPointStartingIndex,
const vtkm::Id pointCellsStartingIndex,
CellTopologyUpdateTuples &  cellTopologyUpdateTuples 
) const
inline

Member Data Documentation

◆ CosFeatureAngle

vtkm::FloatDefault vtkm::worklet::SplitSharpEdges::SplitSharpEdge::CosFeatureAngle
private

◆ NumberOfOldPoints

vtkm::Id vtkm::worklet::SplitSharpEdges::SplitSharpEdge::NumberOfOldPoints
private

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