OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::transport::ReactionIntegrator Class Reference

#include <ReactionIntegrator.hpp>

Collaboration diagram for openswmm::transport::ReactionIntegrator:

Static Public Member Functions

static RxStepReport step (const ReactionData &rx, bool tank, double dt, double *species, double *hydvar, RxWorkspace &ws, const double *pollutants=nullptr)
 One reaction step on one element's local species block.
 

Member Function Documentation

◆ step()

RxStepReport openswmm::transport::ReactionIntegrator::step ( const ReactionData & rx,
bool tank,
double dt,
double * species,
double * hydvar,
RxWorkspace & ws,
const double * pollutants = nullptr )
static

One reaction step on one element's local species block.

Parameters
rxCompiled reaction system (rx.compiled must be true).
tanktrue ⇒ tank-scope expressions, false ⇒ pipe scope.
dtStep length (seconds).
species[in/out] local species values, size rx.n_species().
hydvarRxHydVar::COUNT_ entries (DT slot is overwritten with dt by this call).
wsWorkspace initialized against rx.

< last ACCEPTED step (BDF2 history)

Here is the call graph for this function:
Here is the caller graph for this function:

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