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

#include <HydStructures.hpp>

Collaboration diagram for openswmm::hydstruct::StructureSolver:

Public Member Functions

void init (SimulationContext &ctx)
 
void computeAllFlows (SimulationContext &ctx, double dt)
 Compute flow for all non-conduit links (batch by type).
 

Member Function Documentation

◆ computeAllFlows()

void openswmm::hydstruct::StructureSolver::computeAllFlows ( SimulationContext ctx,
double  dt 
)

Compute flow for all non-conduit links (batch by type).

For each type group:

  1. Gather upstream/downstream heads from node arrays
  2. Batch compute flow using type-specific equation
  3. Scatter flow + dQ/dH back to link arrays
Parameters
ctxSimulation context.
dtTimestep (seconds).

◆ init()

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

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