BioCMAMC-ST
Models Namespace Reference

Models definition. More...

Namespaces

namespace  GammaDivision
namespace  MolarMass
namespace  Stoichiometry
 Compile time elemental closure of the reactions of Models::Acetate.

Classes

struct  Acetate
 Acetate model with explicit oxygen limitation. More...
struct  FixedLength
struct  Monod
 Simplified Monod model for glucose consumption and biomass growth. More...
struct  SimpleAcetate
struct  SimpleModel
 Rod-shaped cell growing on glucose, dividing on a timer. More...
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 (const ExecInfo &info, std::size_t n)
template<typename Model>
requires (std::is_constructible_v<AutoGenerated::ContainerVariant, MC::ParticlesContainer<Model>> && NonConfigurableModel<Model>)
Model::Config get_model_configuration (const ExecInfo &info, std::size_t n)
template<FloatingPointType F>
KOKKOS_INLINE_FUNCTION constexpr F f_saturation (const F x, const F k) noexcept
template<typename T>
KOKKOS_INLINE_FUNCTION T get_clamped_concentration_cast (const MC::LocalConcentration &c, const std::size_t position_index, const std::size_t species_index)
template<FloatingPointType F>
static F constexpr _get_phi_s_max (F density, F dl, F glucose_to_biomass_yield=0.5)
template<FloatingPointType T>
KOKKOS_INLINE_FUNCTION Kokkos::pair< T, T > g_partition (T a, T p)
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::pool_type random_pool)
KOKKOS_INLINE_FUNCTION bool almost_equal (double val, double val2, double tolerance=1e-8)
KOKKOS_INLINE_FUNCTION constexpr bool almost_zero (double x, double tol=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 constexpr Models::_get_phi_s_max ( F density,
F dl,
F glucose_to_biomass_yield = 0.5 )
staticconstexpr

◆ almost_equal()

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

◆ almost_zero()

KOKKOS_INLINE_FUNCTION constexpr bool Models::almost_zero ( double x,
double tol = 1e-8 )
constexpr

◆ 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::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:

◆ g_partition()

template<FloatingPointType T>
KOKKOS_INLINE_FUNCTION Kokkos::pair< T, T > Models::g_partition ( T a,
T p )

◆ get_clamped_concentration_cast()

template<typename T>
KOKKOS_INLINE_FUNCTION T Models::get_clamped_concentration_cast ( const MC::LocalConcentration & c,
const std::size_t position_index,
const std::size_t species_index )

◆ 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 ( const ExecInfo & info,
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 ( const ExecInfo & info,
std::size_t n )

◆ 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