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

ageSystemCtx Class Reference

Tridiagonal linear system for vertical column of age (pure advection) problem. More...

Inheritance diagram for ageSystemCtx:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ageSystemCtx (PetscInt my_Mz, string my_prefix)
PetscErrorCode initAllColumns ()
PetscErrorCode solveThisColumn (PetscScalar **x, PetscErrorCode &pivoterrorindex)

Public Attributes

PetscScalar dx
PetscScalar dy
PetscScalar dtAge
PetscScalar dzEQ
PetscScalar * u
PetscScalar * v
PetscScalar * w
IceModelVec3 * tau3

Protected Attributes

PetscScalar nuEQ
bool initAllDone

Detailed Description

Tridiagonal linear system for vertical column of age (pure advection) problem.

Definition at line 25 of file iMage.cc.


Constructor & Destructor Documentation

ageSystemCtx ( PetscInt  my_Mz,
string  my_prefix 
)

Definition at line 51 of file iMage.cc.

References dtAge, dx, dy, dzEQ, initAllDone, tau3, u, v, and w.


Member Function Documentation

PetscErrorCode initAllColumns ( )

Definition at line 66 of file iMage.cc.

References dtAge, dx, dy, dzEQ, initAllDone, nuEQ, tau3, u, v, and w.

Referenced by IceModel::ageStep().

PetscErrorCode solveThisColumn ( PetscScalar **  x,
PetscErrorCode &  pivoterrorindex 
)

Member Data Documentation

PetscScalar dtAge

Definition at line 35 of file iMage.cc.

Referenced by IceModel::ageStep(), ageSystemCtx(), initAllColumns(), and solveThisColumn().

PetscScalar dx

Definition at line 35 of file iMage.cc.

Referenced by IceModel::ageStep(), ageSystemCtx(), initAllColumns(), and solveThisColumn().

PetscScalar dy

Definition at line 35 of file iMage.cc.

Referenced by IceModel::ageStep(), ageSystemCtx(), initAllColumns(), and solveThisColumn().

PetscScalar dzEQ

Definition at line 35 of file iMage.cc.

Referenced by IceModel::ageStep(), ageSystemCtx(), and initAllColumns().

bool initAllDone [protected]

Definition at line 47 of file iMage.cc.

Referenced by ageSystemCtx(), initAllColumns(), and solveThisColumn().

PetscScalar nuEQ [protected]

Definition at line 46 of file iMage.cc.

Referenced by initAllColumns(), and solveThisColumn().

IceModelVec3* tau3

Definition at line 43 of file iMage.cc.

Referenced by IceModel::ageStep(), ageSystemCtx(), initAllColumns(), and solveThisColumn().

PetscScalar* u

Definition at line 40 of file iMage.cc.

Referenced by IceModel::ageStep(), ageSystemCtx(), initAllColumns(), and solveThisColumn().

PetscScalar * v

Definition at line 40 of file iMage.cc.

Referenced by IceModel::ageStep(), ageSystemCtx(), initAllColumns(), and solveThisColumn().

PetscScalar * w

Definition at line 40 of file iMage.cc.

Referenced by IceModel::ageStep(), ageSystemCtx(), initAllColumns(), and solveThisColumn().


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