#include <two_meta.hpp>
|
| enum class | particle_var : int {
age = INDEX_FROM_ENUM(Uptakeparticle_var::COUNT)
, length
, nu1
, nu2
,
l_cp
, nu_eff_1
, nu_eff_2
, contrib_phi_s
,
contrib_phi_o2
, contrib_phi_ac
, COUNT
} |
| using | uniform_weight = std::true_type |
| using | Self = TwoMeta |
| using | FloatType = float |
| using | Config = std::nullopt_t |
| using | SelfParticle = MC::ParticlesModel<Self::n_var, Self::FloatType> |
|
| static KOKKOS_INLINE_FUNCTION void | init (const MC::KPRNG::pool_type &random_pool, std::size_t idx, const SelfParticle &arr) |
| static KOKKOS_INLINE_FUNCTION MC::Status | update (const MC::KPRNG::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::KPRNG::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) |
| 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 () |
◆ Config
◆ FloatType
◆ Self
◆ SelfParticle
◆ uniform_weight
◆ particle_var
| Enumerator |
|---|
| age | |
| length | |
| nu1 | |
| nu2 | |
| l_cp | |
| nu_eff_1 | |
| nu_eff_2 | |
| contrib_phi_s | |
| contrib_phi_o2 | |
| contrib_phi_ac | |
| COUNT | |
◆ contribution()
| KOKKOS_INLINE_FUNCTION void Models::TwoMeta::contribution |
( |
std::size_t | idx, |
|
|
std::size_t | position, |
|
|
double | weight, |
|
|
const SelfParticle & | arr, |
|
|
const MC::ContributionView & | contributions ) |
|
static |
◆ division()
◆ get_number()
| std::vector< std::size_t > Models::TwoMeta::get_number |
( |
| ) |
|
|
inlinestatic |
◆ init()
◆ mass()
| KOKKOS_INLINE_FUNCTION double Models::TwoMeta::mass |
( |
std::size_t | idx, |
|
|
const SelfParticle & | arr ) |
|
inlinestatic |
◆ names()
| std::vector< std::string_view > Models::TwoMeta::names |
( |
| ) |
|
|
inlinestatic |
◆ update()
◆ adder_dist
| MODEL_CONSTANT auto Models::TwoMeta::adder_dist |
Initial value:=
Represents a TruncatedNormal (Gaussian) probability distribution.
Definition prng_extension.hpp:277
◆ d_m
| MODEL_CONSTANT FloatType Models::TwoMeta::d_m = 0.5e-6 |
◆ dl_max_ms
| MODEL_CONSTANT FloatType Models::TwoMeta::dl_max_ms |
◆ k_o
| MODEL_CONSTANT FloatType Models::TwoMeta::k_o |
◆ l_c_m
| MODEL_CONSTANT FloatType Models::TwoMeta::l_c_m = 3e-6 |
◆ l_max_m
| MODEL_CONSTANT FloatType Models::TwoMeta::l_max_m = 5e-6 |
◆ l_min_m
| MODEL_CONSTANT FloatType Models::TwoMeta::l_min_m = 0.9e-6 |
◆ lin_density
| MODEL_CONSTANT FloatType Models::TwoMeta::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::TwoMeta::MolarMassG |
Initial value:=
constexpr T glucose
Definition utils.hpp:28
◆ MolarMassO2
| MODEL_CONSTANT FloatType Models::TwoMeta::MolarMassO2 |
Initial value:=
constexpr T dioxygen
Definition utils.hpp:29
◆ n_var
◆ name
| std::string_view Models::TwoMeta::name = "simple" |
|
staticconstexpr |
◆ nu_max_kg_s
◆ phi_o2_max
| MODEL_CONSTANT FloatType Models::TwoMeta::phi_o2_max |
◆ phi_perm_max
◆ phi_s_max
| MODEL_CONSTANT FloatType Models::TwoMeta::phi_s_max |
Initial value:=
MODEL_CONSTANT FloatType lin_density
Definition fixed_length.hpp:51
◆ tau_1
| MODEL_CONSTANT FloatType Models::TwoMeta::tau_1 = 1000. |
◆ tau_2
| MODEL_CONSTANT FloatType Models::TwoMeta::tau_2 = 1000. |
◆ y_os_molar
| MODEL_CONSTANT FloatType Models::TwoMeta::y_os_molar = 3 |
◆ y_sa
| MODEL_CONSTANT FloatType Models::TwoMeta::y_sa = 0.8 |
◆ y_sx_1
| MODEL_CONSTANT FloatType Models::TwoMeta::y_sx_1 |
◆ y_sx_2
The documentation for this struct was generated from the following file: