VTK-m  2.0
Public Types | Public Member Functions | List of all members
vtkm::worklet::gradient::StructuredPointGradient Struct Reference

#include <StructuredPointGradient.h>

Inheritance diagram for vtkm::worklet::gradient::StructuredPointGradient:
vtkm::worklet::WorkletPointNeighborhood vtkm::worklet::WorkletNeighborhood vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(CellSetIn, FieldInNeighborhood points, FieldInNeighborhood, GradientOutputs outputFields)
 
using ExecutionSignature = void(Boundary, _2, _3, _4)
 
using InputDomain = _1
 
- 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

template<typename PointsIn , typename FieldIn , typename GradientOutType >
VTKM_EXEC void operator() (const vtkm::exec::BoundaryState &boundary, const PointsIn &inputPoints, const FieldIn &inputField, GradientOutType &outputGradient) const
 
template<typename FieldIn , typename GradientOutType >
VTKM_EXEC void operator() (const vtkm::exec::BoundaryState &boundary, const vtkm::exec::FieldNeighborhood< vtkm::internal::ArrayPortalUniformPointCoordinates > &inputPoints, const FieldIn &inputField, GradientOutType &outputGradient) const
 
template<typename PointsIn , typename CT >
VTKM_EXEC void Jacobian (const PointsIn &inputPoints, const vtkm::Vec< bool, 3 > &onBoundary, vtkm::Vec< CT, 3 > &m_xi, vtkm::Vec< CT, 3 > &m_eta, vtkm::Vec< CT, 3 > &m_zeta) 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...
 

Member Typedef Documentation

◆ ControlSignature

◆ ExecutionSignature

◆ InputDomain

Member Function Documentation

◆ Jacobian()

template<typename PointsIn , typename CT >
VTKM_EXEC void vtkm::worklet::gradient::StructuredPointGradient::Jacobian ( const PointsIn &  inputPoints,
const vtkm::Vec< bool, 3 > &  onBoundary,
vtkm::Vec< CT, 3 > &  m_xi,
vtkm::Vec< CT, 3 > &  m_eta,
vtkm::Vec< CT, 3 > &  m_zeta 
) const
inline

◆ operator()() [1/2]

template<typename PointsIn , typename FieldIn , typename GradientOutType >
VTKM_EXEC void vtkm::worklet::gradient::StructuredPointGradient::operator() ( const vtkm::exec::BoundaryState boundary,
const PointsIn &  inputPoints,
const FieldIn inputField,
GradientOutType &  outputGradient 
) const
inline

◆ operator()() [2/2]

template<typename FieldIn , typename GradientOutType >
VTKM_EXEC void vtkm::worklet::gradient::StructuredPointGradient::operator() ( const vtkm::exec::BoundaryState boundary,
const vtkm::exec::FieldNeighborhood< vtkm::internal::ArrayPortalUniformPointCoordinates > &  inputPoints,
const FieldIn inputField,
GradientOutType &  outputGradient 
) const
inline

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