VTK-m  2.0
Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::worklet::moments::ComputeMoments3D Struct Reference

#include <ComputeMoments.h>

Inheritance diagram for vtkm::worklet::moments::ComputeMoments3D:
vtkm::worklet::WorkletPointNeighborhood vtkm::worklet::WorkletNeighborhood vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(CellSetIn, FieldInNeighborhood, FieldOut)
 
using ExecutionSignature = void(_2, Boundary, _3)
 
- Public Types inherited from vtkm::worklet::WorkletPointNeighborhood
template<typename Worklet >
using Dispatcher = vtkm::worklet::DispatcherPointNeighborhood< Worklet >
 
template<bool Cond, typename ReturnType >
using EnableFnWhen = typename std::enable_if< Cond, ReturnType >::type
 
- Public Types inherited from vtkm::worklet::WorkletNeighborhood
using ScatterType = vtkm::worklet::ScatterIdentity
 All worklets must define their scatter operation. More...
 
using BoundaryType = vtkm::worklet::BoundaryClamp
 All neighborhood worklets must define their boundary type operation. More...
 

Public Member Functions

 ComputeMoments3D (const vtkm::Vec3f &_spacing, vtkm::Float64 _radius, int _p, int _q, int _r)
 
template<typename NeighIn , typename T >
VTKM_EXEC void operator() (const NeighIn &image, const vtkm::exec::BoundaryState &boundary, T &moment) const
 
- Public Member Functions inherited from vtkm::worklet::WorkletPointNeighborhood
template<typename OutToInArrayType , typename VisitArrayType , typename ThreadToOutArrayType , vtkm::IdComponent Dimension>
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC vtkm::exec::arg::ThreadIndicesPointNeighborhood GetThreadIndices (vtkm::Id threadIndex, const OutToInArrayType &outToIn, const VisitArrayType &visit, const ThreadToOutArrayType &threadToOut, const vtkm::exec::ConnectivityStructured< vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell, Dimension > &inputDomain) const
 Point neighborhood worklets use the related thread indices class. More...
 
template<typename OutToInArrayType , typename VisitArrayType , typename ThreadToOutArrayType , typename InputDomainType , bool S = IsScatterIdentity, bool M = IsMaskNone>
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC EnableFnWhen< S &&M, vtkm::exec::arg::ThreadIndicesPointNeighborhoodGetThreadIndices (vtkm::Id threadIndex1D, const vtkm::Id3 &threadIndex3D, const OutToInArrayType &vtkmNotUsed(outToIn), const VisitArrayType &vtkmNotUsed(visit), const ThreadToOutArrayType &vtkmNotUsed(threadToOut), const InputDomainType &connectivity) const
 
template<typename OutToInArrayType , typename VisitArrayType , typename ThreadToOutArrayType , typename InputDomainType , bool S = IsScatterIdentity, bool M = IsMaskNone>
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC EnableFnWhen<!(S &&M), vtkm::exec::arg::ThreadIndicesPointNeighborhoodGetThreadIndices (vtkm::Id threadIndex1D, const vtkm::Id3 &threadIndex3D, const OutToInArrayType &outToIn, const VisitArrayType &visit, const ThreadToOutArrayType &threadToOut, const InputDomainType &connectivity) const
 
- Public Member Functions inherited from vtkm::worklet::WorkletNeighborhood
VTKM_CONT BoundaryType GetBoundaryCondition () const
 In addition to defining the boundary type, the worklet must produce the boundary condition. More...
 

Private Attributes

vtkm::Vec3i_32 RadiusDiscrete
 
const vtkm::Float64 SpacingProduct
 
const int p
 
const int q
 
const int r
 

Member Typedef Documentation

◆ ControlSignature

◆ ExecutionSignature

Constructor & Destructor Documentation

◆ ComputeMoments3D()

vtkm::worklet::moments::ComputeMoments3D::ComputeMoments3D ( const vtkm::Vec3f _spacing,
vtkm::Float64  _radius,
int  _p,
int  _q,
int  _r 
)
inline

Member Function Documentation

◆ operator()()

template<typename NeighIn , typename T >
VTKM_EXEC void vtkm::worklet::moments::ComputeMoments3D::operator() ( const NeighIn &  image,
const vtkm::exec::BoundaryState boundary,
T &  moment 
) const
inline

Member Data Documentation

◆ p

const int vtkm::worklet::moments::ComputeMoments3D::p
private

◆ q

const int vtkm::worklet::moments::ComputeMoments3D::q
private

◆ r

const int vtkm::worklet::moments::ComputeMoments3D::r
private

◆ RadiusDiscrete

vtkm::Vec3i_32 vtkm::worklet::moments::ComputeMoments3D::RadiusDiscrete
private

◆ SpacingProduct

const vtkm::Float64 vtkm::worklet::moments::ComputeMoments3D::SpacingProduct
private

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