#include <ArdEngine.hpp>
◆ absorbTreatedNodeConc()
| void openswmm::transport::ArdEngine::absorbTreatedNodeConc |
( |
SimulationContext & | ctx | ) |
|
E5b treatment interop: absorb treated node concentrations back into the node stores.
Called by SWMMEngine AFTER QualitySolver::applyTreatment ran on the PUBLISHED nodes.conc. Only nodes with treatment defined are touched — untreated nodes keep their store mass bit-identical (a conc→mass→conc round trip is NOT exact in floating point, so a blanket absorb would break the no-treatment parity).
◆ init()
Build the transport mesh and size all state; call once after the model is fully resolved (Router::init done, pollutants known).
- Returns
- false if the mesh could not be built — the caller must fall back to the legacy quality path and surface the warnings.
◆ initialized()
| bool openswmm::transport::ArdEngine::initialized |
( |
| ) |
const |
|
inlinenoexcept |
◆ step()
One transport step over the routing step dt.
Pre-condition: the external quality loads for this step have been assembled into nodes.qual_mass_in / qual_vol_in (the QualitySolver loader stage). Post-condition: links.conc, links.conc_old, nodes.conc, nodes.conc_old updated.
◆ totalMass()
| std::vector< double > openswmm::transport::ArdEngine::totalMass |
( |
const SimulationContext & | ctx | ) |
const |
Total species mass currently held (cells + node stores), one entry per species — the conservation ledger the unit gates check.
◆ warnings()
| const std::vector< std::string > & openswmm::transport::ArdEngine::warnings |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following files:
- /home/runner/work/openswmm.engine/openswmm.engine/src/engine/transport/components/EulerianArdComponent/ArdEngine.hpp
- /home/runner/work/openswmm.engine/openswmm.engine/src/engine/transport/components/EulerianArdComponent/ArdEngine.cpp