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

Utah Energy Balance snow model configuration and validation. More...

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

Namespaces

namespace  openswmm
 
namespace  openswmm::surface
 

Functions

std::string openswmm::surface::setUebOption (SnowConfig &config, const std::vector< std::string > &tokens, bool validate=true)
 Parse one UEB_OPTIONS row into a candidate configuration then publish it.
 
std::vector< std::string > openswmm::surface::uebOptionRows (const SnowConfig &config)
 Serialize nondefault UEB_OPTIONS settings in deterministic schema order.
 
std::optional< std::string > openswmm::surface::uebOptionValue (const SnowConfig &config, const std::string &key)
 Read a scalar UEB option's effective value, including its default.
 
std::string openswmm::surface::setSnowTemperature (SnowConfig &config, const std::vector< std::string > &tokens)
 Parse one snow-related TEMPERATURE row and publish a copied candidate.
 
std::string openswmm::surface::setSnowpackUeb (SnowConfig &config, int pack, const std::vector< std::string > &tokens)
 Replace one pack's optional UEB site/model override from authored tokens.
 

Detailed Description

Utah Energy Balance snow model configuration and validation.

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