58 MeshSnow* mesh,
const std::string& bytes,
bool apply,
139 const std::string& bytes,
bool apply =
true,
bool seed =
false);
Definition CompletedSourceArchive.hpp:25
Owned mixed degree-day/UEB snow on remaining mesh weather footprints. Geometry area is horizontal m2;...
Definition MeshSnow.hpp:54
Definition OutfallExchange.hpp:17
Definition DegreeDaySnow.cpp:36
Definition SnowCheckpoint.hpp:60
Definition GroundHeat.hpp:19
void archiveHeldSnow(detail::CompletedSourceArchive &a, ueb::HeldState &h)
Stream and validate accepted/predicted lumped UEB history and consumption clocks.
Definition SnowCheckpoint.cpp:288
std::string snowForcingIdentity(const SimulationContext &ctx)
Encode configuration and actual weather values controlling held snow predictions.
Definition SnowCheckpoint.cpp:233
std::string restoreCombinedSnowCheckpoint(SimulationContext &ctx, snow::SnowSoA &snow, MeshSnow *mesh, const std::string &bytes, bool apply, bool seed)
Validate native and mesh snow together before ordinary publication.
Definition SnowCheckpoint.cpp:430
std::array< double, 4 > snowRuntimeForcing(const SimulationContext &ctx)
Read the small runtime override key used to invalidate held predictions.
Definition SnowCheckpoint.cpp:216
bool snowTransientForcing(const SimulationContext &ctx)
Test whether temperature or wind has a transient active runtime override.
Definition SnowCheckpoint.cpp:223
std::string saveCombinedSnowCheckpoint(const SimulationContext &ctx, const snow::SnowSoA &snow, const MeshSnow *mesh)
Encode native snow and, when active, the paired mesh snow owner.
Definition SnowCheckpoint.cpp:417
std::string snowModelIdentity(const SimulationContext &ctx, const snow::SnowSoA &snow)
Encode the native snow restart compatibility identity.
Definition SnowCheckpoint.cpp:230
std::string saveSnowCheckpoint(const SimulationContext &ctx, const snow::SnowSoA &s)
Encode native degree-day and UEB accepted/held snow state without owner mutation.
Definition SnowCheckpoint.cpp:306
void archiveDegreeDaySnow(detail::CompletedSourceArchive &a, snow::SnowSoA &s)
Stream fixed-layout native degree-day dynamic state and shared report histories.
Definition SnowCheckpoint.cpp:303
std::string restoreSnowCheckpoint(SimulationContext &ctx, snow::SnowSoA &snow, const std::string &bytes, bool apply, bool seed)
Decode native snow into a compatible model, optionally as a new hot start.
Definition SnowCheckpoint.cpp:316
Definition ExchangeLaw.hpp:60
Central, reentrant simulation context.
Definition SimulationContext.hpp:390
Definition DegreeDaySnow.hpp:66
Definition UebHeld.hpp:20