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

FaustoGrevePDDObject Class Reference

#include <localMassBalance.hh>

List of all members.

Public Member Functions

 FaustoGrevePDDObject (IceGrid &g, const NCConfigVariable &myconfig)
virtual ~FaustoGrevePDDObject ()
virtual PetscErrorCode update_temp_mj (IceModelVec2S *surfelev, IceModelVec2S *lat, IceModelVec2S *lon)
 Updates mean July near-surface air temperature.
virtual PetscErrorCode setDegreeDayFactors (PetscInt i, PetscInt j, PetscScalar, PetscScalar lat, PetscScalar, DegreeDayFactors &ddf)

Protected Attributes

IceGrid & grid
const NCConfigVariable & config
PetscScalar beta_ice_w
PetscScalar beta_snow_w
PetscScalar T_c
PetscScalar T_w
PetscScalar beta_ice_c
PetscScalar beta_snow_c
PetscScalar fresh_water_density
PetscScalar ice_density
PetscScalar pdd_fausto_latitude_beta_w
IceModelVec2S temp_mj

Detailed Description

The PDD scheme described by Formula (6) in [Faustoetal2009] requires special knowledge of latitude and mean July temp to set degree day factors for Greenland.

These formulas are inherited by [Faustoetal2009] from [Greve2005geothermal]. There was, apparently, tuning in [Greve2005geothermal] which mixed ice dynamical ideas and surface process ideas. That is, these formulas and parameter choices arise from looking at margin shape. This may not be a good source of PDD parameters.

This may become a derived class of a LocationDependentPDDObject, if the idea is needed more in the future.

Definition at line 194 of file localMassBalance.hh.


Constructor & Destructor Documentation

FaustoGrevePDDObject ( IceGrid &  g,
const NCConfigVariable &  myconfig 
)
virtual ~FaustoGrevePDDObject ( ) [inline, virtual]

Definition at line 198 of file localMassBalance.hh.


Member Function Documentation

PetscErrorCode setDegreeDayFactors ( PetscInt  i,
PetscInt  j,
PetscScalar  ,
PetscScalar  lat,
PetscScalar  ,
DegreeDayFactors ddf 
) [virtual]

If this method is called, it is assumed that i,j is in the ownership range for IceModelVec2S temp_mj.

Definition at line 326 of file localMassBalance.cc.

References beta_ice_c, beta_ice_w, beta_snow_c, beta_snow_w, fresh_water_density, DegreeDayFactors::ice, ice_density, pdd_fausto_latitude_beta_w, DegreeDayFactors::snow, T_c, T_w, and temp_mj.

Referenced by PSTemperatureIndex::update_internal().

PetscErrorCode update_temp_mj ( IceModelVec2S *  surfelev,
IceModelVec2S *  lat,
IceModelVec2S *  lon 
) [virtual]

Updates mean July near-surface air temperature.

Unfortunately this duplicates code in PA_SeaRISE_Greenland::update();

Definition at line 368 of file localMassBalance.cc.

References config, grid, and temp_mj.

Referenced by PSTemperatureIndex::update_internal().


Member Data Documentation

PetscScalar beta_ice_c [protected]

Definition at line 212 of file localMassBalance.hh.

Referenced by FaustoGrevePDDObject(), and setDegreeDayFactors().

PetscScalar beta_ice_w [protected]

Definition at line 212 of file localMassBalance.hh.

Referenced by FaustoGrevePDDObject(), and setDegreeDayFactors().

PetscScalar beta_snow_c [protected]

Definition at line 212 of file localMassBalance.hh.

Referenced by FaustoGrevePDDObject(), and setDegreeDayFactors().

PetscScalar beta_snow_w [protected]

Definition at line 212 of file localMassBalance.hh.

Referenced by FaustoGrevePDDObject(), and setDegreeDayFactors().

const NCConfigVariable& config [protected]

Definition at line 211 of file localMassBalance.hh.

Referenced by FaustoGrevePDDObject(), and update_temp_mj().

PetscScalar fresh_water_density [protected]

Definition at line 212 of file localMassBalance.hh.

Referenced by FaustoGrevePDDObject(), and setDegreeDayFactors().

IceGrid& grid [protected]

Definition at line 210 of file localMassBalance.hh.

Referenced by FaustoGrevePDDObject(), and update_temp_mj().

PetscScalar ice_density [protected]

Definition at line 212 of file localMassBalance.hh.

Referenced by FaustoGrevePDDObject(), and setDegreeDayFactors().

PetscScalar pdd_fausto_latitude_beta_w [protected]

Definition at line 212 of file localMassBalance.hh.

Referenced by FaustoGrevePDDObject(), and setDegreeDayFactors().

PetscScalar T_c [protected]

Definition at line 212 of file localMassBalance.hh.

Referenced by FaustoGrevePDDObject(), and setDegreeDayFactors().

PetscScalar T_w [protected]

Definition at line 212 of file localMassBalance.hh.

Referenced by FaustoGrevePDDObject(), and setDegreeDayFactors().

IceModelVec2S temp_mj [protected]

Definition at line 214 of file localMassBalance.hh.

Referenced by FaustoGrevePDDObject(), setDegreeDayFactors(), and update_temp_mj().


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