PISM, A Parallel Ice Sheet Model 2.3.2-6314953b1 committed by Constantine Khrulev on 2026-08-11
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
pism::icebin::IBSurfaceModel Class Reference

#include <IBSurfaceModel.hh>

+ Inheritance diagram for pism::icebin::IBSurfaceModel:

Public Member Functions

 IBSurfaceModel (std::shared_ptr< const pism::Grid > grid)
 
- Public Member Functions inherited from pism::surface::SurfaceModel
 SurfaceModel (std::shared_ptr< const Grid > g)
 
 SurfaceModel (std::shared_ptr< const Grid > g, std::shared_ptr< SurfaceModel > input)
 
 SurfaceModel (std::shared_ptr< const Grid > g, std::shared_ptr< atmosphere::AtmosphereModel > atmosphere)
 
virtual ~SurfaceModel ()=default
 
void init (const Geometry &geometry)
 
void update (const Geometry &geometry, double t, double dt)
 
const array::Scalar & accumulation () const
 Returns accumulation.
 
const array::Scalar & layer_mass () const
 Returns mass held in the surface layer.
 
const array::Scalar & layer_thickness () const
 Returns thickness of the surface layer. Could be used to compute surface elevation as a sum of elevation of the top surface of the ice and surface layer (firn, etc) thickness.
 
const array::Scalar & liquid_water_fraction () const
 Returns the liquid water fraction of the ice at the top ice surface.
 
const array::Scalar & mass_flux () const
 
const array::Scalar & melt () const
 Returns melt.
 
const array::Scalar & runoff () const
 Returns runoff.
 
const array::Scalar & temperature () const
 
- Public Member Functions inherited from pism::Component
 Component (std::shared_ptr< const Grid > grid)
 
virtual ~Component ()=default
 
DiagnosticList spatial_diagnostics () const
 
TSDiagnosticList scalar_diagnostics () const
 
std::shared_ptr< const Grid > grid () const
 
const Time & time () const
 
const Profiling & profiling () const
 
void write_state (const OutputFile &output) const
 Write model state variables to an output file.
 
std::set< VariableMetadata > state () const
 
MaxTimestep max_timestep (double t) const
 Reports the maximum time-step the model can take at time t.
 

Public Attributes

pism::array::Scalar massxfer
 
pism::array::Scalar enthxfer
 
pism::array::Scalar deltah
 
pism::array::Scalar ice_top_bc_temp
 
pism::array::Scalar ice_top_bc_wc
 

Protected Member Functions

void init_impl (const Geometry &geometry)
 
void update_impl (const Geometry &geometry, double my_t, double my_dt)
 
const array::Scalar & accumulation_impl () const
 
const array::Scalar & liquid_water_fraction_impl () const
 
const array::Scalar & mass_flux_impl () const
 
const array::Scalar & melt_impl () const
 
const array::Scalar & runoff_impl () const
 
const array::Scalar & temperature_impl () const
 
std::set< VariableMetadata > state_impl () const
 
void write_state_impl (const OutputFile &output) const
 The default (empty implementation).
 
MaxTimestep max_timestep_impl (double t) const
 
- Protected Member Functions inherited from pism::surface::SurfaceModel
virtual const array::Scalar & layer_mass_impl () const
 
virtual const array::Scalar & layer_thickness_impl () const
 
virtual DiagnosticList spatial_diagnostics_impl () const
 
virtual TSDiagnosticList scalar_diagnostics_impl () const
 
void dummy_accumulation (const array::Scalar &smb, array::Scalar &result)
 
void dummy_melt (const array::Scalar &smb, array::Scalar &result)
 
void dummy_runoff (const array::Scalar &smb, array::Scalar &result)
 
- 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

std::string m_input_file
 
- Protected Attributes inherited from pism::surface::SurfaceModel
std::shared_ptr< array::Scalar > m_liquid_water_fraction
 
std::shared_ptr< array::Scalar > m_layer_mass
 
std::shared_ptr< array::Scalar > m_layer_thickness
 
std::shared_ptr< array::Scalar > m_accumulation
 
std::shared_ptr< array::Scalar > m_melt
 
std::shared_ptr< array::Scalar > m_runoff
 
std::shared_ptr< SurfaceModel > m_input_model
 
std::shared_ptr< atmosphere::AtmosphereModel > m_atmosphere
 
- Protected Attributes inherited from pism::Component
const std::shared_ptr< const Grid > m_grid
 grid used by this component
 
std::shared_ptr< const Config > m_config
 configuration database used by this component
 
const units::System::Ptr m_sys
 unit system used by this component
 
std::shared_ptr< const Logger > m_log
 logger (for easy access)
 

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...
 
- Static Protected Member Functions inherited from pism::surface::SurfaceModel
static std::shared_ptr< array::Scalar > allocate_layer_mass (std::shared_ptr< const Grid > grid)
 
static std::shared_ptr< array::Scalar > allocate_layer_thickness (std::shared_ptr< const Grid > grid)
 
static std::shared_ptr< array::Scalar > allocate_liquid_water_fraction (std::shared_ptr< const Grid > grid)
 
static std::shared_ptr< array::Scalar > allocate_mass_flux (std::shared_ptr< const Grid > grid)
 
static std::shared_ptr< array::Scalar > allocate_temperature (std::shared_ptr< const Grid > grid)
 
static std::shared_ptr< array::Scalar > allocate_accumulation (std::shared_ptr< const Grid > grid)
 
static std::shared_ptr< array::Scalar > allocate_melt (std::shared_ptr< const Grid > grid)
 
static std::shared_ptr< array::Scalar > allocate_runoff (std::shared_ptr< const Grid > grid)
 

Detailed Description

Definition at line 29 of file IBSurfaceModel.hh.


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