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

PSSimple Class Reference

A class implementing a primitive surface model. More...

#include <PISMSurface.hh>

Inheritance diagram for PSSimple:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 PSSimple (IceGrid &g, const NCConfigVariable &conf)
virtual PetscErrorCode init (PISMVars &vars)
virtual PetscErrorCode update (PetscReal t_years, PetscReal dt_years)
 Update a model, if necessary.
virtual PetscErrorCode ice_surface_mass_flux (IceModelVec2S &result)
virtual PetscErrorCode ice_surface_temperature (IceModelVec2S &result)
virtual void add_vars_to_output (string keyword, set< string > &result)
 Adds more variable names to result (to let sub-models respect -o_size or -save_size).

Detailed Description

A class implementing a primitive surface model.

This is an "invisible" surface processes model which "passes through" information from the atmosphere above directly to the ice below the surface layers. It implements two modeling choices:

The second choice means that the upper boundary condition of the conservation of energy scheme for the ice fluid is exactly the 2m air temperature.

Definition at line 102 of file PISMSurface.hh.


Constructor & Destructor Documentation

PSSimple ( IceGrid &  g,
const NCConfigVariable &  conf 
) [inline]

Definition at line 104 of file PISMSurface.hh.


Member Function Documentation

void add_vars_to_output ( string  ,
set< string > &   
) [virtual]

Adds more variable names to result (to let sub-models respect -o_size or -save_size).

Keyword can be one of "small", "medium" or "big".

Reimplemented from PISMComponent.

Definition at line 144 of file PISMSurface.cc.

References PISMComponent::add_vars_to_output(), and PISMSurfaceModel::atmosphere.

PetscErrorCode ice_surface_mass_flux ( IceModelVec2S &  result) [virtual]
PetscErrorCode ice_surface_temperature ( IceModelVec2S &  result) [virtual]
PetscErrorCode init ( PISMVars &  vars) [virtual]

Reimplemented from PISMSurfaceModel.

Definition at line 105 of file PISMSurface.cc.

References PISMSurfaceModel::atmosphere, PISMComponent::grid, and PISMComponent::init().

virtual PetscErrorCode update ( PetscReal  ,
PetscReal   
) [inline, virtual]

Update a model, if necessary.

Implements PISMComponent_TS.

Definition at line 107 of file PISMSurface.hh.

References PISMSurfaceModel::atmosphere, PISMComponent_TS::dt, PISMComponent_TS::t, and PISMComponent_TS::update().


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