![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
#include <openswmm_coupling.h>
Public Attributes | |
| unsigned | struct_size |
| const char * | id |
| int | domain |
| int | cell |
| double | flow_m3_s |
| double | heat_w |
| double | until_seconds |
| int | species_count |
| const double * | concentrations |
| const double * | rates |
Version 1: per-cell sources. Arrays follow the target domain's species order. Concentrations use the same units as its concentration getter; rates use signed concentration-unit*m3/s (negative removes available mass). Reserved age is seconds and temperature is degrees C. Reserved-row rates must be zero: use heat_w for energy. flow_m3_s is positive INTO the domain; negative extracts donor quality. Groundwater sources address the saturated zone. Heat is water sensible heat, NOT soil conduction or heat storage. until_seconds=0 holds until clear. All pointers are copied; caller retains ownership.
| int SWMM_CouplingSource::cell |
| const double* SWMM_CouplingSource::concentrations |
| int SWMM_CouplingSource::domain |
| double SWMM_CouplingSource::flow_m3_s |
| double SWMM_CouplingSource::heat_w |
| const char* SWMM_CouplingSource::id |
| const double* SWMM_CouplingSource::rates |
| int SWMM_CouplingSource::species_count |
| unsigned SWMM_CouplingSource::struct_size |
| double SWMM_CouplingSource::until_seconds |