19 #ifndef _PAYEARLYCYCLE_H_
20 #define _PAYEARLYCYCLE_H_
22 #include "pism/coupler/AtmosphereModel.hh"
25 namespace atmosphere {
void regrid(const std::string &module_name, array::Array &variable, RegriddingFlag flag=NO_REGRID_WITHOUT_REGRID_VARS)
High-level PISM I/O class.
A purely virtual class defining the interface of a PISM Atmosphere Model.
array::Scalar m_air_temp_mean_summer
virtual void define_model_state_impl(const File &output) const
The default (empty implementation).
virtual void update_impl(const Geometry &geometry, double t, double dt)=0
void init_internal(const std::string &input_filename, bool regrid, unsigned int start)
Read precipitation data from a given file.
YearlyCycle(std::shared_ptr< const Grid > g)
virtual const array::Scalar & mean_summer_temp() const
Copies the stored mean summer near-surface air temperature field into result.
array::Scalar m_precipitation
virtual void init_impl(const Geometry &geometry)
Reads in the precipitation data from the input file.
double m_snow_temp_summer_day
virtual ~YearlyCycle()=default
std::vector< double > m_cosine_cycle
virtual void init_timeseries_impl(const std::vector< double > &ts) const
virtual void end_pointwise_access_impl() const
virtual void write_model_state_impl(const File &output) const
The default (empty implementation).
virtual void begin_pointwise_access_impl() const
virtual DiagnosticList diagnostics_impl() const
array::Scalar m_air_temp_mean_annual
virtual void temp_time_series_impl(int i, int j, std::vector< double > &result) const
virtual const array::Scalar & air_temperature_impl() const
Copies the stored mean annual near-surface air temperature field into result.
virtual void precip_time_series_impl(int i, int j, std::vector< double > &result) const
virtual const array::Scalar & precipitation_impl() const
Copies the stored precipitation field into result.
std::map< std::string, Diagnostic::Ptr > DiagnosticList