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

Macros

#define _CRT_SECURE_NO_DEPRECATE
 

Functions

int table_getNextFileEntry (TTable *table, double *x, double *y)
 
int table_parseFileLine (char *line, TTable *table, double *x, double *y)
 
double table_interpolate (double x, double x1, double y1, double x2, double y2)
 
int table_readCurve (char *tok[], int ntoks)
 
int table_readTimeseries (char *tok[], int ntoks)
 
int table_addEntry (TTable *table, double x, double y)
 
void table_deleteEntries (TTable *table)
 
void table_init (TTable *table)
 
int table_validate (TTable *table)
 
int table_getFirstEntry (TTable *table, double *x, double *y)
 
int table_getNextEntry (TTable *table, double *x, double *y)
 
double table_lookup (TTable *table, double x)
 
double table_getSlope (TTable *table, double x)
 
double table_lookupEx (TTable *table, double x)
 
double table_intervalLookup (TTable *table, double x)
 
double table_inverseLookup (TTable *table, double y)
 
double table_getMaxY (TTable *table, double x)
 
double table_getStorageVolume (TTable *table, double x)
 
double table_getStorageDepth (TTable *table, double v)
 
void table_tseriesInit (TTable *table)
 
double table_tseriesLookup (TTable *table, double x, char extend)
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE

Function Documentation

◆ table_addEntry()

int table_addEntry ( TTable table,
double  x,
double  y 
)
Here is the caller graph for this function:

◆ table_deleteEntries()

void table_deleteEntries ( TTable table)

◆ table_getFirstEntry()

int table_getFirstEntry ( TTable table,
double *  x,
double *  y 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ table_getMaxY()

double table_getMaxY ( TTable table,
double  x 
)

◆ table_getNextEntry()

int table_getNextEntry ( TTable table,
double *  x,
double *  y 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ table_getNextFileEntry()

int table_getNextFileEntry ( TTable table,
double *  x,
double *  y 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ table_getSlope()

double table_getSlope ( TTable table,
double  x 
)

◆ table_getStorageDepth()

double table_getStorageDepth ( TTable table,
double  v 
)

◆ table_getStorageVolume()

double table_getStorageVolume ( TTable table,
double  x 
)
Here is the call graph for this function:

◆ table_init()

void table_init ( TTable table)

◆ table_interpolate()

double table_interpolate ( double  x,
double  x1,
double  y1,
double  x2,
double  y2 
)
Here is the caller graph for this function:

◆ table_intervalLookup()

double table_intervalLookup ( TTable table,
double  x 
)

◆ table_inverseLookup()

double table_inverseLookup ( TTable table,
double  y 
)
Here is the call graph for this function:

◆ table_lookup()

double table_lookup ( TTable table,
double  x 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ table_lookupEx()

double table_lookupEx ( TTable table,
double  x 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ table_parseFileLine()

int table_parseFileLine ( char *  line,
TTable table,
double *  x,
double *  y 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ table_readCurve()

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

◆ table_readTimeseries()

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

◆ table_tseriesInit()

void table_tseriesInit ( TTable table)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ table_tseriesLookup()

double table_tseriesLookup ( TTable table,
double  x,
char  extend 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ table_validate()

int table_validate ( TTable table)
Here is the call graph for this function:
Here is the caller graph for this function: