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

LID layer topology and geometry, shared by every species track. More...

#include "LidLayerCommon.hpp"
Include dependency graph for LidLayerCommon.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::transport
 

Functions

Donors openswmm::transport::donorsFor (lid::LIDType t, bool has_soil)
 Resolve immediate inflow donors/physical vertical adjacency for each LID layer.
 
void openswmm::transport::layerVolumes (const lid::LIDGroupSoA &g, std::size_t ui, double(&v)[kNL])
 Void-weighted water held in each layer, as a depth per unit area (ft). The four terms are exactly those LIDSolver::storedVolume() sums, so a layer's age is weighted by the same water the mass balance counts.
 
std::vector< int > openswmm::transport::buildOffsets (const lid::LIDSolver &solver)
 Build flattened conventional-LID group/unit prefix offsets.
 

Detailed Description

LID layer topology and geometry, shared by every species track.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License
Apache-2.0