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

Owned per-surface UEB predictions, accepted outputs and whole-model ledgers. Three surface columns per subcatchment; rain/snow caches are per subcatchment. Held water/energy use m and kJ/m2; global water/energy ledgers use m3 and kJ. Sample/completed clocks are elapsed seconds. last_seconds is the last call span; enabled column clocks can differ when source groups advance independently. Report arrays live in SnowSoA; one serialized owner coordinates both stores. More...

#include <UebSubcatchments.hpp>

Collaboration diagram for openswmm::surface::ueb::NativeState:

Public Attributes

std::array< double, 4 > forcing {}
 
std::vector< HeldState > columns
 
std::vector< LumpedFluxes > last
 
std::vector< double > rain
 
std::vector< double > snow
 
std::vector< double > sample_end
 
std::vector< double > sample_seconds
 
bool active = false
 
double sublimation = 0
 
double precipitation = 0
 
double liquid = 0
 
double throughfall = 0
 
double net_energy = 0
 
double geometry_energy = 0
 
double plowed_energy = 0
 
double initial_energy = 0
 
double initial_water = 0
 
double removed = 0
 
double transferred_water = 0
 
double last_seconds = 0
 
double completed_seconds = 0
 

Detailed Description

Owned per-surface UEB predictions, accepted outputs and whole-model ledgers. Three surface columns per subcatchment; rain/snow caches are per subcatchment. Held water/energy use m and kJ/m2; global water/energy ledgers use m3 and kJ. Sample/completed clocks are elapsed seconds. last_seconds is the last call span; enabled column clocks can differ when source groups advance independently. Report arrays live in SnowSoA; one serialized owner coordinates both stores.

Member Data Documentation

◆ active

bool openswmm::surface::ueb::NativeState::active = false

◆ columns

std::vector<HeldState> openswmm::surface::ueb::NativeState::columns

◆ completed_seconds

double openswmm::surface::ueb::NativeState::completed_seconds = 0

◆ forcing

std::array<double, 4> openswmm::surface::ueb::NativeState::forcing {}

◆ geometry_energy

double openswmm::surface::ueb::NativeState::geometry_energy = 0

◆ initial_energy

double openswmm::surface::ueb::NativeState::initial_energy = 0

◆ initial_water

double openswmm::surface::ueb::NativeState::initial_water = 0

◆ last

std::vector<LumpedFluxes> openswmm::surface::ueb::NativeState::last

◆ last_seconds

double openswmm::surface::ueb::NativeState::last_seconds = 0

◆ liquid

double openswmm::surface::ueb::NativeState::liquid = 0

◆ net_energy

double openswmm::surface::ueb::NativeState::net_energy = 0

◆ plowed_energy

double openswmm::surface::ueb::NativeState::plowed_energy = 0

◆ precipitation

double openswmm::surface::ueb::NativeState::precipitation = 0

◆ rain

std::vector<double> openswmm::surface::ueb::NativeState::rain

◆ removed

double openswmm::surface::ueb::NativeState::removed = 0

◆ sample_end

std::vector<double> openswmm::surface::ueb::NativeState::sample_end

◆ sample_seconds

std::vector<double> openswmm::surface::ueb::NativeState::sample_seconds

◆ snow

std::vector<double> openswmm::surface::ueb::NativeState::snow

◆ sublimation

double openswmm::surface::ueb::NativeState::sublimation = 0

◆ throughfall

double openswmm::surface::ueb::NativeState::throughfall = 0

◆ transferred_water

double openswmm::surface::ueb::NativeState::transferred_water = 0

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