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

#include <MarchingCells.h>

Inheritance diagram for vtkm::worklet::marching_cells::NormalsWorkletPass1:
vtkm::worklet::WorkletVisitPointsWithCells vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell > vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(CellSetIn, WholeCellSetIn< Cell, Point >, WholeArrayIn pointCoordinates, WholeArrayIn inputField, FieldOutPoint normals)
 
using ExecutionSignature = void(CellCount, CellIndices, InputIndex, _2, _3, _4, _5)
 
using InputDomain = _1
 
using ScatterType = vtkm::worklet::ScatterPermutation< typename PointIdsArray::StorageTag >
 
- 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

template<typename FromIndexType , typename CellSetInType , typename WholeCoordinatesIn , typename WholeFieldIn , typename NormalType >
VTKM_EXEC void operator() (const vtkm::IdComponent &numCells, const FromIndexType &cellIds, vtkm::Id pointId, const CellSetInType &geometry, const WholeCoordinatesIn &pointCoordinates, const WholeFieldIn &inputField, NormalType &normal) const
 
template<typename FromIndexType , typename WholeCoordinatesIn , typename WholeFieldIn , typename NormalType >
VTKM_EXEC void operator() (const vtkm::IdComponent &vtkmNotUsed(numCells), const FromIndexType &vtkmNotUsed(cellIds), vtkm::Id pointId, vtkm::exec::ConnectivityStructured< Cell, Point, 3 > &geometry, const WholeCoordinatesIn &pointCoordinates, const WholeFieldIn &inputField, NormalType &normal) 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...
 

Static Public Member Functions

static VTKM_CONT ScatterType MakeScatter (const vtkm::cont::ArrayHandle< vtkm::Id2 > &edges)
 

Private Types

using PointIdsArray = vtkm::cont::ArrayHandleTransform< vtkm::cont::ArrayHandle< vtkm::Id2 >, EdgeVertex< 0 > >
 

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::marching_cells::NormalsWorkletPass1::ControlSignature = void(CellSetIn, WholeCellSetIn<Cell, Point>, WholeArrayIn pointCoordinates, WholeArrayIn inputField, FieldOutPoint normals)

◆ ExecutionSignature

◆ InputDomain

◆ PointIdsArray

◆ ScatterType

Member Function Documentation

◆ MakeScatter()

static VTKM_CONT ScatterType vtkm::worklet::marching_cells::NormalsWorkletPass1::MakeScatter ( const vtkm::cont::ArrayHandle< vtkm::Id2 > &  edges)
inlinestatic

◆ operator()() [1/2]

template<typename FromIndexType , typename CellSetInType , typename WholeCoordinatesIn , typename WholeFieldIn , typename NormalType >
VTKM_EXEC void vtkm::worklet::marching_cells::NormalsWorkletPass1::operator() ( const vtkm::IdComponent numCells,
const FromIndexType &  cellIds,
vtkm::Id  pointId,
const CellSetInType &  geometry,
const WholeCoordinatesIn &  pointCoordinates,
const WholeFieldIn &  inputField,
NormalType &  normal 
) const
inline

◆ operator()() [2/2]

template<typename FromIndexType , typename WholeCoordinatesIn , typename WholeFieldIn , typename NormalType >
VTKM_EXEC void vtkm::worklet::marching_cells::NormalsWorkletPass1::operator() ( const vtkm::IdComponent vtkmNotUsednumCells,
const FromIndexType &  vtkmNotUsedcellIds,
vtkm::Id  pointId,
vtkm::exec::ConnectivityStructured< Cell, Point, 3 > &  geometry,
const WholeCoordinatesIn &  pointCoordinates,
const WholeFieldIn &  inputField,
NormalType &  normal 
) const
inline

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