|
PISM, A Parallel Ice Sheet Model stable 0.4.1779
|
Derived class for doing EISMINT II simplified geometry experiments. More...
#include <iceEISModel.hh>

Public Member Functions | |
| IceEISModel (IceGrid &g, NCConfigVariable &config, NCConfigVariable &overrides) | |
| virtual PetscErrorCode | setFromOptions () |
| Read runtime (command line) options and alter the corresponding parameters or flags as appropriate. | |
| virtual PetscErrorCode | createVecs () |
| Allocate all IceModelVecs defined in IceModel. | |
| virtual PetscErrorCode | set_grid_defaults () |
| Only executed if NOT initialized from file (-i). | |
| virtual PetscErrorCode | set_vars_from_options () |
| Only executed if NOT initialized from file (-i). | |
| virtual PetscErrorCode | allocate_flowlaw () |
| Decide which flow law to use. | |
| virtual PetscErrorCode | allocate_stressbalance () |
| Decide which stress balance model to use. | |
| virtual PetscErrorCode | init_couplers () |
| Initializes atmosphere and ocean couplers. | |
Protected Member Functions | |
| virtual PetscErrorCode | set_expername_from_options () |
| Option -eisII determines the single character name of EISMINT II experiments. | |
| virtual PetscErrorCode | generateTroughTopography () |
| virtual PetscErrorCode | generateMoundTopography () |
Protected Attributes | |
| char | expername |
| PetscScalar | M_max |
| PetscScalar | R_el |
| PetscScalar | T_min |
| PetscScalar | T_max |
| PetscScalar | S_b |
| PetscScalar | S_T |
Derived class for doing EISMINT II simplified geometry experiments.
These experiments use the thermomechanically-coupled, non-polythermal shallow ice approximation. Experiment H does not recommended SIA-sliding paradigm. See EISMINT00 and Appendix B of BBssasliding.
Definition at line 33 of file iceEISModel.hh.
| IceEISModel | ( | IceGrid & | g, |
| NCConfigVariable & | config, | ||
| NCConfigVariable & | overrides | ||
| ) |
Definition at line 25 of file iceEISModel.cc.
References IceModel::config, and expername.
| PetscErrorCode allocate_flowlaw | ( | ) | [virtual] |
Decide which flow law to use.
Reimplemented from IceModel.
Definition at line 175 of file iceEISModel.cc.
References IceFlowLaw::c_p, IceModel::config, IceModel::ice, ICE_PB, IceModel::iceFactory, IceFlowLaw::k, IceFlowLaw::rho, and IceFlowLawFactory::setType().
| PetscErrorCode allocate_stressbalance | ( | ) | [virtual] |
Decide which stress balance model to use.
Reimplemented from IceModel.
Reimplemented in IcePSTexModel.
Definition at line 194 of file iceEISModel.cc.
References IceModel::basal, IceModel::config, IceModel::EC, expername, IceModel::grid, IceModel::ice, PISMStressBalance::init(), PISMStressBalance::set_basal_melt_rate(), IceModel::stress_balance, IceModel::variables, and IceModel::vbmr.
| PetscErrorCode createVecs | ( | ) | [virtual] |
Allocate all IceModelVecs defined in IceModel.
This procedure allocates the memory used to store model state, diagnostic and work vectors and sets metadata.
Default values should not be set here; please use set_vars_from_options().
All the memory allocated here is freed by IceModelVecs' destructors.
Reimplemented from IceModel.
Definition at line 39 of file iceEISModel.cc.
References IceModel::acab, and IceModel::artm.
| PetscErrorCode generateMoundTopography | ( | ) | [protected, virtual] |
Definition at line 292 of file iceEISModel.cc.
References IceModel::grid, pi, and IceModel::vbed.
Referenced by set_vars_from_options().
| PetscErrorCode generateTroughTopography | ( | ) | [protected, virtual] |
Definition at line 261 of file iceEISModel.cc.
References b0, IceModel::grid, L, pi, and IceModel::vbed.
Referenced by set_vars_from_options().
| PetscErrorCode init_couplers | ( | ) | [virtual] |
Initializes atmosphere and ocean couplers.
Reimplemented from IceModel.
Definition at line 228 of file iceEISModel.cc.
References IceModel::acab, IceModel::artm, expername, IceModel::grid, M_max, R_el, S_b, S_T, and T_min.
| PetscErrorCode set_expername_from_options | ( | ) | [protected, virtual] |
Option -eisII determines the single character name of EISMINT II experiments.
Example is "-eisII F". Defaults to experiment A.
Definition at line 62 of file iceEISModel.cc.
References IceModel::config, expername, and IceModel::grid.
Referenced by setFromOptions().
| PetscErrorCode set_grid_defaults | ( | ) | [virtual] |
Only executed if NOT initialized from file (-i).
Reimplemented from IceModel.
Definition at line 52 of file iceEISModel.cc.
References IceModel::grid.
| PetscErrorCode set_vars_from_options | ( | ) | [virtual] |
Only executed if NOT initialized from file (-i).
Reimplemented from IceModel.
Reimplemented in IcePSTexModel.
Definition at line 316 of file iceEISModel.cc.
References expername, generateMoundTopography(), generateTroughTopography(), IceModel::grid, IceModel::putTempAtDepth(), IceModel::regrid(), IceModel::updateSurfaceElevationAndMask(), IceModel::vbed, IceModel::vbmr, IceModel::vGhf, IceModel::vH, IceModel::vh, IceModel::vHmelt, and IceModel::vuplift.
| PetscErrorCode setFromOptions | ( | ) | [virtual] |
Read runtime (command line) options and alter the corresponding parameters or flags as appropriate.
A critical principle of this procedure is that it will not alter IceModel parameters and flags unless the user sets an option to do so. This base class setFromOptions() can be called by an IceModel-derived class after the it has set its own defaults.
In fact this procedure only reads the majority of the options. Some are read in initFromOptions(), writeFiles(), and setStartRunEndYearsFromOptions(), among other places.
There are no options to directly set dx, dy, dz, Lbz, and year as the user should not directly set these grid parameters. There are, however, options for directly setting Mx, My, Mz, Mbz and also Lx, Ly, Lz.
Note that additional options are read by PISM{Atmosphere|Surface|Ocean}Model instances, including -pdd... and -d?forcing options.
Reimplemented from IceModel.
Reimplemented in IcePSTexModel.
Definition at line 92 of file iceEISModel.cc.
References IceModel::config, e, expername, IceModel::grid, M_max, R_el, S_b, S_T, secpera, set_expername_from_options(), T_max, T_min, and IceModel::updateHmelt.
char expername [protected] |
Definition at line 45 of file iceEISModel.hh.
Referenced by allocate_stressbalance(), IceEISModel(), IcePSTexModel::IcePSTexModel(), init_couplers(), set_expername_from_options(), set_vars_from_options(), and setFromOptions().
PetscScalar M_max [protected] |
Definition at line 48 of file iceEISModel.hh.
Referenced by init_couplers(), and setFromOptions().
PetscScalar R_el [protected] |
Definition at line 48 of file iceEISModel.hh.
Referenced by init_couplers(), and setFromOptions().
PetscScalar S_b [protected] |
Definition at line 48 of file iceEISModel.hh.
Referenced by init_couplers(), and setFromOptions().
PetscScalar S_T [protected] |
Definition at line 48 of file iceEISModel.hh.
Referenced by init_couplers(), and setFromOptions().
PetscScalar T_max [protected] |
Definition at line 48 of file iceEISModel.hh.
Referenced by setFromOptions().
PetscScalar T_min [protected] |
Definition at line 48 of file iceEISModel.hh.
Referenced by init_couplers(), and setFromOptions().
1.7.3