20#include "pism/coupler/atmosphere/Uniform.hh"
22#include "pism/geometry/Geometry.hh"
23#include "pism/util/Logger.hh"
37 m_log->message(2,
"* Initializing the test atmosphere model...\n");
73 values[
k] = (*m_temperature)(i, j);
79 values[
k] = (*m_precipitation)(i, j);
std::shared_ptr< const Grid > grid() const
std::shared_ptr< const Config > m_config
configuration database used by this component
std::shared_ptr< const Logger > m_log
logger (for easy access)
virtual void begin_access() const
Checks if an Array is allocated and calls DAVecGetArray.
static std::shared_ptr< array::Scalar > allocate_temperature(std::shared_ptr< const Grid > grid)
static std::shared_ptr< array::Scalar > allocate_precipitation(std::shared_ptr< const Grid > grid)
std::vector< double > m_ts_times
A purely virtual class defining the interface of a PISM Atmosphere Model.