47#ifndef OPENSWMM_ENGINE_TRANSPORT_LID_LAYER_COMMON_HPP
48#define OPENSWMM_ENGINE_TRANSPORT_LID_LAYER_COMMON_HPP
Low Impact Development (LID) control modules.
Phase A4 — per-(LID unit, layer, species) transported state.
LIDType
Definition LID.hpp:69
Definition ExplicitFvSolver.hpp:53
constexpr int kPave
Definition LidLayerCommon.hpp:64
constexpr int kSoil
Definition LidLayerCommon.hpp:65
constexpr int kNL
Definition LidLayerCommon.hpp:57
std::vector< int > buildOffsets(const lid::LIDSolver &solver)
Build flattened conventional-LID group/unit prefix offsets.
Definition LidLayerCommon.cpp:94
constexpr int kStor
Definition LidLayerCommon.hpp:66
void 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 tho...
Definition LidLayerCommon.cpp:81
constexpr int kAbsent
Definition LidLayerCommon.hpp:61
constexpr int kSurf
Definition LidLayerCommon.hpp:63
constexpr int kExternal
-1 means "external to the unit"; -2 means "this type has no such layer".
Definition LidLayerCommon.hpp:60
Donors donorsFor(lid::LIDType t, bool has_soil)
Resolve immediate inflow donors/physical vertical adjacency for each LID layer.
Definition LidLayerCommon.cpp:39
@ PAVEMENT
Definition LidLayerSpeciesData.hpp:52
@ SURFACE
Definition LidLayerSpeciesData.hpp:52
@ SOIL
Definition LidLayerSpeciesData.hpp:52
@ STORAGE
Definition LidLayerSpeciesData.hpp:52
static constexpr int kLayerCount
Definition LidLayerSpeciesData.hpp:100
Definition LidLayerCommon.hpp:72
int pavement
Definition LidLayerCommon.hpp:73
int soil
Definition LidLayerCommon.hpp:73
int storage
Definition LidLayerCommon.hpp:73
int surface
Definition LidLayerCommon.hpp:73