15#ifndef MBE_CLIMATEPUT_H_
16#define MBE_CLIMATEPUT_H_
18#include "mbe_legacymodel.h"
19#include "input/climate/climatetypes.h"
20#ifdef _HAVE_INPUTS_CLIENT_SIDE_SYNTHESIZE_OK
21# include "synthesizers/climate/synth-climate.h"
26class LDNDC_API ClimateDayBufferUpdate :
public MBE_LegacyModel
28 LMOD_EXPORT_MODULE_INFO(ClimateDayBufferUpdate,
"sys:climate:copy-to-state",
"update subday and day climate buffers");
30 ClimateDayBufferUpdate(
35 ~ClimateDayBufferUpdate();
37 lerr_t configure( ldndc::config_file_t
const *);
49 lerr_t finalize() {
return LDNDC_ERR_OK; }
51 lerr_t sleep() {
return LDNDC_ERR_OK; }
52 lerr_t wake() {
return LDNDC_ERR_OK; }
55 input_class_climate_t
const * cl_;
56 substate_microclimate_t & mc_;
58#ifdef _HAVE_INPUTS_CLIENT_SIDE_SYNTHESIZE_OK
60 bool allow_synthesize_;
61 climate::record::item_type rec_s_buf_[climate::record::RECORD_SIZE];
62 climate::record::item_type * rec_s_;
63 climate::record::item_type rec_d_buf_[climate::record::RECORD_SIZE];
64 climate::record::item_type * rec_d_;
66 ldndc::data_synthesizer::climate::lsynth_climate_t cl_synth_;
70 double const *, timemode_e);
72 lerr_t copy_climate_record_to_buffers_();
Spatially explicit groundwater model.
Definition airchemistryput.h:21