42std::string
prepareHeld(HeldState& state,
const Parameters& parameters,
const Site& site,
43 const Forcing& forcing,
const std::array<double, 10>& curve);
61std::string
consumeHeld(HeldState& state,
double seconds,
const std::array<double, 10>& curve,
62 LumpedFluxes& output);
Lumped Utah Energy Balance snow model integration.
Definition SnowCheckpoint.hpp:60
std::string prepareHeld(HeldState &s, const Parameters &p, const Site &site, const Forcing &f, const std::array< double, 10 > &curve)
Predict one full constant-forcing UEB window while retaining accepted inventory.
Definition UebHeld.cpp:58
std::string consumeHeld(HeldState &s, double seconds, const std::array< double, 10 > &curve, LumpedFluxes &output)
Publish only the requested elapsed share of an already solved snow window.
Definition UebHeld.cpp:73
void closeHeld(HeldState &s) noexcept
Discard the remaining prediction's active clock while keeping elapsed inventory.
Definition UebHeld.cpp:133
Definition UebHeld.hpp:20
double elapsed
Definition UebHeld.hpp:23
LumpedState accepted
Definition UebHeld.hpp:21
LumpedState begin
Definition UebHeld.hpp:21
double duration
Definition UebHeld.hpp:23
LumpedFluxes flux
Definition UebHeld.hpp:22
LumpedState end
Definition UebHeld.hpp:21
bool pending() const noexcept
Test whether the prepared forcing window has unconsumed duration.
Definition UebHeld.hpp:27
Definition UebLumped.hpp:25
Definition UebLumped.hpp:21