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

Adapter for native SWMM snow accumulation and melt calculations. More...

#include "DegreeDaySnow.hpp"
#include <string>
#include <array>
Include dependency graph for NativeSnow.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openswmm
 
namespace  openswmm::surface
 

Functions

std::string openswmm::surface::initializeNativeSnow (SimulationContext &context, snow::SnowSolver &solver)
 Load native degree-day geometry/history and initialize assigned UEB packs.
 
bool openswmm::surface::hasUebSnow (const SimulationContext &context)
 Detect an enabled authored UEB snowpack assignment without initializing it.
 
std::array< double, 10 > openswmm::surface::nativeSnowResults (const SimulationContext &context, const snow::SnowSoA &state, int subcatch)
 Assemble SI UEB snow-report fields from accepted native owner snapshots.
 
double openswmm::surface::nativeSnowDepth (const snow::SnowSoA &state, int subcatch)
 Compute the legacy reported solid-snow depth for a native source.
 
double openswmm::surface::nativeSnowVolume (const snow::SnowSoA &state, int subcatch, double area_ft2)
 Compute physical solid-plus-free-water inventory over actual source area.
 

Detailed Description

Adapter for native SWMM snow accumulation and melt calculations.

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