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

Legacy routing and runoff interface file handling. More...

#include <stdlib.h>
#include <string.h>
#include "headers.h"
Include dependency graph for iface.c:

Macros

#define _CRT_SECURE_NO_DEPRECATE
 

Functions

int iface_readFileParams (char *tok[], int ntoks)
 Reads interface file information from a line of input data. Data format is: USE/SAVE FileType FileName.
 
void iface_openRoutingFiles ()
 Opens routing interface files.
 
void iface_closeRoutingFiles ()
 Closes routing interface files.
 
int iface_getNumIfaceNodes (DateTime currentDate)
 Reads inflow data from interface file at current date.
 
int iface_getIfaceNode (int index)
 Finds index of project node associated with interface node index.
 
double iface_getIfaceFlow (int index)
 Finds interface flow for particular node index.
 
double iface_getIfaceQual (int index, int pollut)
 Finds interface concentration for particular node index & pollutant.
 
void iface_saveOutletResults (DateTime reportDate, FILE *file)
 Saves system outflows to routing interface file.
 

Variables

double Qcf []
 

Detailed Description

Legacy routing and runoff interface file handling.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com (OpenSWMM maintenance and extensions)
License
Apache-2.0 for OpenSWMM contributions; original EPA SWMM provenance is retained.

Macro Definition Documentation

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE

Variable Documentation

◆ Qcf

double Qcf[]
extern