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

IceModelVec3BTU Class Reference

Class for a 3d DA-based Vec for PISMBedThermalUnit. More...

#include <bedrockThermalUnit.hh>

Inheritance diagram for IceModelVec3BTU:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 IceModelVec3BTU ()
virtual ~IceModelVec3BTU ()
virtual PetscErrorCode create (IceGrid &mygrid, const char my_short_name[], bool local, int myMbz, PetscReal myLbz, int stencil_width=1)
virtual PetscErrorCode get_layer_depth (PetscReal &depth)
 Return -Lbz value.
virtual PetscErrorCode get_spacing (PetscReal &dzb)

Private Member Functions

bool good_init ()

Private Attributes

PetscReal Lbz

Detailed Description

Class for a 3d DA-based Vec for PISMBedThermalUnit.

Definition at line 28 of file bedrockThermalUnit.hh.


Constructor & Destructor Documentation

IceModelVec3BTU ( ) [inline]

Definition at line 30 of file bedrockThermalUnit.hh.

References Lbz.

virtual ~IceModelVec3BTU ( ) [inline, virtual]

Definition at line 31 of file bedrockThermalUnit.hh.


Member Function Documentation

PetscErrorCode create ( IceGrid &  mygrid,
const char  my_short_name[],
bool  local,
int  myMbz,
PetscReal  myLbz,
int  stencil_width = 1 
) [virtual]

Definition at line 27 of file bedrockThermalUnit.cc.

References good_init(), Lbz, and exactV::v().

Referenced by PISMBedThermalUnit::allocate().

PetscErrorCode get_layer_depth ( PetscReal depth) [virtual]

Return -Lbz value.

Definition at line 75 of file bedrockThermalUnit.cc.

References good_init(), and Lbz.

PetscErrorCode get_spacing ( PetscReal dzb) [virtual]
bool good_init ( ) [private]

Definition at line 22 of file bedrockThermalUnit.cc.

References Lbz, and exactV::v().

Referenced by create(), get_layer_depth(), and get_spacing().


Member Data Documentation

PetscReal Lbz [private]

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