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

#include <MeshSnow.hpp>

Collaboration diagram for openswmm::surface::MeshSnowLedger:

Public Member Functions

double energyResidual () const
 Compute signed cumulative represented-energy closure.
 
double residual () const
 Compute signed cumulative physical water closure.
 

Public Attributes

double initial = 0
 
double precipitation = 0
 
double raw_precipitation = 0
 
double liquid = 0
 
double sublimation = 0
 
double stored = 0
 
double net_energy = 0
 
double geometry_energy = 0
 
double initial_energy = 0
 
double stored_energy = 0
 
double prescribed_ground_energy = 0
 
double ground_contact_energy = 0
 

Member Function Documentation

◆ energyResidual()

double openswmm::surface::MeshSnowLedger::energyResidual ( ) const
inline

Compute signed cumulative represented-energy closure.

Returns
initial_energy+net_energy+geometry_energy-stored_energy in kJ. No tolerance, finite validation or correction; contact/prescribed fields are diagnostic subsets.

◆ residual()

double openswmm::surface::MeshSnowLedger::residual ( ) const
inline

Compute signed cumulative physical water closure.

Returns
initial+precipitation-liquid-sublimation-stored in m3. raw_precipitation is diagnostic before catch/drift partition and is not added a second time.

Member Data Documentation

◆ geometry_energy

double openswmm::surface::MeshSnowLedger::geometry_energy = 0

◆ ground_contact_energy

double openswmm::surface::MeshSnowLedger::ground_contact_energy = 0

◆ initial

double openswmm::surface::MeshSnowLedger::initial = 0

◆ initial_energy

double openswmm::surface::MeshSnowLedger::initial_energy = 0

◆ liquid

double openswmm::surface::MeshSnowLedger::liquid = 0

◆ net_energy

double openswmm::surface::MeshSnowLedger::net_energy = 0

◆ precipitation

double openswmm::surface::MeshSnowLedger::precipitation = 0

◆ prescribed_ground_energy

double openswmm::surface::MeshSnowLedger::prescribed_ground_energy = 0

◆ raw_precipitation

double openswmm::surface::MeshSnowLedger::raw_precipitation = 0

◆ stored

double openswmm::surface::MeshSnowLedger::stored = 0

◆ stored_energy

double openswmm::surface::MeshSnowLedger::stored_energy = 0

◆ sublimation

double openswmm::surface::MeshSnowLedger::sublimation = 0

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