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

#include <ComputePotentialNxN.h>

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

Public Types

using TagType = vtkm::List< T >
 
using ControlSignature = void(FieldIn partId, WholeArrayIn xLoc, WholeArrayIn yLoc, WholeArrayIn zLoc, FieldOut potential)
 
using ExecutionSignature = _5(_1, _2, _3, _4)
 
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 ComputePotentialNxN (vtkm::Id N, T Mass)
 
template<typename InFieldPortalType >
VTKM_EXECoperator() (const vtkm::Id &i, const InFieldPortalType &xLoc, const InFieldPortalType &yLoc, const InFieldPortalType &zLoc) const
 

Public Attributes

vtkm::Id nParticles
 
mass
 

Member Typedef Documentation

◆ ControlSignature

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

◆ ExecutionSignature

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

◆ InputDomain

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

◆ TagType

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

Constructor & Destructor Documentation

◆ ComputePotentialNxN()

template<typename T >
VTKM_EXEC_CONT vtkm::worklet::cosmotools::ComputePotentialNxN< T >::ComputePotentialNxN ( vtkm::Id  N,
Mass 
)
inline

Member Function Documentation

◆ operator()()

template<typename T >
template<typename InFieldPortalType >
VTKM_EXEC T vtkm::worklet::cosmotools::ComputePotentialNxN< T >::operator() ( const vtkm::Id i,
const InFieldPortalType &  xLoc,
const InFieldPortalType &  yLoc,
const InFieldPortalType &  zLoc 
) const
inline

Member Data Documentation

◆ mass

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

◆ nParticles

template<typename T >
vtkm::Id vtkm::worklet::cosmotools::ComputePotentialNxN< T >::nParticles

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