32#ifndef OPENSWMM_STATISTICS_H
33#define OPENSWMM_STATISTICS_H
#define SWMM_ENGINE_API
Definition openswmm_2d.h:62
void * SWMM_Engine
Opaque handle to an OpenSWMM Engine instance.
Definition openswmm_callbacks.h:55
OpenSWMM Engine — primary transparent C API (master header).
SWMM_ENGINE_API int swmm_stat_link_vol_flow(SWMM_Engine engine, int idx, double *val)
Read cumulative conveyed water volume for one link.
Definition openswmm_statistics_impl.cpp:105
SWMM_ENGINE_API int swmm_stat_link_max_velocity(SWMM_Engine engine, int idx, double *val)
Read maximum recorded absolute flow velocity for one link.
Definition openswmm_statistics_impl.cpp:87
SWMM_ENGINE_API int swmm_stat_link_surcharge_time_bulk(SWMM_Engine engine, double *buf, int count)
Copy cumulative surcharged duration for a prefix of the link table.
Definition openswmm_statistics_impl.cpp:278
SWMM_ENGINE_API int swmm_stat_node_time_flooded_bulk(SWMM_Engine engine, double *buf, int count)
Copy cumulative flooding duration for a prefix of the node table.
Definition openswmm_statistics_impl.cpp:219
SWMM_ENGINE_API int swmm_stat_node_max_overflow_bulk(SWMM_Engine engine, double *buf, int count)
Copy maximum recorded overflow discharge for a prefix of the node table.
Definition openswmm_statistics_impl.cpp:199
SWMM_ENGINE_API int swmm_stat_node_vol_flooded_bulk(SWMM_Engine engine, double *buf, int count)
Copy cumulative flooded water volume for a prefix of the node table.
Definition openswmm_statistics_impl.cpp:209
SWMM_ENGINE_API int swmm_stat_subcatch_precip(SWMM_Engine engine, int idx, double *val)
Read cumulative precipitation volume for one subcatchment.
Definition openswmm_statistics_impl.cpp:127
SWMM_ENGINE_API int swmm_stat_link_surcharge_time(SWMM_Engine engine, int idx, double *val)
Read cumulative surcharged duration for one link.
Definition openswmm_statistics_impl.cpp:114
SWMM_ENGINE_API int swmm_stat_link_max_velocity_bulk(SWMM_Engine engine, double *buf, int count)
Copy maximum recorded absolute flow velocity for a prefix of the link table.
Definition openswmm_statistics_impl.cpp:248
SWMM_ENGINE_API int swmm_stat_node_max_depth_bulk(SWMM_Engine engine, double *buf, int count)
Copy maximum recorded water depth for a prefix of the node table.
Definition openswmm_statistics_impl.cpp:158
SWMM_ENGINE_API int swmm_stat_subcatch_max_runoff_bulk(SWMM_Engine engine, double *buf, int count)
Copy maximum recorded runoff discharge for a prefix of the subcatchment table.
Definition openswmm_statistics_impl.cpp:229
SWMM_ENGINE_API int swmm_stat_subcatch_runoff_vol_bulk(SWMM_Engine engine, double *buf, int count)
Copy cumulative runoff volume for a prefix of the subcatchment table.
Definition openswmm_statistics_impl.cpp:178
SWMM_ENGINE_API int swmm_stat_link_max_flow(SWMM_Engine engine, int idx, double *val)
Read maximum recorded absolute flow for one link.
Definition openswmm_statistics_impl.cpp:78
SWMM_ENGINE_API int swmm_stat_link_max_filling_bulk(SWMM_Engine engine, double *buf, int count)
Copy maximum recorded depth/full-depth ratio for a prefix of the link table.
Definition openswmm_statistics_impl.cpp:258
SWMM_ENGINE_API int swmm_stat_link_max_flow_bulk(SWMM_Engine engine, double *buf, int count)
Copy maximum recorded absolute flow for a prefix of the link table.
Definition openswmm_statistics_impl.cpp:168
SWMM_ENGINE_API int swmm_stat_node_max_overflow(SWMM_Engine engine, int idx, double *val)
Read maximum recorded overflow discharge for one node.
Definition openswmm_statistics_impl.cpp:47
SWMM_ENGINE_API int swmm_stat_node_vol_flooded(SWMM_Engine engine, int idx, double *val)
Read cumulative flooded water volume for one node.
Definition openswmm_statistics_impl.cpp:56
SWMM_ENGINE_API int swmm_stat_subcatch_max_runoff(SWMM_Engine engine, int idx, double *val)
Read maximum recorded runoff discharge for one subcatchment.
Definition openswmm_statistics_impl.cpp:145
SWMM_ENGINE_API int swmm_stat_link_max_filling(SWMM_Engine engine, int idx, double *val)
Read maximum recorded depth/full-depth ratio for one link.
Definition openswmm_statistics_impl.cpp:96
SWMM_ENGINE_API int swmm_stat_node_time_flooded(SWMM_Engine engine, int idx, double *val)
Read cumulative flooding duration for one node.
Definition openswmm_statistics_impl.cpp:65
SWMM_ENGINE_API int swmm_stat_node_max_depth(SWMM_Engine engine, int idx, double *val)
Read maximum recorded water depth for one node.
Definition openswmm_statistics_impl.cpp:38
SWMM_ENGINE_API int swmm_stat_link_vol_flow_bulk(SWMM_Engine engine, double *buf, int count)
Copy cumulative conveyed water volume for a prefix of the link table.
Definition openswmm_statistics_impl.cpp:268
SWMM_ENGINE_API int swmm_stat_subcatch_runoff_vol(SWMM_Engine engine, int idx, double *val)
Read cumulative runoff volume for one subcatchment.
Definition openswmm_statistics_impl.cpp:136