#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"
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 [] |
| 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().
Definition at line 55 of file pclimate.cc.
References acab, PISMVars.add(), artm, IceModelVec2S.create(), fill_missing.mask, IceModelVec.set_attrs(), IceModelVec.set_glaciological_units(), thk, topg, and IceModelVec.write_in_glaciological_units.
Referenced by main().
| static PetscErrorCode doneWithIceInfo | ( | PISMVars & | variables | ) | [static] |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 282 of file pclimate.cc.
References PCFactory< Model, Modifier >.add_model(), PISMSurfaceModel.attach_atmosphere_model(), NCTool.close(), IceGrid.com, PCFactory< Model, Modifier >.create(), create_pa_eismint_greenland(), createVecs(), doneWithIceInfo(), IceGrid.end_year, NCTool.find_variable(), NCTool.get_dim_length(), help, PISMComponent.init(), PISMSurfaceModel.init(), NCVariable.init(), init_config(), vnreport.nc, NCTool.open_for_reading(), PISM_Revision, PISMOptionsReal(), PISMOptionsString(), NCConfigVariable.print(), IceGrid.rank, NCConfigVariable.read(), readIceInfoFromFile(), NCConfigVariable.set_flag(), setupIceGridFromFile(), show_usage_check_req_opts(), IceGrid.start_year, variables, verbosityLevelFromOptions(), verbPrintf(), writePCCStateAtTimes(), and IceGrid.year.
| 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] |
Definition at line 171 of file pclimate.cc.
References acab, NCTool.append_time(), artm, NCTool.close(), IceGrid.com, PISMVars.get(), PISMSurfaceModel.ice_surface_mass_flux(), PISMSurfaceModel.ice_surface_temperature(), NCVariable.init(), vnreport.nc, PISMIO.open_for_writing(), PISM_Revision, pism_username_prefix(), NCGlobalAttributes.prepend_history(), IceGrid.rank, NCVariable.set_string(), PISMOceanModel.shelf_base_mass_flux(), PISMOceanModel.shelf_base_temperature(), TEMPORARY_STRING_LENGTH, verbPrintf(), IceModelVec.write(), NCGlobalAttributes.write(), NCConfigVariable.write(), PISMComponent.write_diagnostic_fields(), PISMSurfaceModel.write_diagnostic_fields(), and NCTool.write_history().
Referenced by main().
char help[] [static] |
"Driver for testing PISM's boundary models without IceModel.\n"
Definition at line 19 of file pclimate.cc.
Referenced by main().
1.6.2-20100124