OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
openswmm::inlet::InletSolver Class Reference

#include <Inlet.hpp>

Collaboration diagram for openswmm::inlet::InletSolver:

Public Member Functions

void init (SimulationContext &ctx)
 
void computeAll (SimulationContext &ctx, double dt)
 Batch compute inlet capture for all inlets.
 
void adjustQualInflows (SimulationContext &ctx, double dt)
 Adjust quality inflows at bypass and capture nodes for inlet transfers.
 
void gatherStats (InletUsageStore &usages) const
 Gap #68: Copy accumulated stats from internal SoA into InletUsageStore. Called by SWMMEngine::report() before writing summary reports.
 

Member Function Documentation

◆ adjustQualInflows()

void openswmm::inlet::InletSolver::adjustQualInflows ( SimulationContext ctx,
double  dt 
)

Adjust quality inflows at bypass and capture nodes for inlet transfers.

Gap #55: called after hydraulic routing + inlet capture, before quality routing. For each inlet, transfers pollutant mass based on net flow direction (capture → capture node, backflow → bypass node). Matches legacy inlet_adjustQualInflows().

Parameters
ctxSimulation context.
dtRouting timestep (seconds).
Here is the call graph for this function:

◆ computeAll()

void openswmm::inlet::InletSolver::computeAll ( SimulationContext ctx,
double  dt 
)

Batch compute inlet capture for all inlets.

Parameters
ctxSimulation context.
dtTimestep (seconds).
Here is the call graph for this function:

◆ gatherStats()

void openswmm::inlet::InletSolver::gatherStats ( InletUsageStore usages) const

Gap #68: Copy accumulated stats from internal SoA into InletUsageStore. Called by SWMMEngine::report() before writing summary reports.

Here is the call graph for this function:

◆ init()

void openswmm::inlet::InletSolver::init ( SimulationContext ctx)
Here is the call graph for this function:

The documentation for this class was generated from the following files: