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 | List of all members
pism::icebin::MassEnthVec2S Struct Reference

#include <MassEnergyBudget.hh>

+ Inheritance diagram for pism::icebin::MassEnthVec2S:

Public Member Functions

 MassEnthVec2S (std::shared_ptr< const pism::Grid > grid, const std::string &name)
 
void set_attrs (const std::string &long_name, const std::string &units)
 
virtual void begin_access () const
 
virtual void end_access () const
 
- Public Member Functions inherited from pism::PetscAccessible
virtual ~PetscAccessible ()=default
 

Public Attributes

pism::array::Scalar mass
 
pism::array::Scalar enth
 

Detailed Description

Encapsulates mass and enthalpy together. Used to tabulate total enthalpy of a bunch of advected H2O based on its mass and specific enthalpy. This allows us to have only one C++ variable per advected quantity, instead of two.

Definition at line 13 of file MassEnergyBudget.hh.


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