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

Macros

#define _CRT_SECURE_NO_DEPRECATE
 

Enumerations

enum  ProcessVarType {
  pvHRT ,
  pvDT ,
  pvFLOW ,
  pvDEPTH ,
  pvAREA
}
 

Functions

int treatmnt_open (void)
 Allocates memory for computing pollutant removals by treatment.
 
void treatmnt_close (void)
 Frees memory used for computing pollutant removals by treatment.
 
int treatmnt_readExpression (char *tok[], int ntoks)
 Reads a treatment expression from a tokenized line of input.
 
void treatmnt_delete (int nodeIndex)
 Deletes the treatment objects for each pollutant at a node.
 
void treatmnt_setInflow (double qIn, double wIn[])
 Computes and saves array of inflow concentrations to a node.
 
void treatmnt_treat (int j, double q, double v, double tStep)
 Updates pollutant concentrations at a node after treatment.
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE

Enumeration Type Documentation

◆ ProcessVarType

Enumerator
pvHRT 
pvDT 
pvFLOW 
pvDEPTH 
pvAREA