OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
Transect.hpp File Reference

Irregular transect cross-section geometry (HEC-2 style). More...

#include <vector>
#include <string>
Include dependency graph for Transect.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmm::transect::TransectData
 

Namespaces

namespace  openswmm
 
namespace  openswmm::transect
 

Functions

void openswmm::transect::buildTables (TransectData &td)
 Build tabulated geometry from station-elevation data.
 

Variables

constexpr int openswmm::transect::N_TRANSECT_TBL = 51
 

Detailed Description

Irregular transect cross-section geometry (HEC-2 style).

Processes station-elevation pairs into tabulated A/R/W arrays that can be used by the XSectBatch lookup system. Each transect produces N_TRANSECT_TBL entries (typically 51) of normalized area, hydraulic radius, and width vs. depth.

Note
Legacy reference: src/legacy/engine/transect.c
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n MIT License