PISM, A Parallel Ice Sheet Model  stable v2.0.4 committed by Constantine Khrulev on 2022-05-25 12:02:27 -0800
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pism::bed::BedDef Class Referenceabstract

PISM bed deformation model (base class). More...

#include <BedDef.hh>

+ Inheritance diagram for pism::bed::BedDef:

Public Member Functions

 BedDef (IceGrid::ConstPtr g)
 
virtual ~BedDef ()=default
 
void init (const InputOptions &opts, const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation)
 
void bootstrap (const IceModelVec2S &bed_elevation, const IceModelVec2S &bed_uplift, const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation)
 Initialize using provided bed elevation and uplift. More...
 
void update (const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation, double t, double dt)
 
const IceModelVec2Sbed_elevation () const
 
const IceModelVec2Suplift () const
 
- Public Member Functions inherited from pism::Component
 Component (IceGrid::ConstPtr g)
 
virtual ~Component ()=default
 
DiagnosticList diagnostics () const
 
TSDiagnosticList ts_diagnostics () const
 
IceGrid::ConstPtr grid () 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...
 

Protected Member Functions

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 DiagnosticList diagnostics_impl () const
 
virtual void update_impl (const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation, double t, double dt)=0
 
virtual void init_impl (const InputOptions &opts, const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation)
 Initialize from the context (input file and the "variables" database). More...
 
virtual void bootstrap_impl (const IceModelVec2S &bed_elevation, const IceModelVec2S &bed_uplift, const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation)
 
virtual void apply_topg_offset (const std::string &filename)
 
void compute_uplift (const IceModelVec2S &bed, const IceModelVec2S &bed_last, double dt, IceModelVec2S &result)
 Compute bed uplift (dt is in seconds). More...
 
- Protected Member Functions inherited from pism::Component
virtual MaxTimestep max_timestep_impl (double t) const
 
virtual TSDiagnosticList ts_diagnostics_impl () const
 
virtual void regrid (const std::string &module_name, IceModelVec &variable, RegriddingFlag flag=NO_REGRID_WITHOUT_REGRID_VARS)
 

Protected Attributes

const int m_wide_stencil
 
IceModelVec2S m_topg
 current bed elevation More...
 
IceModelVec2S m_topg_last
 bed elevation at the time of the last update More...
 
IceModelVec2S m_uplift
 bed uplift rate More...
 
- Protected Attributes inherited from pism::Component
const IceGrid::ConstPtr m_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...
 

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...
 

Detailed Description

PISM bed deformation model (base class).

Definition at line 40 of file BedDef.hh.


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