72#ifndef OPENSWMM_ENGINE_DATA_BED_ZONE_DATA_HPP
73#define OPENSWMM_ENGINE_DATA_BED_ZONE_DATA_HPP
191 const auto nc =
static_cast<std::size_t
>(n_cells > 0 ? n_cells : 0);
192 const auto ns =
static_cast<std::size_t
>(n_spec > 0 ? n_spec : 0);
199 void resize(
int n_links,
int n_spec,
double t_init) {
200 const auto nl =
static_cast<std::size_t
>(n_links > 0 ? n_links : 0);
201 const auto ns =
static_cast<std::size_t
>(n_spec > 0 ? n_spec : 0);
208 bool sized(
int n_links)
const noexcept {
209 return link_temp.size() ==
static_cast<std::size_t
>(n_links > 0 ? n_links : 0);
Definition NodeCoupling.cpp:16
Runtime bed state, one entry per LINK.
Definition BedZoneData.hpp:164
std::vector< double > cell_temp
Definition BedZoneData.hpp:182
int n_species
Definition BedZoneData.hpp:170
int cell_n_species
Definition BedZoneData.hpp:187
std::vector< double > cell_conc
Definition BedZoneData.hpp:186
void clear()
Definition BedZoneData.hpp:212
std::vector< double > link_temp
Definition BedZoneData.hpp:165
void resize(int n_links, int n_spec, double t_init)
Definition BedZoneData.hpp:199
void resizeCells(int n_cells, int n_spec, double t_init)
Definition BedZoneData.hpp:190
std::vector< double > link_conc
Definition BedZoneData.hpp:169
bool seeded
Definition BedZoneData.hpp:171
bool sized(int n_links) const noexcept
Definition BedZoneData.hpp:208
bool cells_seeded
Definition BedZoneData.hpp:188
[SEDIMENT_EXCHANGE] — the bed zone's material and geometry.
Definition BedZoneData.hpp:88
double bed_thickness
Definition BedZoneData.hpp:104
double initial_temp
Definition BedZoneData.hpp:143
double ground_depth
Definition BedZoneData.hpp:111
double sed_density
Bed bulk density rho_sed, kg/m³ (htsmodel.cpp:50).
Definition BedZoneData.hpp:135
double ground_temp
Deep-ground temperature T_gr, °C. Constant spelling.
Definition BedZoneData.hpp:114
double hyporheic_velocity
Definition BedZoneData.hpp:132
bool has_ground_temp
Definition BedZoneData.hpp:122
double sed_specific_heat
Bed specific heat c_sed, J/kg/K (htsmodel.cpp:51).
Definition BedZoneData.hpp:138
int ground_ts_index
Definition BedZoneData.hpp:126
double thermal_diffusivity
Definition BedZoneData.hpp:92
bool has_initial_temp
Definition BedZoneData.hpp:144
double solute_diffusivity
Definition BedZoneData.hpp:99