PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38: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 (std::shared_ptr< const Grid > g)
 
virtual ~BedDef ()=default
 
void init (const InputOptions &opts, const array::Scalar &ice_thickness, const array::Scalar &sea_level_elevation)
 
void bootstrap (const array::Scalar &bed_elevation, const array::Scalar &bed_uplift, const array::Scalar &ice_thickness, const array::Scalar &sea_level_elevation)
 Initialize using provided bed elevation and uplift. More...
 
void update (const array::Scalar &ice_thickness, const array::Scalar &sea_level_elevation, double t, double dt)
 
const array::Scalarbed_elevation () const
 
const array::Scalaruplift () 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...
 

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 array::Scalar &ice_thickness, const array::Scalar &sea_level_elevation, double t, double dt)=0
 
virtual void init_impl (const InputOptions &opts, const array::Scalar &ice_thickness, const array::Scalar &sea_level_elevation)
 Initialize from the context (input file and the "variables" database). More...
 
virtual void bootstrap_impl (const array::Scalar &bed_elevation, const array::Scalar &bed_uplift, const array::Scalar &ice_thickness, const array::Scalar &sea_level_elevation)
 
virtual void apply_topg_offset (const std::string &filename)
 
void compute_uplift (const array::Scalar &bed, const array::Scalar &bed_last, double dt, array::Scalar &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
 
void regrid (const std::string &module_name, array::Array &variable, RegriddingFlag flag=NO_REGRID_WITHOUT_REGRID_VARS)
 

Protected Attributes

const int m_wide_stencil
 
array::Scalar2 m_topg
 current bed elevation More...
 
array::Scalar2 m_topg_last
 bed elevation at the time of the last update More...
 
array::Scalar m_uplift
 bed uplift rate More...
 
- 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...
 

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 39 of file BedDef.hh.


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