19 #include "pism/coupler/ocean/sea_level/Delta_SL.hh"
20 #include "pism/util/ScalarForcing.hh"
30 "ocean.delta_sl",
"delta_SL",
32 "sea level elevation offsets"));
43 m_log->message(2,
"* Initializing scalar sea level forcing...\n");
std::shared_ptr< const Grid > grid() const
const Logger::ConstPtr m_log
logger (for easy access)
void copy_from(const Array2D< T > &source)
void shift(double alpha)
Result: v[j] <- v[j] + alpha for all j. Calls VecShift.
Delta_SL(std::shared_ptr< const Grid > grid, std::shared_ptr< SeaLevel > in)
void update_impl(const Geometry &geometry, double t, double dt)
std::unique_ptr< ScalarForcing > m_forcing
void init_impl(const Geometry &geometry)
std::shared_ptr< SeaLevel > m_input_model
array::Scalar m_sea_level
bool ocean(int M)
An ocean cell (floating ice or ice-free).