#include <two_meta_nb.hpp>
|
| enum class | particle_var : int {
age = INDEX_FROM_ENUM(Uptakeparticle_var::COUNT)
, length
, nu1
, nu2
,
l_cp
, nu_eff_1
, nu_eff_2
, phi_pts
,
contrib_phi_s
, contrib_phi_o2
, contrib_phi_ac
, COUNT
} |
| using | uniform_weight = std::true_type |
| using | Self = TwoMetaNb |
| using | FloatType = float |
| using | Config = std::nullopt_t |
| using | SelfParticle = MC::ParticlesModel<Self::n_var, Self::FloatType> |
|
| static MC::ContribIndexBounds | get_bounds () |
| static KOKKOS_INLINE_FUNCTION double | mass (std::size_t idx, const SelfParticle &arr) |
| static std::vector< std::string_view > | names () |
| static std::vector< std::size_t > | get_number () |
| static KOKKOS_INLINE_FUNCTION void | preinit () |
| static KOKKOS_INLINE_FUNCTION void | init (const MC::pool_type &random_pool, std::size_t idx, const SelfParticle &arr) |
| static KOKKOS_INLINE_FUNCTION MC::Status | update (const MC::pool_type &random_pool, FloatType d_t, std::size_t idx, const SelfParticle &arr, const MC::LocalConcentration &c) |
| static KOKKOS_INLINE_FUNCTION void | division (const MC::pool_type &random_pool, std::size_t idx, std::size_t idx2, const SelfParticle &arr, const SelfParticle &buffer_arr) |
| static KOKKOS_INLINE_FUNCTION void | contribution (std::size_t idx, std::size_t position, double weight, const SelfParticle &arr, const MC::ContributionView &contributions) |
◆ Config
◆ FloatType
◆ Self
◆ SelfParticle
◆ uniform_weight
◆ particle_var
| Enumerator |
|---|
| age | |
| length | |
| nu1 | |
| nu2 | |
| l_cp | |
| nu_eff_1 | |
| nu_eff_2 | |
| phi_pts | |
| contrib_phi_s | |
| contrib_phi_o2 | |
| contrib_phi_ac | |
| COUNT | |
◆ contribution()
| KOKKOS_INLINE_FUNCTION void Models::TwoMetaNb::contribution |
( |
std::size_t | idx, |
|
|
std::size_t | position, |
|
|
double | weight, |
|
|
const SelfParticle & | arr, |
|
|
const MC::ContributionView & | contributions ) |
|
static |
◆ division()
| KOKKOS_INLINE_FUNCTION void Models::TwoMetaNb::division |
( |
const MC::pool_type & | random_pool, |
|
|
std::size_t | idx, |
|
|
std::size_t | idx2, |
|
|
const SelfParticle & | arr, |
|
|
const SelfParticle & | buffer_arr ) |
|
static |
◆ get_bounds()
◆ get_number()
| std::vector< std::size_t > Models::TwoMetaNb::get_number |
( |
| ) |
|
|
inlinestatic |
◆ init()
| KOKKOS_INLINE_FUNCTION void Models::TwoMetaNb::init |
( |
const MC::pool_type & | random_pool, |
|
|
std::size_t | idx, |
|
|
const SelfParticle & | arr ) |
|
static |
◆ mass()
| KOKKOS_INLINE_FUNCTION double Models::TwoMetaNb::mass |
( |
std::size_t | idx, |
|
|
const SelfParticle & | arr ) |
|
inlinestatic |
◆ names()
| std::vector< std::string_view > Models::TwoMetaNb::names |
( |
| ) |
|
|
inlinestatic |
◆ preinit()
| KOKKOS_INLINE_FUNCTION void Models::TwoMetaNb::preinit |
( |
| ) |
|
|
inlinestatic |
◆ update()
◆ adder_dist
| MODEL_CONSTANT auto Models::TwoMetaNb::adder_dist |
Initial value:=
Represents a TruncatedNormal (Gaussian) probability distribution.
Definition prng_extension.hpp:338
◆ adder_mean
| MODEL_CONSTANT FloatType Models::TwoMetaNb::adder_mean = 1.5e-6 |
◆ beta
| MODEL_CONSTANT FloatType Models::TwoMetaNb::beta = 7 |
◆ d_m
| MODEL_CONSTANT FloatType Models::TwoMetaNb::d_m = 0.3e-6 |
◆ dl_max_ms
| MODEL_CONSTANT FloatType Models::TwoMetaNb::dl_max_ms |
| MODEL_CONSTANT FloatType Models::TwoMetaNb::k = 1e-2 |
◆ k_o
| MODEL_CONSTANT FloatType Models::TwoMetaNb::k_o |
◆ k_perm
| MODEL_CONSTANT FloatType Models::TwoMetaNb::k_perm = 1e-3 |
◆ l_c_m
| MODEL_CONSTANT FloatType Models::TwoMetaNb::l_c_m = 3e-6 |
◆ l_max_m
| MODEL_CONSTANT FloatType Models::TwoMetaNb::l_max_m = 5e-6 |
◆ l_min_m
| MODEL_CONSTANT FloatType Models::TwoMetaNb::l_min_m = 0.9e-6 |
◆ length_c_dist
| MODEL_CONSTANT auto Models::TwoMetaNb::length_c_dist |
◆ lin_density
| MODEL_CONSTANT FloatType Models::TwoMetaNb::lin_density |
Initial value:=
KOKKOS_INLINE_FUNCTION consteval F c_linear_density(F rho, F d)
Definition utils.hpp:47
MODEL_CONSTANT FloatType d_m
Definition fixed_length.hpp:50
float FloatType
Definition fixed_length.hpp:30
◆ MolarMassG
| MODEL_CONSTANT FloatType Models::TwoMetaNb::MolarMassG |
Initial value:=
constexpr T glucose
Definition utils.hpp:28
◆ MolarMassO2
| MODEL_CONSTANT FloatType Models::TwoMetaNb::MolarMassO2 |
Initial value:=
constexpr T dioxygen
Definition utils.hpp:29
◆ n_var
◆ name
| std::string_view Models::TwoMetaNb::name = "two_mode_nb" |
|
staticconstexpr |
◆ nu_max_kg_s
◆ phi_max
◆ phi_o2_max
| MODEL_CONSTANT FloatType Models::TwoMetaNb::phi_o2_max |
◆ tau_1
| MODEL_CONSTANT FloatType Models::TwoMetaNb::tau_1 = 1000. |
◆ tau_2
| MODEL_CONSTANT FloatType Models::TwoMetaNb::tau_2 = 1000. |
◆ tau_ap_1
| MODEL_CONSTANT FloatType Models::TwoMetaNb::tau_ap_1 = 300 |
◆ tau_ap_2
| MODEL_CONSTANT FloatType Models::TwoMetaNb::tau_ap_2 = 200 |
◆ tau_ap_3
| MODEL_CONSTANT FloatType Models::TwoMetaNb::tau_ap_3 = 1000 |
◆ y_os_molar
| MODEL_CONSTANT FloatType Models::TwoMetaNb::y_os_molar = 3 |
◆ y_sa
| MODEL_CONSTANT FloatType Models::TwoMetaNb::y_sa = 0.8 |
◆ y_sx_1
| MODEL_CONSTANT FloatType Models::TwoMetaNb::y_sx_1 |
◆ y_sx_2
The documentation for this struct was generated from the following file: