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

Checkpoint persistence for explicit inertial surface routing. More...

#include "ExplicitInertialSolver.hpp"
#include "InertialKernels.hpp"
#include "../subsurface/CommonSourceStage.hpp"
#include "../subsurface/SubsurfaceSolver.hpp"
#include "../heat/MeshCheckpointState.hpp"
#include "../heat/ThermalCheckpoint.hpp"
#include "../data/MeshData.hpp"
#include "../data/SurfaceStateData.hpp"
#include "../data/BoundaryData.hpp"
#include "../coupling/NodeCoupling.hpp"
#include "../coupling/Rk2RuntimeSources.hpp"
#include "../../data/NodeData.hpp"
#include "../../core/CompletedSourceArchive.hpp"
#include "../../core/SimulationContext.hpp"
#include "../../core/QualityCheckpoint.hpp"
#include "../../hydrology/surface/SnowCheckpoint.hpp"
#include <algorithm>
#include <atomic>
#include <cmath>
#include <cstdio>
#include <filesystem>
#include <fstream>
#include <stdexcept>
#include <set>
Include dependency graph for ExplicitInertialCheckpoint.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::twoD
 

Functions

std::string openswmm::twoD::validateRk2Sources (const RuntimeSources &, int cells, int species, int temperature, int age, const std::vector< uint8_t > *coverage=nullptr)
 Validate copied RK2 source prescriptions and water/heat/species receipt shapes.
 
std::string openswmm::twoD::rk2SurfaceRuntimeProfile (const SurfaceStateData &, const SubsurfaceSolver *ground=nullptr)
 Qualify prepared surface source/weather/snow state for the managed RK2 numerical profile.
 
bool openswmm::twoD::rk2HasSurfaceBoundary (const BoundaryData *)
 Detect any hydraulic boundary use or retained override/receipt history.
 
std::string openswmm::twoD::validateRk2SurfaceBoundary (const MeshData &, const SurfaceStateData &)
 Validate prepared RK2 exterior boundary descriptors, composition and physical receipts.
 
void openswmm::twoD::rk2SurfaceBoundaryArchive (Archive &a, BoundaryData &b, std::map< int, std::vector< double > > &quality, bool model, int species)
 Archive a matched RK2 boundary model identity or its accepted runtime receipts.
 
void openswmm::twoD::rk2ManagedRuntimeModel (Archive &a, RuntimeSources &surface, RuntimeSources &ground, RuntimeForcings &forcing, int species, BoundaryData *boundary, std::map< int, std::vector< double > > *quality)
 Archive copied RK2 source/forcing prescriptions for a managed model binding.
 
std::string openswmm::twoD::validateRk2ReplayIds (const RuntimeSources &, const RuntimeSources &, const RuntimeForcings &, double completed)
 Check provider namespaces, active expiry and last-receipt horizons at a managed boundary.
 

Detailed Description

Checkpoint persistence for explicit inertial surface routing.

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