OpenSWMM Engine  6.0.0-alpha.3
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.3)
Loading...
Searching...
No Matches
link.c File Reference
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include "headers.h"
#include "inlet.h"
Include dependency graph for link.c:

Macros

#define _CRT_SECURE_NO_DEPRECATE
 

Functions

int link_readParams (int j, int type, int k, char *tok[], int ntoks)
 
int link_readXsectParams (char *tok[], int ntoks)
 
int link_readLossParams (char *tok[], int ntoks)
 
void link_validate (int j)
 
void link_initState (int j)
 
double link_getInflow (int j)
 
void link_setOldHydState (int j)
 
void link_setOldQualState (int j)
 
void link_setTargetSetting (int j)
 
void link_setSetting (int j, double tstep)
 
int link_setFlapGate (int j, int n1, int n2, double q)
 
void link_getResults (int j, double f, float x[])
 
void link_setOutfallDepth (int j)
 
double link_getYcrit (int j, double q)
 
double link_getYnorm (int j, double q)
 
double link_getLength (int j)
 
double link_getVelocity (int j, double flow, double depth)
 
double link_getFroude (int j, double v, double y)
 
double link_getPower (int j)
 
double link_getLossRate (int j, int routeModel, double q, double tstep)
 
char link_getFullState (double a1, double a2, double aFull)
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE

Function Documentation

◆ link_getFroude()

double link_getFroude ( int j,
double v,
double y )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ link_getFullState()

char link_getFullState ( double a1,
double a2,
double aFull )
Here is the caller graph for this function:

◆ link_getInflow()

double link_getInflow ( int j)
Here is the call graph for this function:

◆ link_getLength()

double link_getLength ( int j)
Here is the caller graph for this function:

◆ link_getLossRate()

double link_getLossRate ( int j,
int routeModel,
double q,
double tstep )
Here is the caller graph for this function:

◆ link_getPower()

double link_getPower ( int j)

◆ link_getResults()

void link_getResults ( int j,
double f,
float x[] )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ link_getVelocity()

double link_getVelocity ( int j,
double flow,
double depth )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ link_getYcrit()

double link_getYcrit ( int j,
double q )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ link_getYnorm()

double link_getYnorm ( int j,
double q )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ link_initState()

void link_initState ( int j)
Here is the caller graph for this function:

◆ link_readLossParams()

int link_readLossParams ( char * tok[],
int ntoks )
Here is the call graph for this function:

◆ link_readParams()

int link_readParams ( int j,
int type,
int k,
char * tok[],
int ntoks )

◆ link_readXsectParams()

int link_readXsectParams ( char * tok[],
int ntoks )
Here is the call graph for this function:

◆ link_setFlapGate()

int link_setFlapGate ( int j,
int n1,
int n2,
double q )
Here is the caller graph for this function:

◆ link_setOldHydState()

void link_setOldHydState ( int j)

◆ link_setOldQualState()

void link_setOldQualState ( int j)

◆ link_setOutfallDepth()

void link_setOutfallDepth ( int j)
Here is the call graph for this function:

◆ link_setSetting()

void link_setSetting ( int j,
double tstep )

◆ link_setTargetSetting()

void link_setTargetSetting ( int j)

◆ link_validate()

void link_validate ( int j)
Here is the call graph for this function:
Here is the caller graph for this function: