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

PAModifier Class Reference

#include <PISMAtmosphere.hh>

Inheritance diagram for PAModifier:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 PAModifier (IceGrid &g, const NCConfigVariable &conf, PISMAtmosphereModel *in)
virtual ~PAModifier ()
virtual PetscErrorCode mean_precip (IceModelVec2S &result)
 Sets result to the mean precipitation, in m/s ice equivalent.
virtual PetscErrorCode mean_annual_temp (IceModelVec2S &result)
 Sets result to the mean annual near-surface air temperature, in degrees Kelvin.
virtual PetscErrorCode begin_pointwise_access ()
virtual PetscErrorCode end_pointwise_access ()
virtual PetscErrorCode temp_time_series (int i, int j, int N, PetscReal *ts, PetscReal *values)
 Sets a pre-allocated N-element array "values" to the time-series of near-surface air temperature (degrees Kelvin) at the point i,j on the grid. Times (in years) are specified in ts. NB! Has to be surrounded by begin_pointwise_access() and end_pointwise_access()
virtual PetscErrorCode temp_snapshot (IceModelVec2S &result)
 Sets result to a snapshot of temperature for the time t_years. (For disgnostic purposes.)

Detailed Description

Definition at line 141 of file PISMAtmosphere.hh.


Constructor & Destructor Documentation

PAModifier ( IceGrid &  g,
const NCConfigVariable &  conf,
PISMAtmosphereModel in 
) [inline]

Definition at line 144 of file PISMAtmosphere.hh.

virtual ~PAModifier ( ) [inline, virtual]

Definition at line 146 of file PISMAtmosphere.hh.


Member Function Documentation

virtual PetscErrorCode begin_pointwise_access ( ) [inline, virtual]
virtual PetscErrorCode end_pointwise_access ( ) [inline, virtual]
virtual PetscErrorCode mean_annual_temp ( IceModelVec2S &  result) [inline, virtual]

Sets result to the mean annual near-surface air temperature, in degrees Kelvin.

Implements PISMAtmosphereModel.

Reimplemented in PALapseRates, PAForcing, and PAdTforcing.

Definition at line 154 of file PISMAtmosphere.hh.

References Modifier< PISMAtmosphereModel >::input_model, and PISMAtmosphereModel::mean_annual_temp().

virtual PetscErrorCode mean_precip ( IceModelVec2S &  result) [inline, virtual]

Sets result to the mean precipitation, in m/s ice equivalent.

Implements PISMAtmosphereModel.

Reimplemented in PALapseRates, and PAForcing.

Definition at line 148 of file PISMAtmosphere.hh.

References Modifier< PISMAtmosphereModel >::input_model, and PISMAtmosphereModel::mean_precip().

virtual PetscErrorCode temp_snapshot ( IceModelVec2S &  result) [inline, virtual]

Sets result to a snapshot of temperature for the time t_years. (For disgnostic purposes.)

Implements PISMAtmosphereModel.

Reimplemented in PALapseRates, PAForcing, and PAdTforcing.

Definition at line 179 of file PISMAtmosphere.hh.

References Modifier< PISMAtmosphereModel >::input_model, and PISMAtmosphereModel::temp_snapshot().

virtual PetscErrorCode temp_time_series ( int  i,
int  j,
int  N,
PetscReal ts,
PetscReal values 
) [inline, virtual]

Sets a pre-allocated N-element array "values" to the time-series of near-surface air temperature (degrees Kelvin) at the point i,j on the grid. Times (in years) are specified in ts. NB! Has to be surrounded by begin_pointwise_access() and end_pointwise_access()

Implements PISMAtmosphereModel.

Reimplemented in PALapseRates, PAForcing, and PAdTforcing.

Definition at line 172 of file PISMAtmosphere.hh.

References Modifier< PISMAtmosphereModel >::input_model, and PISMAtmosphereModel::temp_time_series().


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