BioCMAMC-ST
Models Namespace Reference

Models definition. More...

Namespaces

namespace  GammaDivision
namespace  MolarMass

Classes

struct  FixedLength
struct  SimpleModel
struct  TwoMeta
struct  TwoMetaNb
struct  UdfModel
struct  Uptake
struct  UptakeDefault

Concepts

concept  UptakeModel

Functions

template<typename Model>
requires (std::is_constructible_v<AutoGenerated::ContainerVariant, MC::ParticlesContainer<Model>> && ConfigurableModel<Model>)
Model::Config get_model_configuration (std::size_t n)
template<typename Model>
requires (std::is_constructible_v<AutoGenerated::ContainerVariant, MC::ParticlesContainer<Model>> && NonConfigurableModel<Model>)
Model::Config get_model_configuration (std::size_t n)
template<FloatingPointType F>
static F consteval _get_phi_s_max (F density, F dl, F glucose_to_biomass_yield=0.5)
template<FloatingPointType F>
static F consteval get_phi_s_max (F density, F dl)
template<FloatingPointType F>
KOKKOS_INLINE_FUNCTION constexpr F f_saturation (const F x, const F k) noexcept
template<FloatingPointType T>
KOKKOS_INLINE_FUNCTION MC::Status check_div (const T l, const T lc)
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.

Function Documentation

◆ _get_phi_s_max()

template<FloatingPointType F>
F consteval Models::_get_phi_s_max ( F density,
F dl,
F glucose_to_biomass_yield = 0.5 )
staticconsteval

◆ 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_div()

template<FloatingPointType T>
KOKKOS_INLINE_FUNCTION MC::Status Models::check_div ( const T l,
const T lc )
Here is the caller graph for this function:

◆ check_probability_division()

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

◆ f_saturation()

template<FloatingPointType F>
KOKKOS_INLINE_FUNCTION constexpr F Models::f_saturation ( const F x,
const F k )
constexprnoexcept
Here is the caller graph for this function:

◆ get_model_configuration() [1/2]

template<typename Model>
requires (std::is_constructible_v<AutoGenerated::ContainerVariant, MC::ParticlesContainer<Model>> && ConfigurableModel<Model>)
Model::Config Models::get_model_configuration ( std::size_t n)

◆ get_model_configuration() [2/2]

template<typename Model>
requires (std::is_constructible_v<AutoGenerated::ContainerVariant, MC::ParticlesContainer<Model>> && NonConfigurableModel<Model>)
Model::Config Models::get_model_configuration ( std::size_t n)

◆ get_phi_s_max()

template<FloatingPointType F>
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