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

Checkpoint serialization of reaction component state. More...

#include "../transport/components/ReactionModule/ReactionsWriter.hpp"
#include "CompletedSourceArchive.hpp"
#include "SimulationContext.hpp"
#include <algorithm>
#include <cmath>
#include <stdexcept>
Include dependency graph for ReactionCheckpoint.hpp:

Go to the source code of this file.

Namespaces

namespace  openswmm
 
namespace  openswmm::detail
 

Functions

bool openswmm::detail::checkpointReactionComponents (const SimulationContext &c)
 Check that all authored process components fit reaction checkpoint restrictions.
 
void openswmm::detail::reactionModel (CompletedSourceArchive &a, const SimulationContext &c)
 Append authored and resolved reaction/transport/surface configuration to a fingerprint.
 
void openswmm::detail::reactionState (CompletedSourceArchive &a, ReactionData &r)
 Archive or restore persistent reaction inventories in schema version three.
 
void openswmm::detail::validateReactionState (const ReactionData &r, const SimulationContext &c)
 Validate staged reaction state shapes, ownership and finite inventories.
 

Detailed Description

Checkpoint serialization of reaction component state.

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