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

R4b body. Formula provenance is routeLegacyHeat — see the header. More...

#include "MsxLegacyTransport.hpp"
#include "ReactionSources.hpp"
#include <algorithm>
#include <cmath>
#include <vector>
#include "ReactionLegacyBinding.hpp"
#include "../../../core/SimulationContext.hpp"
#include "../../../quality/QualityRouting.hpp"
#include "../../../quality/MsxLidReactions.hpp"
#include "../../../hydrology/LidNode.hpp"
Include dependency graph for MsxLegacyTransport.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::transport
 

Functions

void openswmm::transport::armMsxRoutingLedger (SimulationContext &ctx)
 Initialize native network species continuity ledger when absent or row shape changes.
 
void openswmm::transport::routeLegacyMsx (SimulationContext &ctx, double dt)
 Transport native BULK species through legacy node/link complete-mix routing and LID ports.
 
void openswmm::transport::drainMsxCouplingQueue (SimulationContext &ctx, double dt)
 Convert accepted queued coupling inventory into native external mass rate for this substep.
 
void openswmm::transport::bookMsxSystemOutflow (SimulationContext &ctx, int node, double q, bool flooding, double dt)
 Add native BULK species inventory carried by accepted system discharge to continuity ledger.
 

Variables

constexpr double openswmm::transport::ZERO_DEPTH
 
constexpr double openswmm::transport::LEGACY_ZERO
 

Detailed Description

R4b body. Formula provenance is routeLegacyHeat — see the header.

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