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

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.
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE

Function Documentation

◆ omp_get_max_threads()

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