BioCMAMC-ST
Simulation::KernelInline Namespace Reference

Classes

struct  CycleFunctor
 
struct  MoveFunctor
 
struct  MoveInfo
 

Functions

KOKKOS_INLINE_FUNCTION std::size_t __find_next_compartment (const ConstNeighborsView< ComputeSpace > &neighbors, const CumulativeProbabilityView< ComputeSpace > &cumulative_probability, const std::size_t i_compartment, const double random_number)
 
template<bool use_kokkos_log>
KOKKOS_INLINE_FUNCTION std::enable_if<!use_kokkos_log, float >::type _ln (float x)
 
template<bool use_kokkos_log>
KOKKOS_INLINE_FUNCTION std::enable_if< use_kokkos_log, float >::type _ln (float x)
 
KOKKOS_INLINE_FUNCTION bool probability_leaving (float random_number, double volume, double flow, double dt)
 

Variables

constexpr bool enable_leave =true
 
constexpr bool disable_leave =false
 
constexpr bool disable_move =false
 
constexpr bool enable_move =true
 

Function Documentation

◆ __find_next_compartment()

KOKKOS_INLINE_FUNCTION std::size_t Simulation::KernelInline::__find_next_compartment ( const ConstNeighborsView< ComputeSpace > & neighbors,
const CumulativeProbabilityView< ComputeSpace > & cumulative_probability,
const std::size_t i_compartment,
const double random_number )
Here is the caller graph for this function:

◆ _ln() [1/2]

template<bool use_kokkos_log>
KOKKOS_INLINE_FUNCTION std::enable_if<!use_kokkos_log, float >::type Simulation::KernelInline::_ln ( float x)
Here is the caller graph for this function:

◆ _ln() [2/2]

template<bool use_kokkos_log>
KOKKOS_INLINE_FUNCTION std::enable_if< use_kokkos_log, float >::type Simulation::KernelInline::_ln ( float x)

◆ probability_leaving()

KOKKOS_INLINE_FUNCTION bool Simulation::KernelInline::probability_leaving ( float random_number,
double volume,
double flow,
double dt )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ disable_leave

bool Simulation::KernelInline::disable_leave =false
constexpr

◆ disable_move

bool Simulation::KernelInline::disable_move =false
constexpr

◆ enable_leave

bool Simulation::KernelInline::enable_leave =true
constexpr

◆ enable_move

bool Simulation::KernelInline::enable_move =true
constexpr