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 | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
pism::icebin::MassEnergyBudget Class Reference

#include <MassEnergyBudget.hh>

Public Member Functions

std::ostream & print_formulas (std::ostream &out)
 
 MassEnergyBudget (std::shared_ptr< const pism::Grid > grid, std::string const &prefix)
 
void set_epsilon ()
 

Public Attributes

MassEnthVec2S total
 
pism::array::Scalar basal_frictional_heating
 Total amount of basal friction heating [J/m^2]. More...
 
pism::array::Scalar strain_heating
 Total amount of strain heating [J/m^2]. More...
 
pism::array::Scalar geothermal_flux
 Total amount of geothermal energy [J/m^2]. More...
 
pism::array::Scalar upward_geothermal_flux
 Total amount of geothermal energy [J/m^2]. More...
 
MassEnthVec2S calving
 Equal to IceModel::discharge_flux_2D_cumulative. More...
 
MassEnthVec2S smb
 accumulation / ablation, as provided by Icebin More...
 
pism::array::Scalar deltah
 Change in enthalpy of top layer. More...
 
MassEnthVec2S pism_smb
 
pism::array::Scalar href_to_h
 SMB as seen by PISM in iMgeometry.cc massContExplicitSte(). Used to check icebin_smb.mass, but does not figure into contract. More...
 
pism::array::Scalar nonneg_rule
 
MassEnthVec2S melt_grounded
 basal melt (grounded) (from summing meltrate_grounded) More...
 
MassEnthVec2S melt_floating
 sub-shelf melt (from summing meltrate_floating) More...
 
MassEnthVec2S internal_advection
 
MassEnthVec2S epsilon
 
std::vector< VecWithFlagsall_vecs
 

Static Public Attributes

static const int MASS = 1
 
static const int ENTH = 2
 
static const int TOTAL = 4
 
static const int DELTA = 8
 
static const int EPSILON = 16
 
static const int ADVECTION
 

Protected Member Functions

void add_mass (pism::array::Scalar &vec, int flags, std::string const &contract_name)
 
void add_enth (pism::array::Scalar &vec, int flags, std::string const &contract_name)
 
void add_massenth (MassEnthVec2S &massenth, int flags, std::string const &contract_name_mass, std::string const &contract_name_enth)
 

Detailed Description

Definition at line 59 of file MassEnergyBudget.hh.


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