|
| YearlyCycle (std::shared_ptr< const Grid > g) |
|
virtual | ~YearlyCycle ()=default |
|
virtual const array::Scalar & | mean_summer_temp () const |
| Copies the stored mean summer near-surface air temperature field into result. More...
|
|
| AtmosphereModel (std::shared_ptr< const Grid > g) |
|
| AtmosphereModel (std::shared_ptr< const Grid > g, std::shared_ptr< AtmosphereModel > input) |
|
virtual | ~AtmosphereModel ()=default |
|
void | init (const Geometry &geometry) |
|
void | update (const Geometry &geometry, double t, double dt) |
|
const array::Scalar & | precipitation () const |
| Sets result to the mean precipitation, in "kg m-2 second-1". More...
|
|
const array::Scalar & | air_temperature () const |
| Sets result to the mean near-surface air temperature, in degrees Kelvin. More...
|
|
void | begin_pointwise_access () const |
|
void | end_pointwise_access () const |
|
void | init_timeseries (const std::vector< double > &ts) const |
|
void | precip_time_series (int i, int j, std::vector< double > &result) const |
| Sets a pre-allocated N-element array "result" to the time-series of ice-equivalent precipitation (m/s) at the point i,j on the grid. More...
|
|
void | temp_time_series (int i, int j, std::vector< double > &result) const |
| Sets a pre-allocated N-element array "result" to the time-series of near-surface air temperature (degrees Kelvin) at the point i,j on the grid. Times (in years) are specified in ts. NB! Has to be surrounded by begin_pointwise_access() and end_pointwise_access() More...
|
|
| Component (std::shared_ptr< const Grid > grid) |
|
virtual | ~Component ()=default |
|
DiagnosticList | diagnostics () const |
|
TSDiagnosticList | ts_diagnostics () const |
|
std::shared_ptr< const Grid > | grid () const |
|
const Time & | time () const |
|
const Profiling & | profiling () const |
|
void | define_model_state (const File &output) const |
| Define model state variables in an output file. More...
|
|
void | write_model_state (const File &output) const |
| Write model state variables to an output file. More...
|
|
MaxTimestep | max_timestep (double t) const |
| Reports the maximum time-step the model can take at time t. More...
|
|
|
virtual void | define_model_state_impl (const File &output) const |
| The default (empty implementation). More...
|
|
virtual void | write_model_state_impl (const File &output) const |
| The default (empty implementation). More...
|
|
virtual void | init_impl (const Geometry &geometry) |
| Reads in the precipitation data from the input file. More...
|
|
virtual const array::Scalar & | precipitation_impl () const |
| Copies the stored precipitation field into result. More...
|
|
virtual const array::Scalar & | air_temperature_impl () const |
| Copies the stored mean annual near-surface air temperature field into result. More...
|
|
virtual void | begin_pointwise_access_impl () const |
|
virtual void | end_pointwise_access_impl () const |
|
virtual void | init_timeseries_impl (const std::vector< double > &ts) const |
|
virtual void | temp_time_series_impl (int i, int j, std::vector< double > &result) const |
|
virtual void | precip_time_series_impl (int i, int j, std::vector< double > &result) const |
|
virtual void | update_impl (const Geometry &geometry, double t, double dt)=0 |
|
virtual DiagnosticList | diagnostics_impl () const |
|
void | init_internal (const std::string &input_filename, bool regrid, unsigned int start) |
| Read precipitation data from a given file. More...
|
|
virtual MaxTimestep | max_timestep_impl (double my_t) const |
|
virtual TSDiagnosticList | ts_diagnostics_impl () const |
|
void | regrid (const std::string &module_name, array::Array &variable, RegriddingFlag flag=NO_REGRID_WITHOUT_REGRID_VARS) |
|
A class containing an incomplete implementation of an atmosphere model based on a temperature parameterization using mean annual and mean summer temperatures and a cosine yearly cycle. Uses a stored (constant in time) precipitation field.
Definition at line 31 of file YearlyCycle.hh.