PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
Public Member Functions | Private Member Functions | List of all members
pism::ocean::sea_level::InitializationHelper Class Reference

#include <Initialization.hh>

+ Inheritance diagram for pism::ocean::sea_level::InitializationHelper:

Public Member Functions

 InitializationHelper (std::shared_ptr< const Grid > g, std::shared_ptr< SeaLevel > in)
 
- Public Member Functions inherited from pism::ocean::sea_level::SeaLevel
 SeaLevel (std::shared_ptr< const Grid > g, std::shared_ptr< SeaLevel > input)
 
 SeaLevel (std::shared_ptr< const Grid > g)
 
virtual ~SeaLevel ()=default
 
void init (const Geometry &geometry)
 
void update (const Geometry &geometry, double t, double dt)
 
const array::Scalarelevation () const
 
- Public Member Functions inherited from pism::Component
 Component (std::shared_ptr< const Grid > grid)
 
virtual ~Component ()=default
 
DiagnosticList diagnostics () const
 
TSDiagnosticList ts_diagnostics () const
 
std::shared_ptr< const Gridgrid () const
 
const Timetime () const
 
const Profilingprofiling () 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...
 

Private Member Functions

void define_model_state_impl (const File &output) const
 The default (empty implementation). More...
 
void write_model_state_impl (const File &output) const
 The default (empty implementation). More...
 
void update_impl (const Geometry &geometry, double t, double dt)
 
void init_impl (const Geometry &geometry)
 
const array::Scalarsea_level_elevation_impl () const
 

Additional Inherited Members

- Protected Types inherited from pism::Component
enum  RegriddingFlag { REGRID_WITHOUT_REGRID_VARS , NO_REGRID_WITHOUT_REGRID_VARS }
 This flag determines whether a variable is read from the -regrid_file file even if it is not listed among variables in -regrid_vars. More...
 
- Protected Member Functions inherited from pism::ocean::sea_level::SeaLevel
virtual MaxTimestep max_timestep_impl (double t) const
 
virtual DiagnosticList diagnostics_impl () const
 
virtual TSDiagnosticList ts_diagnostics_impl () const
 
- Protected Member Functions inherited from pism::Component
void regrid (const std::string &module_name, array::Array &variable, RegriddingFlag flag=NO_REGRID_WITHOUT_REGRID_VARS)
 
- Protected Attributes inherited from pism::ocean::sea_level::SeaLevel
std::shared_ptr< SeaLevelm_input_model
 
array::Scalar m_sea_level
 
- Protected Attributes inherited from pism::Component
const std::shared_ptr< const Gridm_grid
 grid used by this component More...
 
const Config::ConstPtr m_config
 configuration database used by this component More...
 
const units::System::Ptr m_sys
 unit system used by this component More...
 
const Logger::ConstPtr m_log
 logger (for easy access) More...
 

Detailed Description

Sea level forcing "modifier" that helps with initialization.

This modifier saves the sea level as a part of the model state and re-loads it during initialization so that it is available before the first time step in a re-started run.

Definition at line 35 of file Initialization.hh.


The documentation for this class was generated from the following files: