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

Phase E4/R6 body — Eulerian ARD engine reaction stage. More...

#include "ReactionArdBinding.hpp"
#include "ReactionLegacyBinding.hpp"
#include <cmath>
#include <string>
#include <vector>
#include "../../../core/SimulationContext.hpp"
#include "ReactionIntegrator.hpp"
#include "ReactionGeometry.hpp"
Include dependency graph for ReactionArdBinding.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::transport
 

Functions

bool openswmm::transport::ardReactionsActive (const SimulationContext &ctx)
 Test configured/compiled native reaction flags for ARD binding.
 
bool openswmm::transport::ardHasWallSpecies (const SimulationContext &ctx)
 Test whether any configured reaction species is marked WALL.
 
void openswmm::transport::reactArdStage (SimulationContext &ctx, double dt, double *cell_phi, const double *cell_a, const double *cell_dx, int n_cells, double *node_mass, const double *node_vol, int n_nodes, int n_pollut, int ns_total, double min_store_vol, int temp_row, const int *cell_conduit, const int *conduit_link)
 Decay pollutant rows and integrate native reaction rows in ARD cell/node stores.
 

Detailed Description

Phase E4/R6 body — Eulerian ARD engine reaction stage.

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