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

Classes

struct  TGrateInlet
 
struct  TSlottedInlet
 
struct  TCurbInlet
 
struct  TCustomInlet
 
struct  TInletDesign
 
struct  TInletStats
 
struct  TInlet
 

Macros

#define _CRT_SECURE_NO_DEPRECATE
 

Enumerations

enum  InletType {
  GRATE_INLET ,
  CURB_INLET ,
  COMBO_INLET ,
  SLOTTED_INLET ,
  DROP_GRATE_INLET ,
  DROP_CURB_INLET ,
  CUSTOM_INLET
}
 
enum  GrateType {
  P50 ,
  P50x100 ,
  P30 ,
  CURVED_VANE ,
  TILT_BAR_45 ,
  TILT_BAR_30 ,
  RETICULINE ,
  GENERIC
}
 
enum  InletPlacementType {
  AUTOMATIC ,
  ON_GRADE ,
  ON_SAG
}
 
enum  ThroatAngleType {
  HORIZONTAL_THROAT ,
  INCLINED_THROAT ,
  VERTICAL_THROAT
}
 

Functions

int inlet_create (int numInlets)
 
void inlet_delete ()
 
int inlet_readDesignParams (char *tok[], int ntoks)
 
int inlet_readUsageParams (char *tok[], int ntoks)
 
void inlet_validate ()
 
void inlet_findCapturedFlows (double tStep)
 
void inlet_adjustQualInflows ()
 
void inlet_adjustQualOutflows ()
 
void inlet_writeStatsReport ()
 
double inlet_capturedFlow (int i)
 

Variables

TInletDesignInletDesigns
 
int InletDesignCount
 
int UsesInlets
 
TLinkStatsLinkStats
 
TNodeStatsNodeStats
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE

Enumeration Type Documentation

◆ GrateType

enum GrateType
Enumerator
P50 
P50x100 
P30 
CURVED_VANE 
TILT_BAR_45 
TILT_BAR_30 
RETICULINE 
GENERIC 

◆ InletPlacementType

Enumerator
AUTOMATIC 
ON_GRADE 
ON_SAG 

◆ InletType

enum InletType
Enumerator
GRATE_INLET 
CURB_INLET 
COMBO_INLET 
SLOTTED_INLET 
DROP_GRATE_INLET 
DROP_CURB_INLET 
CUSTOM_INLET 

◆ ThroatAngleType

Enumerator
HORIZONTAL_THROAT 
INCLINED_THROAT 
VERTICAL_THROAT 

Function Documentation

◆ inlet_adjustQualInflows()

void inlet_adjustQualInflows ( )
Here is the caller graph for this function:

◆ inlet_adjustQualOutflows()

void inlet_adjustQualOutflows ( )
Here is the caller graph for this function:

◆ inlet_capturedFlow()

double inlet_capturedFlow ( int  i)

◆ inlet_create()

int inlet_create ( int  numInlets)

◆ inlet_delete()

void inlet_delete ( )

◆ inlet_findCapturedFlows()

void inlet_findCapturedFlows ( double  tStep)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ inlet_readDesignParams()

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

◆ inlet_readUsageParams()

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

◆ inlet_validate()

void inlet_validate ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ inlet_writeStatsReport()

void inlet_writeStatsReport ( )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ InletDesignCount

int InletDesignCount

◆ InletDesigns

TInletDesign* InletDesigns

◆ LinkStats

TLinkStats* LinkStats
extern

◆ NodeStats

TNodeStats* NodeStats
extern

◆ UsesInlets

int UsesInlets