VTK-m  2.0
Public Types | Public Member Functions | Public Attributes | List of all members
vtkm::worklet::cosmotools::ComputePotential< T > Class Template Reference

#include <ComputePotential.h>

Inheritance diagram for vtkm::worklet::cosmotools::ComputePotential< T >:
vtkm::worklet::WorkletMapField vtkm::exec::FunctorBase

Public Types

using TagType = vtkm::List< T >
 
using ControlSignature = void(FieldIn index, WholeArrayIn partId, WholeArrayIn xLoc, WholeArrayIn yLoc, WholeArrayIn zLoc, WholeArrayIn firstParticleId, WholeArrayIn lastParticleId, FieldOut potential)
 
using ExecutionSignature = _8(_1, _2, _3, _4, _5, _6, _7)
 
using InputDomain = _1
 
- Public Types inherited from vtkm::worklet::WorkletMapField
template<typename Worklet >
using Dispatcher = vtkm::worklet::DispatcherMapField< Worklet >
 

Public Member Functions

VTKM_EXEC_CONT ComputePotential (T Mass)
 
template<typename InFieldPortalType , typename InIdPortalType , typename PermutePortalType >
VTKM_EXECoperator() (const vtkm::Id &i, const InIdPortalType &partId, const InFieldPortalType &xLoc, const InFieldPortalType &yLoc, const InFieldPortalType &zLoc, const InIdPortalType &firstParticleId, const PermutePortalType &lastParticleId) const
 

Public Attributes

mass
 

Member Typedef Documentation

◆ ControlSignature

template<typename T >
using vtkm::worklet::cosmotools::ComputePotential< T >::ControlSignature = void(FieldIn index, WholeArrayIn partId, WholeArrayIn xLoc, WholeArrayIn yLoc, WholeArrayIn zLoc, WholeArrayIn firstParticleId, WholeArrayIn lastParticleId, FieldOut potential)

◆ ExecutionSignature

template<typename T >
using vtkm::worklet::cosmotools::ComputePotential< T >::ExecutionSignature = _8(_1, _2, _3, _4, _5, _6, _7)

◆ InputDomain

template<typename T >
using vtkm::worklet::cosmotools::ComputePotential< T >::InputDomain = _1

◆ TagType

template<typename T >
using vtkm::worklet::cosmotools::ComputePotential< T >::TagType = vtkm::List<T>

Constructor & Destructor Documentation

◆ ComputePotential()

template<typename T >
VTKM_EXEC_CONT vtkm::worklet::cosmotools::ComputePotential< T >::ComputePotential ( Mass)
inline

Member Function Documentation

◆ operator()()

template<typename T >
template<typename InFieldPortalType , typename InIdPortalType , typename PermutePortalType >
VTKM_EXEC T vtkm::worklet::cosmotools::ComputePotential< T >::operator() ( const vtkm::Id i,
const InIdPortalType &  partId,
const InFieldPortalType &  xLoc,
const InFieldPortalType &  yLoc,
const InFieldPortalType &  zLoc,
const InIdPortalType &  firstParticleId,
const PermutePortalType &  lastParticleId 
) const
inline

Member Data Documentation

◆ mass

template<typename T >
T vtkm::worklet::cosmotools::ComputePotential< T >::mass

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