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

Reactions process component — phase R1 body. More...

#include "ReactionsComponent.hpp"
#include "../../MsxInitialQuality.hpp"
#include "ReactionsWriter.hpp"
#include <cstdlib>
#include <algorithm>
#include <functional>
#include <cmath>
#include "../../../core/SimulationContext.hpp"
#include "../../../input/Tokenizer.hpp"
#include "../../../plugins/ProcessComponentRegistry.hpp"
#include "ReactionExpression.hpp"
Include dependency graph for ReactionsComponent.cpp:

Classes

class  openswmm::transport::Tokenizer
 Stateless multi-delimiter tokenizer for SWMM input lines. More...
 

Namespaces

namespace  openswmm
 
namespace  openswmm::transport
 

Functions

const std::vector< std::string > & openswmm::transport::reactionSectionTags ()
 Borrow the complete fixed set of supported embedded/external reaction section names.
 
void openswmm::transport::applyReactionSections (SimulationContext &ctx, const components::ComponentConfigSections &config, std::vector< std::string > &errors)
 Parse, validate, compile and register one native multispecies reaction system.
 
void openswmm::transport::applyEmbeddedReactionSections (SimulationContext &ctx, bool external_component_registered, std::vector< std::string > &errors)
 Apply retained INP reaction sections unless an external component has precedence.
 
void openswmm::transport::registerReactionsComponent ()
 Register native reaction parser/serializer callbacks under the built-in component ID.
 
bool openswmm::transport::recompileReactionSystem (SimulationContext &ctx, std::vector< std::string > &errors)
 Rebuild all compiled reaction expressions and validate scoped availability/profile constraints.
 

Detailed Description

Reactions process component — phase R1 body.

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