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

ICMEnthalpyConverter Class Reference

An EnthalpyConverter for use in verification tests. More...

#include <enthalpyConverter.hh>

Inheritance diagram for ICMEnthalpyConverter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ICMEnthalpyConverter (const NCConfigVariable &config)
virtual ~ICMEnthalpyConverter ()
virtual double getMeltingTemp (double) const
virtual PetscErrorCode getAbsTemp (double E, double, double &T) const
virtual PetscErrorCode getWaterFraction (double, double, double &omega) const
virtual PetscErrorCode getEnth (double T, double, double, double &E) const
virtual PetscErrorCode getEnthPermissive (double T, double, double, double &E) const
virtual PetscErrorCode getEnthAtWaterFraction (double, double p, double &E) const
virtual bool isTemperate (double, double) const

Detailed Description

An EnthalpyConverter for use in verification tests.

Treats ice at any temperature as cold (= zero liquid fraction). Makes absolute temperature (in K) and enthalpy proportional: $E = c_i (T - T_0)$.

The pressure dependence of the pressure-melting temperature is neglected.

Note: Any instance of IceFlowLaw uses an EnthalpyConverter, and it is this one when in verification mode.

Definition at line 97 of file enthalpyConverter.hh.


Constructor & Destructor Documentation

ICMEnthalpyConverter ( const NCConfigVariable &  config) [inline]

Definition at line 99 of file enthalpyConverter.hh.

References EnthalpyConverter::do_cold_ice_methods.

virtual ~ICMEnthalpyConverter ( ) [inline, virtual]

Definition at line 103 of file enthalpyConverter.hh.


Member Function Documentation

virtual PetscErrorCode getAbsTemp ( double  E,
double  ,
double &  T 
) const [inline, virtual]

Reimplemented from EnthalpyConverter.

Definition at line 110 of file enthalpyConverter.hh.

References EnthalpyConverter::c_i, and EnthalpyConverter::T_0.

virtual PetscErrorCode getEnth ( double  T,
double  ,
double  ,
double &  E 
) const [inline, virtual]

Reimplemented from EnthalpyConverter.

Definition at line 122 of file enthalpyConverter.hh.

References EnthalpyConverter::c_i, and EnthalpyConverter::T_0.

virtual PetscErrorCode getEnthAtWaterFraction ( double  ,
double  p,
double &  E 
) const [inline, virtual]

Reimplemented from EnthalpyConverter.

Definition at line 134 of file enthalpyConverter.hh.

References EnthalpyConverter::getEnthalpyCTS().

virtual PetscErrorCode getEnthPermissive ( double  T,
double  ,
double  ,
double &  E 
) const [inline, virtual]

Reimplemented from EnthalpyConverter.

Definition at line 128 of file enthalpyConverter.hh.

References EnthalpyConverter::c_i, and EnthalpyConverter::T_0.

virtual double getMeltingTemp ( double  ) const [inline, virtual]

Reimplemented from EnthalpyConverter.

Definition at line 106 of file enthalpyConverter.hh.

References EnthalpyConverter::T_melting.

virtual PetscErrorCode getWaterFraction ( double  ,
double  ,
double &  omega 
) const [inline, virtual]

Reimplemented from EnthalpyConverter.

Definition at line 116 of file enthalpyConverter.hh.

virtual bool isTemperate ( double  ,
double   
) const [inline, virtual]

Reimplemented from EnthalpyConverter.

Definition at line 140 of file enthalpyConverter.hh.


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