PISM, A Parallel Ice Sheet Model stable 0.4.1779
Classes | Functions

src/base/stressbalance/SSATestCase.hh File Reference

#include "SSA.hh"

Go to the source code of this file.

Classes

class  SSATestCase

Functions

PetscErrorCode init_shallow_grid (IceGrid &grid, PetscReal Lx, PetscReal Ly, PetscInt Mx, PetscInt My, Periodicity p)

Function Documentation

PetscErrorCode init_shallow_grid ( IceGrid &  grid,
PetscReal  Lx,
PetscReal  Ly,
PetscInt  Mx,
PetscInt  My,
Periodicity  p 
)

Helper function for initializing a grid with the given dimensions and periodicity. The grid is shallow (3 z-layers).

Initialize a uniform, shallow (3 z-levels), doubly periodic grid with half-widths (Lx,Ly) and Mx by My nodes for time-independent computations.

Definition at line 298 of file SSATestCase.cc.

References exactV::Mx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines