![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
#include <stdlib.h>#include <string.h>#include <math.h>#include "headers.h"#include "lid.h"#include "hash.h"#include "mempool.h"Macros | |
| #define | _CRT_SECURE_NO_DEPRECATE |
Functions | |
| int | omp_get_max_threads (void) |
| void | project_open (const char *inp_file, const char *rpt_file, const char *out_file) |
| Opens a new SWMM project. | |
| void | project_readInput () |
| Read project inputs. | |
| void | project_validate () |
| Checks validity of project data. | |
| void | project_close () |
| Close project. | |
| int | project_init (void) |
| Initializes the internal state of the project. | |
| int | project_addObject (int type, char *id, int n) |
| Adds an object Id to a hash table. | |
| int | project_findObject (int type, const char *id) |
| Uses hash table to find index of an object with a given ID. | |
| char * | project_findID (int type, char *id) |
| Uses hash table to find address of a given string entry. | |
| double ** | project_createMatrix (int nrows, int ncols) |
| Allocates memory for a matrix of doubles. | |
| void | project_freeMatrix (double **a) |
| Frees memory allocated for a matrix of doubles. | |
| int | project_readOption (char *s1, char *s2) |
| Reads a project option from a pair of string tokens. | |
| #define _CRT_SECURE_NO_DEPRECATE |
| int omp_get_max_threads | ( | void | ) |