32#ifndef OPENSWMM_STATISTICS_H
33#define OPENSWMM_STATISTICS_H
#define SWMM_ENGINE_API
Definition openswmm_2d.h:53
void * SWMM_Engine
Opaque handle to an OpenSWMM Engine instance.
Definition openswmm_callbacks.h:51
OpenSWMM Engine — primary transparent C API (master header).
SWMM_ENGINE_API int swmm_stat_link_vol_flow(SWMM_Engine engine, int idx, double *val)
Total volume conveyed through a link (project volume units).
Definition openswmm_statistics_impl.cpp:98
SWMM_ENGINE_API int swmm_stat_link_max_velocity(SWMM_Engine engine, int idx, double *val)
Maximum velocity in a link (project length/time units).
Definition openswmm_statistics_impl.cpp:82
SWMM_ENGINE_API int swmm_stat_link_surcharge_time_bulk(SWMM_Engine engine, double *buf, int count)
Get cumulative surcharge time per link into a caller-supplied buffer.
Definition openswmm_statistics_impl.cpp:264
SWMM_ENGINE_API int swmm_stat_node_time_flooded_bulk(SWMM_Engine engine, double *buf, int count)
Get cumulative time-flooded for all nodes into a caller-supplied buffer.
Definition openswmm_statistics_impl.cpp:206
SWMM_ENGINE_API int swmm_stat_node_max_overflow_bulk(SWMM_Engine engine, double *buf, int count)
Get maximum overflow rate for all nodes into a caller-supplied buffer.
Definition openswmm_statistics_impl.cpp:186
SWMM_ENGINE_API int swmm_stat_node_vol_flooded_bulk(SWMM_Engine engine, double *buf, int count)
Get total flooded volume for all nodes into a caller-supplied buffer.
Definition openswmm_statistics_impl.cpp:196
SWMM_ENGINE_API int swmm_stat_subcatch_precip(SWMM_Engine engine, int idx, double *val)
Total precipitation volume at a subcatchment (project volume units).
Definition openswmm_statistics_impl.cpp:118
SWMM_ENGINE_API int swmm_stat_link_surcharge_time(SWMM_Engine engine, int idx, double *val)
Total surcharge time for a link (hours).
Definition openswmm_statistics_impl.cpp:106
SWMM_ENGINE_API int swmm_stat_link_max_velocity_bulk(SWMM_Engine engine, double *buf, int count)
Get peak velocity for all links into a caller-supplied buffer.
Definition openswmm_statistics_impl.cpp:234
SWMM_ENGINE_API int swmm_stat_node_max_depth_bulk(SWMM_Engine engine, double *buf, int count)
Get maximum depth for all nodes into a caller-supplied buffer.
Definition openswmm_statistics_impl.cpp:146
SWMM_ENGINE_API int swmm_stat_subcatch_max_runoff_bulk(SWMM_Engine engine, double *buf, int count)
Get peak runoff rate for all subcatchments into a caller-supplied buffer.
Definition openswmm_statistics_impl.cpp:216
SWMM_ENGINE_API int swmm_stat_subcatch_runoff_vol_bulk(SWMM_Engine engine, double *buf, int count)
Get total runoff volume for all subcatchments into a caller-supplied buffer.
Definition openswmm_statistics_impl.cpp:166
SWMM_ENGINE_API int swmm_stat_link_max_flow(SWMM_Engine engine, int idx, double *val)
Maximum flow in a link (project flow units).
Definition openswmm_statistics_impl.cpp:74
SWMM_ENGINE_API int swmm_stat_link_max_filling_bulk(SWMM_Engine engine, double *buf, int count)
Get peak depth-to-full-depth ratio for all links into a buffer.
Definition openswmm_statistics_impl.cpp:244
SWMM_ENGINE_API int swmm_stat_link_max_flow_bulk(SWMM_Engine engine, double *buf, int count)
Get maximum flow for all links into a caller-supplied buffer.
Definition openswmm_statistics_impl.cpp:156
SWMM_ENGINE_API int swmm_stat_node_max_overflow(SWMM_Engine engine, int idx, double *val)
Maximum overflow rate at a node (project flow units).
Definition openswmm_statistics_impl.cpp:46
SWMM_ENGINE_API int swmm_stat_node_vol_flooded(SWMM_Engine engine, int idx, double *val)
Total volume flooded at a node (project volume units).
Definition openswmm_statistics_impl.cpp:54
SWMM_ENGINE_API int swmm_stat_subcatch_max_runoff(SWMM_Engine engine, int idx, double *val)
Maximum runoff rate from a subcatchment (project flow units).
Definition openswmm_statistics_impl.cpp:134
SWMM_ENGINE_API int swmm_stat_link_max_filling(SWMM_Engine engine, int idx, double *val)
Maximum depth/full-depth ratio in a link.
Definition openswmm_statistics_impl.cpp:90
SWMM_ENGINE_API int swmm_stat_node_time_flooded(SWMM_Engine engine, int idx, double *val)
Total time flooded at a node (hours).
Definition openswmm_statistics_impl.cpp:62
SWMM_ENGINE_API int swmm_stat_node_max_depth(SWMM_Engine engine, int idx, double *val)
Maximum depth at a node (project length units).
Definition openswmm_statistics_impl.cpp:38
SWMM_ENGINE_API int swmm_stat_link_vol_flow_bulk(SWMM_Engine engine, double *buf, int count)
Get cumulative flow volume per link into a caller-supplied buffer.
Definition openswmm_statistics_impl.cpp:254
SWMM_ENGINE_API int swmm_stat_subcatch_runoff_vol(SWMM_Engine engine, int idx, double *val)
Total runoff volume from a subcatchment (project volume units).
Definition openswmm_statistics_impl.cpp:126