Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
hydra::detail::ProcessCallsVegas< FUNCTOR, NDimensions, Precision, GRND > Struct Template Reference

#include <PredicatesVegas.h>

Collaboration diagram for hydra::detail::ProcessCallsVegas< FUNCTOR, NDimensions, Precision, GRND >:

Public Member Functions

 ProcessCallsVegas (size_t NBins, size_t NBoxes, size_t NBoxesPerDimension, size_t NCallsPerBox, size_t Seed, GReal_t Jacobian, GReal_t *Xi, GReal_t *XLow, GReal_t *DeltaX, GReal_t *fval, GInt_t *bins[N], FUNCTOR const &functor)
 
__hydra_host__ __hydra_device__ ProcessCallsVegas (ProcessCallsVegas< FUNCTOR, NDimensions, Precision, GRND > const &other)
 
__hydra_host__ __hydra_device__ ~ProcessCallsVegas ()
 
__hydra_host__ __hydra_device__ GInt_t GetBoxCoordinate (GInt_t idx, GInt_t dim, GInt_t nboxes, GInt_t j)
 
__hydra_host__ __hydra_device__ void GetPointRandom (size_t index, GReal_t &volume, GReal_t(&point)[NDimensions], GUInt_t bin[NDimensions])
 
__hydra_host__ __hydra_device__ size_t hash (size_t a, size_t b)
 
__hydra_host__ __hydra_device__ void operator() (size_t index)
 

Detailed Description

template<typename FUNCTOR, size_t NDimensions, typename Precision, typename GRND = hydra::thrust::random::default_random_engine>
struct hydra::detail::ProcessCallsVegas< FUNCTOR, NDimensions, Precision, GRND >

Constructor & Destructor Documentation

◆ ProcessCallsVegas() [1/2]

template<typename FUNCTOR , size_t NDimensions, typename Precision , typename GRND = hydra::thrust::random::default_random_engine>
hydra::detail::ProcessCallsVegas< FUNCTOR, NDimensions, Precision, GRND >::ProcessCallsVegas ( size_t  NBins,
size_t  NBoxes,
size_t  NBoxesPerDimension,
size_t  NCallsPerBox,
size_t  Seed,
GReal_t  Jacobian,
GReal_t Xi,
GReal_t XLow,
GReal_t DeltaX,
GReal_t fval,
GInt_t bins[N],
FUNCTOR const &  functor 
)
inline

◆ ProcessCallsVegas() [2/2]

template<typename FUNCTOR , size_t NDimensions, typename Precision , typename GRND = hydra::thrust::random::default_random_engine>
__hydra_host__ __hydra_device__ hydra::detail::ProcessCallsVegas< FUNCTOR, NDimensions, Precision, GRND >::ProcessCallsVegas ( ProcessCallsVegas< FUNCTOR, NDimensions, Precision, GRND > const &  other)
inline

◆ ~ProcessCallsVegas()

template<typename FUNCTOR , size_t NDimensions, typename Precision , typename GRND = hydra::thrust::random::default_random_engine>
__hydra_host__ __hydra_device__ hydra::detail::ProcessCallsVegas< FUNCTOR, NDimensions, Precision, GRND >::~ProcessCallsVegas ( )
inline

Member Function Documentation

◆ GetBoxCoordinate()

template<typename FUNCTOR , size_t NDimensions, typename Precision , typename GRND = hydra::thrust::random::default_random_engine>
__hydra_host__ __hydra_device__ GInt_t hydra::detail::ProcessCallsVegas< FUNCTOR, NDimensions, Precision, GRND >::GetBoxCoordinate ( GInt_t  idx,
GInt_t  dim,
GInt_t  nboxes,
GInt_t  j 
)
inline

◆ GetPointRandom()

template<typename FUNCTOR , size_t NDimensions, typename Precision , typename GRND = hydra::thrust::random::default_random_engine>
__hydra_host__ __hydra_device__ void hydra::detail::ProcessCallsVegas< FUNCTOR, NDimensions, Precision, GRND >::GetPointRandom ( size_t  index,
GReal_t volume,
GReal_t(&)  point[NDimensions],
GUInt_t  bin[NDimensions] 
)
inline

◆ hash()

template<typename FUNCTOR , size_t NDimensions, typename Precision , typename GRND = hydra::thrust::random::default_random_engine>
__hydra_host__ __hydra_device__ size_t hydra::detail::ProcessCallsVegas< FUNCTOR, NDimensions, Precision, GRND >::hash ( size_t  a,
size_t  b 
)
inline

◆ operator()()

template<typename FUNCTOR , size_t NDimensions, typename Precision , typename GRND = hydra::thrust::random::default_random_engine>
__hydra_host__ __hydra_device__ void hydra::detail::ProcessCallsVegas< FUNCTOR, NDimensions, Precision, GRND >::operator() ( size_t  index)
inline

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