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

#include <MeshSnowConfig.hpp>

Collaboration diagram for openswmm::surface::MeshSnowConfig:

Public Types

enum class  Mode {
  Auto ,
  Yes ,
  No
}
 

Public Member Functions

bool assigned () const
 Test whether any tag/default/cell assignment rows are stored.
 

Public Attributes

Mode mode = Mode::Auto
 
double step = 0
 
std::map< std::string, MeshSnowRow > defaults
 
std::map< int, MeshSnowRow > cells
 

Member Enumeration Documentation

◆ Mode

Enumerator
Auto 
Yes 
No 

Member Function Documentation

◆ assigned()

bool openswmm::surface::MeshSnowConfig::assigned ( ) const
inline

Test whether any tag/default/cell assignment rows are stored.

Returns
True for a nonempty map even if mode is No or every row selects NONE. Does not resolve packs, inspect mesh cell count or establish an active snow owner.
Here is the caller graph for this function:

Member Data Documentation

◆ cells

std::map<int, MeshSnowRow> openswmm::surface::MeshSnowConfig::cells

◆ defaults

std::map<std::string, MeshSnowRow> openswmm::surface::MeshSnowConfig::defaults

◆ mode

Mode openswmm::surface::MeshSnowConfig::mode = Mode::Auto

◆ step

double openswmm::surface::MeshSnowConfig::step = 0

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