BioCMAMC-ST
Models Namespace Reference

Models definition. More...

Namespaces

namespace  GammaDivision
 
namespace  MolarMass
 

Classes

struct  SimpleModel
 
struct  TwoMeta
 
struct  UdfModel
 
struct  Uptake
 

Enumerations

enum  Uptakeparticle_var : int { a_pts = 0 , a_permease , n_permease , COUNT }
 

Functions

template<FloatingPointType F>
static F consteval get_phi_s_max (F density, F dl)
 
template<FloatingPointType F>
consteval F freq (F tau)
 
template<FloatingPointType F>
KOKKOS_INLINE_FUNCTION consteval F c_linear_density (F rho, F d)
 
KOKKOS_INLINE_FUNCTION bool check_probability_division (double d_t, double gamma, MC::KPRNG::pool_type random_pool)
 
KOKKOS_INLINE_FUNCTION bool almost_equal (double val, double val2, double tolerance=1e-8)
 
template<typename... Args>
KOKKOS_INLINE_FUNCTION double min_var (Args... args)
 
template<>
KOKKOS_INLINE_FUNCTION double min_var ()
 

Variables

static constexpr double tau_division_proba = 1e-7
 

Detailed Description

Models definition.

Enumeration Type Documentation

◆ Uptakeparticle_var

Enumerator
a_pts 
a_permease 
n_permease 
COUNT 

Function Documentation

◆ almost_equal()

KOKKOS_INLINE_FUNCTION bool Models::almost_equal ( double val,
double val2,
double tolerance = 1e-8 )

◆ c_linear_density()

template<FloatingPointType F>
KOKKOS_INLINE_FUNCTION consteval F Models::c_linear_density ( F rho,
F d )
consteval

◆ check_probability_division()

KOKKOS_INLINE_FUNCTION bool Models::check_probability_division ( double d_t,
double gamma,
MC::KPRNG::pool_type random_pool )

◆ freq()

template<FloatingPointType F>
F Models::freq ( F tau)
consteval
Here is the caller graph for this function:

◆ get_phi_s_max()

template<FloatingPointType F>
static F consteval Models::get_phi_s_max ( F density,
F dl )
staticconsteval

◆ min_var() [1/2]

template<>
KOKKOS_INLINE_FUNCTION double Models::min_var ( )

◆ min_var() [2/2]

template<typename... Args>
KOKKOS_INLINE_FUNCTION double Models::min_var ( Args... args)

Variable Documentation

◆ tau_division_proba

double Models::tau_division_proba = 1e-7
staticconstexpr