BioCMAMC-ST
Simulation::KernelInline::MoveFunctor< enable_leave, enable_move > Struct Template Reference

#include <move_kernel.hpp>

Collaboration diagram for Simulation::KernelInline::MoveFunctor< enable_leave, enable_move >:
[legend]

Public Member Functions

 MoveFunctor (double _d_t, MC::ParticlePositions p, MC::ParticleStatus _status, std::size_t n_p, MoveInfo< ComputeSpace > m, MC::KPRNG::pool_type _random_pool, MC::EventContainer _events)
 
KOKKOS_INLINE_FUNCTION void operator() (const Kokkos::TeamPolicy< ComputeSpace >::member_type &team_handle, std::size_t &dead_count) const
 
KOKKOS_FUNCTION void handle_move (const std::size_t idx) const
 
KOKKOS_FUNCTION void handle_exit (std::size_t idx, std::size_t &dead_count) const
 

Public Attributes

double d_t
 
MC::ParticlePositions positions
 
std::size_t n_particles
 
MoveInfo< ComputeSpace > move
 
MC::KPRNG::pool_type random_pool
 
MC::ParticleStatus status
 
MC::EventContainer events
 

Constructor & Destructor Documentation

◆ MoveFunctor()

template<bool enable_leave, bool enable_move>
Simulation::KernelInline::MoveFunctor< enable_leave, enable_move >::MoveFunctor ( double _d_t,
MC::ParticlePositions p,
MC::ParticleStatus _status,
std::size_t n_p,
MoveInfo< ComputeSpace > m,
MC::KPRNG::pool_type _random_pool,
MC::EventContainer _events )
inline

Member Function Documentation

◆ handle_exit()

template<bool enable_leave, bool enable_move>
KOKKOS_FUNCTION void Simulation::KernelInline::MoveFunctor< enable_leave, enable_move >::handle_exit ( std::size_t idx,
std::size_t & dead_count ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handle_move()

template<bool enable_leave, bool enable_move>
KOKKOS_FUNCTION void Simulation::KernelInline::MoveFunctor< enable_leave, enable_move >::handle_move ( const std::size_t idx) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator()()

template<bool enable_leave, bool enable_move>
KOKKOS_INLINE_FUNCTION void Simulation::KernelInline::MoveFunctor< enable_leave, enable_move >::operator() ( const Kokkos::TeamPolicy< ComputeSpace >::member_type & team_handle,
std::size_t & dead_count ) const
inline
Here is the call graph for this function:

Member Data Documentation

◆ d_t

template<bool enable_leave, bool enable_move>
double Simulation::KernelInline::MoveFunctor< enable_leave, enable_move >::d_t

◆ events

template<bool enable_leave, bool enable_move>
MC::EventContainer Simulation::KernelInline::MoveFunctor< enable_leave, enable_move >::events

◆ move

template<bool enable_leave, bool enable_move>
MoveInfo<ComputeSpace> Simulation::KernelInline::MoveFunctor< enable_leave, enable_move >::move

◆ n_particles

template<bool enable_leave, bool enable_move>
std::size_t Simulation::KernelInline::MoveFunctor< enable_leave, enable_move >::n_particles

◆ positions

template<bool enable_leave, bool enable_move>
MC::ParticlePositions Simulation::KernelInline::MoveFunctor< enable_leave, enable_move >::positions

◆ random_pool

template<bool enable_leave, bool enable_move>
MC::KPRNG::pool_type Simulation::KernelInline::MoveFunctor< enable_leave, enable_move >::random_pool

◆ status

template<bool enable_leave, bool enable_move>
MC::ParticleStatus Simulation::KernelInline::MoveFunctor< enable_leave, enable_move >::status

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