10#ifndef MBE_CLIMATEPUT_H_
11#define MBE_CLIMATEPUT_H_
13#include "mbe_legacymodel.h"
14#include "input/climate/climatetypes.h"
15#ifdef _HAVE_INPUTS_CLIENT_SIDE_SYNTHESIZE_OK
16# include "synthesizers/climate/synth-climate.h"
21class LDNDC_API ClimateDayBufferUpdate :
public MBE_LegacyModel
23 LMOD_EXPORT_MODULE_INFO(ClimateDayBufferUpdate,
"sys:climate:copy-to-state",
"update subday and day climate buffers");
25 ClimateDayBufferUpdate(
30 ~ClimateDayBufferUpdate();
32 lerr_t configure( ldndc::config_file_t
const *);
44 lerr_t finalize() {
return LDNDC_ERR_OK; }
46 lerr_t sleep() {
return LDNDC_ERR_OK; }
47 lerr_t wake() {
return LDNDC_ERR_OK; }
50 input_class_climate_t
const * cl_;
51 substate_microclimate_t & mc_;
53#ifdef _HAVE_INPUTS_CLIENT_SIDE_SYNTHESIZE_OK
55 bool allow_synthesize_;
56 climate::record::item_type rec_s_buf_[climate::record::RECORD_SIZE];
57 climate::record::item_type * rec_s_;
58 climate::record::item_type rec_d_buf_[climate::record::RECORD_SIZE];
59 climate::record::item_type * rec_d_;
61 ldndc::data_synthesizer::climate::lsynth_climate_t cl_synth_;
65 double const *, timemode_e);
67 lerr_t copy_climate_record_to_buffers_();
Spatially explicit groundwater model.
Definition: airchemistryput.h:15