stable0.3/src/pclimate.cc File Reference

#include <set>
#include <ctime>
#include <string>
#include <sstream>
#include <vector>
#include <petscda.h>
#include "base/pism_const.hh"
#include "base/grid.hh"
#include "base/LocalInterpCtx.hh"
#include "base/PISMIO.hh"
#include "base/NCVariable.hh"
#include "coupler/PCFactory.hh"
#include "coupler/PISMAtmosphere.hh"
#include "coupler/PISMSurface.hh"
#include "coupler/PISMOcean.hh"
#include "eismint/pgrn_atmosphere.hh"
Include dependency graph for pclimate.cc:

Go to the source code of this file.

Functions

static void create_pa_eismint_greenland (IceGrid &g, const NCConfigVariable &conf, PISMAtmosphereModel *&result)
static PetscErrorCode setupIceGridFromFile (string filename, IceGrid &grid)
static PetscErrorCode createVecs (IceGrid &grid, PISMVars &variables)
static PetscErrorCode readIceInfoFromFile (const char *filename, int start, PISMVars &variables)
static PetscErrorCode doneWithIceInfo (PISMVars &variables)
static PetscErrorCode writePCCStateAtTimes (PISMVars &variables, PISMSurfaceModel *surface, PISMOceanModel *ocean, const char *filename, IceGrid *grid, int argc, char *argv[], PetscReal ys, PetscReal ye, PetscReal dt_years, NCConfigVariable &mapping)
int main (int argc, char *argv[])

Variables

static char help []

Function Documentation

static void create_pa_eismint_greenland ( IceGrid g,
const NCConfigVariable conf,
PISMAtmosphereModel *&  result 
) [static]

Definition at line 40 of file pclimate.cc.

Referenced by main().

static PetscErrorCode createVecs ( IceGrid grid,
PISMVars variables 
) [static]
static PetscErrorCode doneWithIceInfo ( PISMVars variables  )  [static]

Definition at line 152 of file pclimate.cc.

References PISMVars.get().

Referenced by main().

int main ( int  argc,
char *  argv[] 
)
static PetscErrorCode readIceInfoFromFile ( const char *  filename,
int  start,
PISMVars variables 
) [static]

Definition at line 137 of file pclimate.cc.

References PISMVars.get(), and IceModelVec.read().

Referenced by main().

static PetscErrorCode setupIceGridFromFile ( string  filename,
IceGrid grid 
) [static]

Definition at line 46 of file pclimate.cc.

References IceGrid.createDA(), PISMIO.get_grid(), and vnreport.nc.

Referenced by main().

static PetscErrorCode writePCCStateAtTimes ( PISMVars variables,
PISMSurfaceModel surface,
PISMOceanModel ocean,
const char *  filename,
IceGrid grid,
int  argc,
char *  argv[],
PetscReal  ys,
PetscReal  ye,
PetscReal  dt_years,
NCConfigVariable mapping 
) [static]

Variable Documentation

char help[] [static]
Initial value:
 
  "Driver for testing PISM's boundary models without IceModel.\n"

Definition at line 19 of file pclimate.cc.

Referenced by main().

 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Defines
Generated by  doxygen 1.6.2-20100124