void inlet_delete()
Frees all memory allocated for inlet analysis.
Definition inlet.c:304
int inlet_readDesignParams(char *tok[], int ntoks)
Extracts a set of inlet design parameters from a tokenized line of the [INLETS] section of a SWMM inp...
Definition inlet.c:330
double inlet_capturedFlow(int link)
Gets the current flow captured by an inlet.
Definition inlet.c:764
int inlet_readUsageParams(char *tok[], int ntoks)
Extracts inlet usage parameters from a tokenized line of the [INLET_USAGE] section of a SWMM input fi...
Definition inlet.c:379
void inlet_adjustQualInflows()
Adjusts accumulated flow rates and pollutant mass inflows at each inlet's bypass and capture nodes af...
Definition inlet.c:636
void inlet_findCapturedFlows(double tStep)
Computes flow captured by each inlet and adjusts the lateral flows of the inlet's bypass and capture ...
Definition inlet.c:545
void inlet_writeStatsReport()
Writes table of street & inlet flow statistics to SWMM's report file.
Definition inlet.c:739
void inlet_adjustQualOutflows()
Adjusts mass balance totals after a complete routing step has been taken so as not to treat inlet tra...
Definition inlet.c:682
void inlet_validate()
Checks that inlets have been assigned to conduits with proper cross section shapes and counts the num...
Definition inlet.c:466
int inlet_create(int nInlets)
Allocate and initialize inlet designs and per-node inlet-flow storage.
Definition inlet.c:266