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 | Static Protected Member Functions | Protected Attributes | List of all members
pism::frontalmelt::FrontalMelt Class Referenceabstract

A very rudimentary PISM frontal melt model. More...

#include <FrontalMelt.hh>

+ Inheritance diagram for pism::frontalmelt::FrontalMelt:

Public Member Functions

 FrontalMelt (IceGrid::ConstPtr g, std::shared_ptr< FrontalMelt > input)
 
 FrontalMelt (IceGrid::ConstPtr g)
 
virtual ~FrontalMelt ()=default
 
void init (const Geometry &geometry)
 
void update (const FrontalMeltInputs &inputs, double t, double dt)
 
const IceModelVec2Sfrontal_melt_rate () const
 
const IceModelVec2Sretreat_rate () 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 init_impl (const Geometry &geometry)
 
virtual void update_impl (const FrontalMeltInputs &inputs, double t, double dt)
 
virtual MaxTimestep max_timestep_impl (double t) const
 
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 TSDiagnosticList ts_diagnostics_impl () const
 
virtual const IceModelVec2Sfrontal_melt_rate_impl () const =0
 
void compute_retreat_rate (const Geometry &geometry, const IceModelVec2S &frontal_melt_rate, IceModelVec2S &result) const
 
bool apply (const IceModelVec2CellType &M, int i, int j)
 
- Protected Member Functions inherited from pism::Component
virtual void regrid (const std::string &module_name, IceModelVec &variable, RegriddingFlag flag=NO_REGRID_WITHOUT_REGRID_VARS)
 

Static Protected Member Functions

static IceModelVec2S::Ptr allocate_frontal_melt_rate (IceGrid::ConstPtr g, int stencil_width=0)
 

Protected Attributes

std::shared_ptr< FrontalMeltm_input_model
 
IceModelVec2S m_retreat_rate
 
bool m_include_floating_ice
 
- 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

A very rudimentary PISM frontal melt model.

Definition at line 46 of file FrontalMelt.hh.


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