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

Serialization helpers for thermal checkpoint participants. More...

#include "GroundHeat.hpp"
#include "MeshHeat.hpp"
#include "../../core/CompletedSourceArchive.hpp"
#include "../../core/SimulationContext.hpp"
#include "../../data/HeatData.hpp"
#include "../gw/GwTransportData.hpp"
#include <cmath>
#include <stdexcept>
Include dependency graph for ThermalCheckpoint.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::twoD
 
namespace  openswmm::twoD::checkpoint
 

Typedefs

using openswmm::twoD::checkpoint::Archive = detail::CompletedSourceArchive
 

Functions

void openswmm::twoD::checkpoint::material (Archive &a, ThermalMaterial &m)
 Archive a ground-column material's explicitly stored thermal properties.
 
void openswmm::twoD::checkpoint::radiative (Archive &a, RadiativeConfig &r)
 Archive the explicit radiative forcing configuration.
 
void openswmm::twoD::checkpoint::sediment (Archive &a, SedimentConfig &s)
 Archive the explicit sediment and ground-exchange configuration fields.
 
void openswmm::twoD::checkpoint::heatConfig (Archive &a, HeatConfigData &h)
 Archive heat configuration fields used to construct model identity.
 
void openswmm::twoD::checkpoint::groundHeat (Archive &a, GroundHeatState &h, bool model)
 Archive model-identity fields or runtime receipts of a prepared ground-heat state.
 
std::string openswmm::twoD::checkpoint::groundHeatModelIdentity (const GroundHeatState &state)
 Encode an owned byte identity of the ground thermal model and initial state.
 
std::string openswmm::twoD::checkpoint::meshHeatModelIdentity (const MeshHeatState &state)
 Encode mesh thermal ownership, options and initial inventories as a model identity.
 
void openswmm::twoD::checkpoint::meshHeat (Archive &a, MeshHeatState &h)
 Archive accepted mesh heat runtime state against a separately prepared model.
 

Detailed Description

Serialization helpers for thermal checkpoint participants.

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