PISM, A Parallel Ice Sheet Model stable 0.4.1779
Public Member Functions | Protected Member Functions | Protected Attributes

PA_EISMINT_Greenland Class Reference

#include <pgrn_atmosphere.hh>

Inheritance diagram for PA_EISMINT_Greenland:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 PA_EISMINT_Greenland (IceGrid &g, const NCConfigVariable &conf)
virtual ~PA_EISMINT_Greenland ()
virtual PetscErrorCode init (PISMVars &vars)
 Allocates memory and reads in the precipitaion data.
virtual PetscErrorCode update (PetscReal t_years, PetscReal dt_years)
 This method implements the parameterization.

Protected Member Functions

virtual PetscReal greenhouse_shift (PetscReal t_years, PetscReal dt_years)

Protected Attributes

bool do_greenhouse_warming
PetscReal greenhouse_warming_start_year
IceModelVec2S * lat
IceModelVec2S * surfelev

Detailed Description

Definition at line 24 of file pgrn_atmosphere.hh.


Constructor & Destructor Documentation

PA_EISMINT_Greenland ( IceGrid &  g,
const NCConfigVariable &  conf 
)

Definition at line 21 of file pgrn_atmosphere.cc.

References do_greenhouse_warming, and greenhouse_warming_start_year.

virtual ~PA_EISMINT_Greenland ( ) [inline, virtual]

Definition at line 27 of file pgrn_atmosphere.hh.


Member Function Documentation

PetscReal greenhouse_shift ( PetscReal  t_years,
PetscReal  dt_years 
) [protected, virtual]

Definition at line 99 of file pgrn_atmosphere.cc.

References greenhouse_warming_start_year.

Referenced by update().

PetscErrorCode init ( PISMVars &  vars) [virtual]

Allocates memory and reads in the precipitaion data.

Reimplemented from PAYearlyCycle.

Definition at line 63 of file pgrn_atmosphere.cc.

References do_greenhouse_warming, greenhouse_warming_start_year, PISMComponent::grid, lat, PAYearlyCycle::reference, and surfelev.

PetscErrorCode update ( PetscReal  t_years,
PetscReal  dt_years 
) [virtual]

This method implements the parameterization.

Implements PAYearlyCycle.

Definition at line 27 of file pgrn_atmosphere.cc.

References do_greenhouse_warming, PISMComponent_TS::dt, e, greenhouse_shift(), PISMComponent::grid, lat, surfelev, PISMComponent_TS::t, PAYearlyCycle::temp_ma, and PAYearlyCycle::temp_mj.


Member Data Documentation

Definition at line 33 of file pgrn_atmosphere.hh.

Referenced by init(), PA_EISMINT_Greenland(), and update().

Definition at line 34 of file pgrn_atmosphere.hh.

Referenced by greenhouse_shift(), init(), and PA_EISMINT_Greenland().

IceModelVec2S* lat [protected]

Definition at line 35 of file pgrn_atmosphere.hh.

Referenced by init(), and update().

IceModelVec2S * surfelev [protected]

Definition at line 35 of file pgrn_atmosphere.hh.

Referenced by init(), and update().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines