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

CustomGlenIce Class Reference

Isothermal Glen ice allowing extra customization. More...

#include <flowlaws.hh>

Inheritance diagram for CustomGlenIce:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CustomGlenIce (MPI_Comm c, const char pre[], const NCConfigVariable &config)
virtual ~CustomGlenIce ()
virtual PetscReal softnessParameter_from_enth (PetscReal, PetscReal) const
virtual PetscReal softnessParameter_from_temp (PetscReal) const
virtual PetscReal hardnessParameter_from_enth (PetscReal, PetscReal) const
virtual PetscReal hardnessParameter_from_temp (PetscReal) const
virtual PetscReal averagedHardness_from_enth (PetscReal, PetscInt, const PetscReal *, const PetscReal *) const
virtual PetscReal flow_from_enth (PetscReal stress, PetscReal, PetscReal, PetscReal) const
 The flow law itself.
virtual PetscReal flow_from_temp (PetscReal stress, PetscReal, PetscReal, PetscReal) const
virtual void setHardness (PetscReal hardness)
virtual void setSoftness (PetscReal softness)
virtual void setExponent (PetscReal exponent)
virtual void setDensity (PetscReal density)
virtual void setSchoofRegularization (PetscReal vel_peryear, PetscReal len_km)

Protected Attributes

PetscReal softness_A
PetscReal hardness_B

Detailed Description

Isothermal Glen ice allowing extra customization.

Definition at line 152 of file flowlaws.hh.


Constructor & Destructor Documentation

CustomGlenIce ( MPI_Comm  c,
const char  pre[],
const NCConfigVariable &  config 
)
virtual ~CustomGlenIce ( ) [inline, virtual]

Definition at line 155 of file flowlaws.hh.


Member Function Documentation

virtual PetscReal averagedHardness_from_enth ( PetscReal  thickness,
PetscInt  kbelowH,
const PetscReal zlevels,
const PetscReal enthalpy 
) const [inline, virtual]

Computes vertical average of B(E,pressure) ice hardness, namely $\bar B(E,p)$. See comment for hardnessParameter(). /*! Note E[0],...,E[kbelowH] must be valid.

Reimplemented from IceFlowLaw.

Definition at line 166 of file flowlaws.hh.

References hardness_B.

virtual PetscReal flow_from_enth ( PetscReal  stress,
PetscReal  E,
PetscReal  pressure,
PetscReal  grainsize 
) const [inline, virtual]

The flow law itself.

Reimplemented from ThermoGlenIce.

Definition at line 170 of file flowlaws.hh.

References IceFlowLaw::n, and softness_A.

virtual PetscReal flow_from_temp ( PetscReal  stress,
PetscReal  ,
PetscReal  ,
PetscReal   
) const [inline, virtual]

Reimplemented from ThermoGlenIce.

Definition at line 174 of file flowlaws.hh.

References IceFlowLaw::n, and softness_A.

virtual PetscReal hardnessParameter_from_enth ( PetscReal  ,
PetscReal   
) const [inline, virtual]

Reimplemented from IceFlowLaw.

Definition at line 162 of file flowlaws.hh.

References hardness_B.

virtual PetscReal hardnessParameter_from_temp ( PetscReal  ) const [inline, virtual]

Reimplemented from ThermoGlenIce.

Definition at line 164 of file flowlaws.hh.

References hardness_B.

virtual void setDensity ( PetscReal  density) [virtual]
virtual void setExponent ( PetscReal  exponent) [virtual]
virtual void setHardness ( PetscReal  hardness) [virtual]
virtual void setSchoofRegularization ( PetscReal  vel_peryear,
PetscReal  len_km 
) [virtual]
virtual void setSoftness ( PetscReal  softness) [virtual]
virtual PetscReal softnessParameter_from_enth ( PetscReal  ,
PetscReal   
) const [inline, virtual]

Reimplemented from ThermoGlenIce.

Definition at line 157 of file flowlaws.hh.

References softness_A.

virtual PetscReal softnessParameter_from_temp ( PetscReal  ) const [inline, virtual]

Reimplemented from ThermoGlenIce.

Definition at line 159 of file flowlaws.hh.

References softness_A.

Referenced by IceMISMIPModel::initFromFile(), and IceMISMIPModel::set_vars_from_options().


Member Data Documentation

PetscReal hardness_B [protected]
PetscReal softness_A [protected]

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