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

Configuration and resolution of mesh snow packs and overrides. More...

#include "MeshSnowConfig.hpp"
#include "../../input/InputParseUtils.hpp"
#include "../../input/Tokenizer.hpp"
#include <cmath>
#include <iomanip>
#include <limits>
#include <set>
#include <sstream>
Include dependency graph for MeshSnowConfig.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::surface
 

Functions

std::string openswmm::surface::setMeshSnowOption (MeshSnowConfig &config, const std::vector< std::string > &tokens)
 Apply one mesh SNOWMELT/SNOW_STEP option after validating its token form.
 
std::string openswmm::surface::setMeshSnowRow (MeshSnowConfig &config, const std::vector< std::string > &tokens, bool cell)
 Parse and replace one unresolved mesh snow assignment row.
 
std::vector< std::string > openswmm::surface::meshSnowOptionRows (const MeshSnowConfig &config)
 Serialize nondefault mesh snow options without validating them.
 
std::vector< std::string > openswmm::surface::meshSnowRows (const MeshSnowConfig &config, bool cell)
 Serialize one assignment map in deterministic key/schema order.
 
MeshSnowRow openswmm::surface::resolveMeshSnowRow (const MeshSnowConfig &config, int cell, const std::string &tag)
 Compose mesh-wide, exact-tag and exact-cell snow overrides.
 

Detailed Description

Configuration and resolution of mesh snow packs and overrides.

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