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

SoA storage for snowpack parameter sets. More...

#include <HydrologyData.hpp>

Collaboration diagram for openswmm::SnowpackStore:

Public Member Functions

int count () const
 Count SnowpackStore rows from the names column.
 

Public Attributes

std::vector< std::pair< std::string, double > > report_values
 
surface::ueb::NativeState runtime
 
surface::SnowConfig config
 
surface::MeshSnowConfig mesh_config
 
climate::HourlyMeteorology meteorology
 
std::vector< climate::SnowDailyWeather > daily_weather
 
std::vector< std::string > names
 
std::vector< std::array< double, 7 > > plowable
 
std::vector< std::array< double, 7 > > impervious
 
std::vector< std::array< double, 7 > > pervious
 
std::vector< std::array< double, 6 > > removal
 
std::vector< std::string > removal_subcatch
 

Detailed Description

SoA storage for snowpack parameter sets.

Each snowpack has PLOWABLE, IMPERVIOUS, PERVIOUS surface params (7 values each) and optional REMOVAL params (7 values). Subcatchments reference snowpacks by index via SubcatchData::snowpack.

Member Function Documentation

◆ count()

int openswmm::SnowpackStore::count ( ) const
inline

Count SnowpackStore rows from the names column.

Returns
names.size() converted to int; no parallel-column or reference-validity checks.
Here is the caller graph for this function:

Member Data Documentation

◆ config

surface::SnowConfig openswmm::SnowpackStore::config

◆ daily_weather

std::vector<climate::SnowDailyWeather> openswmm::SnowpackStore::daily_weather

◆ impervious

std::vector<std::array<double, 7> > openswmm::SnowpackStore::impervious

◆ mesh_config

surface::MeshSnowConfig openswmm::SnowpackStore::mesh_config

◆ meteorology

climate::HourlyMeteorology openswmm::SnowpackStore::meteorology

◆ names

std::vector<std::string> openswmm::SnowpackStore::names

◆ pervious

std::vector<std::array<double, 7> > openswmm::SnowpackStore::pervious

◆ plowable

std::vector<std::array<double, 7> > openswmm::SnowpackStore::plowable

◆ removal

std::vector<std::array<double, 6> > openswmm::SnowpackStore::removal

◆ removal_subcatch

std::vector<std::string> openswmm::SnowpackStore::removal_subcatch

◆ report_values

std::vector<std::pair<std::string, double> > openswmm::SnowpackStore::report_values

◆ runtime

surface::ueb::NativeState openswmm::SnowpackStore::runtime

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