19 #include "pism/coupler/ocean/sea_level/Delta_SL_2D.hh"
21 #include "pism/util/Grid.hh"
22 #include "pism/coupler/util/options.hh"
23 #include "pism/util/array/Forcing.hh"
35 unsigned int buffer_size =
m_config->get_number(
"input.forcing.buffer_size");
47 .long_name(
"two-dimensional sea level offsets")
58 m_log->message(2,
"* Initializing 2D sea level forcing...\n");
59 m_log->message(2,
" reading anomalies from %s ...\n", opt.
filename.c_str());
const Config::ConstPtr m_config
configuration database used by this component
const Logger::ConstPtr m_log
logger (for easy access)
const std::shared_ptr< const Grid > m_grid
grid used by this component
High-level PISM I/O class.
void init_impl(const Geometry &geometry)
Delta_SL_2D(std::shared_ptr< const Grid > g, std::shared_ptr< SeaLevel > in)
std::shared_ptr< array::Forcing > m_forcing
void update_impl(const Geometry &geometry, double t, double dt)
std::shared_ptr< SeaLevel > m_input_model
array::Scalar m_sea_level
@ PISM_READONLY
open an existing file for reading only
bool ocean(int M)
An ocean cell (floating ice or ice-free).