![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
C API implementation — continuity errors and flux totals. More...
#include "openswmm_api_common.hpp"#include "../../../include/openswmm/engine/openswmm_massbalance.h"Functions | |
| SWMM_ENGINE_API int | swmm_get_runoff_continuity_error (SWMM_Engine engine, double *error) |
| Get the runoff continuity error (fraction, e.g. 0.001 = 0.1%). | |
| SWMM_ENGINE_API int | swmm_get_routing_continuity_error (SWMM_Engine engine, double *error) |
| Get the routing continuity error (fraction). | |
| SWMM_ENGINE_API int | swmm_get_quality_continuity_error (SWMM_Engine engine, int pollutant_idx, double *error) |
| Get the quality continuity error for a pollutant (fraction). | |
| SWMM_ENGINE_API int | swmm_get_runoff_total (SWMM_Engine engine, int component, double *volume) |
| Get a runoff mass balance total (cumulative volume). | |
| SWMM_ENGINE_API int | swmm_get_routing_total (SWMM_Engine engine, int component, double *volume) |
| Get a routing mass balance total (cumulative volume). | |
C API implementation — continuity errors and flux totals.
| SWMM_ENGINE_API int swmm_get_quality_continuity_error | ( | SWMM_Engine | engine, |
| int | pollutant_idx, | ||
| double * | error | ||
| ) |
Get the quality continuity error for a pollutant (fraction).
| SWMM_ENGINE_API int swmm_get_routing_continuity_error | ( | SWMM_Engine | engine, |
| double * | error | ||
| ) |
Get the routing continuity error (fraction).
| SWMM_ENGINE_API int swmm_get_routing_total | ( | SWMM_Engine | engine, |
| int | component, | ||
| double * | volume | ||
| ) |
Get a routing mass balance total (cumulative volume).
| engine | Engine handle. |
| component | SWMM_RoutingTotal code. |
| volume | [out] Cumulative volume (project volume units). |
| SWMM_ENGINE_API int swmm_get_runoff_continuity_error | ( | SWMM_Engine | engine, |
| double * | error | ||
| ) |
Get the runoff continuity error (fraction, e.g. 0.001 = 0.1%).
| SWMM_ENGINE_API int swmm_get_runoff_total | ( | SWMM_Engine | engine, |
| int | component, | ||
| double * | volume | ||
| ) |
Get a runoff mass balance total (cumulative volume).
| engine | Engine handle. |
| component | SWMM_RunoffTotal code. |
| volume | [out] Cumulative volume (project volume units). |