OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
SWMM_2DRunStats Struct Reference

Cumulative explicit-marcher run statistics plus the backend and closure this run is on — the numbers the .rpt "2D Solver Statistics" block prints, readable DURING the run (after swmm_engine_start). More...

#include <openswmm_2d.h>

Collaboration diagram for SWMM_2DRunStats:

Public Attributes

char backend [64]
 
int momentum
 
int lts_tiers
 
long steps
 
long face_evals
 
double last_step
 
double active_frac_min
 
double active_frac_mean
 
double active_frac_max
 
int n_tiers
 
long tier_cells [8]
 

Detailed Description

Cumulative explicit-marcher run statistics plus the backend and closure this run is on — the numbers the .rpt "2D Solver Statistics" block prints, readable DURING the run (after swmm_engine_start).

Member Data Documentation

◆ active_frac_max

double SWMM_2DRunStats::active_frac_max

◆ active_frac_mean

double SWMM_2DRunStats::active_frac_mean

◆ active_frac_min

double SWMM_2DRunStats::active_frac_min

Active-cell fraction over rebuild samples; -1 = not populated.

◆ backend

char SWMM_2DRunStats::backend[64]

Solver label chosen at initialize, e.g. "cpu (explicit marcher)", "omp (Kokkos OpenMP …)".

◆ face_evals

long SWMM_2DRunStats::face_evals

Cumulative face-kernel evaluations.

◆ last_step

double SWMM_2DRunStats::last_step

Last accepted internal step (s).

◆ lts_tiers

int SWMM_2DRunStats::lts_tiers

Configured [2D_OPTIONS] LTS_TIERS.

◆ momentum

int SWMM_2DRunStats::momentum

0 LOCAL_INERTIAL, 1 FULL_SWE, 2 DIFFUSIVE_WAVE.

◆ n_tiers

int SWMM_2DRunStats::n_tiers

Populated entries of tier_cells (0 = no LTS telemetry).

◆ steps

long SWMM_2DRunStats::steps

Cumulative internal (marcher) substeps.

◆ tier_cells

long SWMM_2DRunStats::tier_cells[8]

Cumulative rebuild-sampled cells per LTS tier.


The documentation for this struct was generated from the following file: