#include <fixed_length.hpp>
|
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 |
---|
length | |
l_max | |
phi_s | |
COUNT | |
◆ contribution()
KOKKOS_INLINE_FUNCTION void Models::FixedLength::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::FixedLength::get_number |
( |
| ) |
|
|
inlinestatic |
◆ init()
◆ mass()
KOKKOS_INLINE_FUNCTION double Models::FixedLength::mass |
( |
std::size_t | idx, |
|
|
const SelfParticle & | arr ) |
|
inlinestatic |
◆ names()
std::vector< std::string_view > Models::FixedLength::names |
( |
| ) |
|
|
inlinestatic |
◆ update()
◆ d_m
MODEL_CONSTANT FloatType Models::FixedLength::d_m = 0.6e-6 |
MODEL_CONSTANT FloatType Models::FixedLength::k = 1e-3 |
◆ l_dot_max
MODEL_CONSTANT FloatType Models::FixedLength::l_dot_max = 2e-6 / 3600. |
◆ l_max_m
MODEL_CONSTANT FloatType Models::FixedLength::l_max_m = 2e-6 |
◆ l_min_m
◆ lin_density
MODEL_CONSTANT FloatType Models::FixedLength::lin_density |
Initial value:=
KOKKOS_INLINE_FUNCTION consteval F c_linear_density(F rho, F d)
Definition utils.hpp:40
MODEL_CONSTANT FloatType d_m
Definition fixed_length.hpp:46
float FloatType
Definition fixed_length.hpp:27
◆ n_var
◆ name
std::string_view Models::FixedLength::name = "fixed-length" |
|
staticconstexpr |
◆ phi_s_max
MODEL_CONSTANT FloatType Models::FixedLength::phi_s_max |
Initial value:=
static F consteval _get_phi_s_max(F density, F dl, F glucose_to_biomass_yield=0.5)
Definition fixed_length.hpp:16
MODEL_CONSTANT FloatType l_dot_max
Definition fixed_length.hpp:42
MODEL_CONSTANT FloatType lin_density
Definition fixed_length.hpp:47
The documentation for this struct was generated from the following file: