BioCMAMC-ST
Simulation::KernelInline Namespace Reference

Classes

struct  CycleFunctor
class  CycleReducer
struct  CycleReduceType
struct  Functors
struct  MoveFunctor
struct  MoveInfo
struct  TagFirstPass
struct  TagSecondPass

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)
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
static constexpr bool _use_kokkos_log = 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:

◆ 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

◆ _use_kokkos_log

bool Simulation::KernelInline::_use_kokkos_log = true
staticconstexpr

◆ 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