OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
SWMM_CouplingSource Struct Reference

#include <openswmm_coupling.h>

Collaboration diagram for SWMM_CouplingSource:

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
 

Detailed Description

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.

Member Data Documentation

◆ cell

int SWMM_CouplingSource::cell

◆ concentrations

const double* SWMM_CouplingSource::concentrations

◆ domain

int SWMM_CouplingSource::domain

◆ flow_m3_s

double SWMM_CouplingSource::flow_m3_s

◆ heat_w

double SWMM_CouplingSource::heat_w

◆ id

const char* SWMM_CouplingSource::id

◆ rates

const double* SWMM_CouplingSource::rates

◆ species_count

int SWMM_CouplingSource::species_count

◆ struct_size

unsigned SWMM_CouplingSource::struct_size

◆ until_seconds

double SWMM_CouplingSource::until_seconds

The documentation for this struct was generated from the following file: