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

Macros

#define _CRT_SECURE_NO_DEPRECATE
 

Functions

int landuse_readParams (int landuseIndex, char *tok[], int ntoks)
 Reads landuse parameters from a tokenized line of input.
 
int landuse_readPollutParams (int pollutIndex, char *tok[], int ntoks)
 Reads pollutant parameters from a tokenized line of input.
 
int landuse_readBuildupParams (char *tok[], int ntoks)
 Reads pollutant buildup parameters from a tokenized line of input.
 
int landuse_readWashoffParams (char *tok[], int ntoks)
 Reads pollutant washoff parameters from a tokenized line of input.
 
void landuse_getInitBuildup (TLandFactor *landFactor, double *initBuildup, double area, double curb)
 Determines the initial buildup of each pollutant on each land use for a given subcatchment.
 
double landuse_getBuildup (int landuseIndex, int pollutIndex, double area, double curb, double buildup, double tStep)
 Computes new pollutant buildup on a landuse after a time increment.
 
double landuse_getAvgBmpEffic (int subcatchIndex, int pollutIndex)
 Finds the overall average BMP removal achieved for pollutant pollutIndex treated in subcatchment j.
 
double landuse_getWashoffLoad (int i, int p, double area, TLandFactor landFactor[], double runoff, double vOutflow)
 Computes pollutant load generated by a land use over a time step.
 
double landuse_getCoPollutLoad (int p, double washoff[])
 Finds washoff mass added by a co-pollutant of a given pollutant.
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE