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

Resolution and application of species reaction source terms. More...

#include "../../../core/SimulationContext.hpp"
#include <algorithm>
#include <cmath>
Include dependency graph for ReactionSources.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openswmm
 
namespace  openswmm::transport
 

Functions

double openswmm::transport::reactionSourceFactor (const ReactionData &r, const ReactionData::Source &source, double seconds)
 Read a periodic reaction-source pattern factor at an elapsed simulation time.
 
double openswmm::transport::reactionBoosterMass (SimulationContext &ctx, int node, int species, double mass, double mixed_volume, double arriving_volume)
 Compute and book the first matching node/species booster inventory addition.
 

Detailed Description

Resolution and application of species reaction source terms.

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