|
PISM, A Parallel Ice Sheet Model stable 0.4.1779
|
Derived class for Plastic till ice Stream with Thermocoupling (PST) experiments. More...
#include <icePSTexModel.hh>

Public Member Functions | |
| IcePSTexModel (IceGrid &g, NCConfigVariable &conf, NCConfigVariable &conf_overrides) | |
| virtual | ~IcePSTexModel () |
| virtual PetscErrorCode | setFromOptions () |
| Read runtime (command line) options and alter the corresponding parameters or flags as appropriate. | |
| virtual PetscErrorCode | allocate_basal_yield_stress () |
| Decide which basal yield stress model to use. | |
| virtual PetscErrorCode | allocate_stressbalance () |
| Decide which stress balance model to use. | |
| virtual PetscErrorCode | initFromFile (const char *fname) |
| Read a saved PISM model state in NetCDF format, for complete initialization of an evolution or diagnostic run. | |
| virtual PetscErrorCode | set_vars_from_options () |
| Only executed if NOT initialized from file (-i). | |
| virtual PetscErrorCode | additionalAtEndTimestep () |
Virtual. Does nothing in IceModel. Derived classes can do more computation in each time step. | |
Protected Member Functions | |
| PetscErrorCode | setBedElev () |
| PetscErrorCode | prepare_series () |
Protected Attributes | |
| char | exper_chosen_name [10] |
| int | exper_chosen |
| char | seriesname [PETSC_MAX_PATH_LEN] |
| DiagnosticTimeseries * | ivol |
| DiagnosticTimeseries * | iarea |
| DiagnosticTimeseries * | dt_ser |
| DiagnosticTimeseries * | maxcbar |
| DiagnosticTimeseries * | avup0 |
| DiagnosticTimeseries * | avup1 |
| DiagnosticTimeseries * | avup2 |
| DiagnosticTimeseries * | avup3 |
| DiagnosticTimeseries * | avdwn0 |
| DiagnosticTimeseries * | avdwn1 |
| DiagnosticTimeseries * | avdwn2 |
| DiagnosticTimeseries * | avdwn3 |
Derived class for Plastic till ice Stream with Thermocoupling (PST) experiments.
Runs numerical experiments reported in BBssasliding .
There are four experiments, P1,P2,P3,P4. Each has four (three for P2) ice streams generated by lowered till friction angle.
(This derived class supercedes an older class which produced results presented by Bueler at AGU 2007 and at NYU in Feb 2008. IcePSTexModel has no "lake" or "fjord", which were present in the old version.)
Definition at line 38 of file icePSTexModel.hh.
| IcePSTexModel | ( | IceGrid & | g, |
| NCConfigVariable & | conf, | ||
| NCConfigVariable & | conf_overrides | ||
| ) |
Definition at line 128 of file icePSTexModel.cc.
References IceEISModel::expername, and ivol.
| ~IcePSTexModel | ( | ) | [virtual] |
| PetscErrorCode additionalAtEndTimestep | ( | ) | [virtual] |
Virtual. Does nothing in IceModel. Derived classes can do more computation in each time step.
Reimplemented from IceModel.
Definition at line 420 of file icePSTexModel.cc.
References avdwn0, avdwn1, avdwn2, avdwn3, avup0, avup1, avup2, avup3, IceModel::diagnostics, IceModel::dt, dt_ser, exper_chosen, IceModel::grid, iarea, inStream(), ivol, maxcbar, pi, stream_angle_P2, stream_change, ExperDescription::stream_width, IceModel::vH, IceModel::volumeArea(), and exactV::x.
| PetscErrorCode allocate_basal_yield_stress | ( | ) | [virtual] |
Decide which basal yield stress model to use.
Reimplemented from IceModel.
Definition at line 319 of file icePSTexModel.cc.
References IceModel::basal_yield_stress, IceModel::config, exper_chosen, exper_chosen_name, and IceModel::grid.
| PetscErrorCode allocate_stressbalance | ( | ) | [virtual] |
Decide which stress balance model to use.
Reimplemented from IceEISModel.
Definition at line 329 of file icePSTexModel.cc.
References PISMStressBalance::get_stressbalance(), secpera, SSAStrengthExtension::set_notional_strength(), SSA::strength_extension, and IceModel::stress_balance.
| PetscErrorCode initFromFile | ( | const char * | filename | ) | [virtual] |
Read a saved PISM model state in NetCDF format, for complete initialization of an evolution or diagnostic run.
Before this is run, the method IceModel::grid_setup() determines the number of grid points (Mx,My,Mz,Mbz) and the dimensions (Lx,Ly,Lz) of the computational box from the same input file.
Reimplemented from IceModel.
Definition at line 349 of file icePSTexModel.cc.
References exper_chosen_name, and IceModel::grid.
| PetscErrorCode prepare_series | ( | ) | [protected] |
Definition at line 153 of file icePSTexModel.cc.
References avdwn0, avdwn1, avdwn2, avdwn3, avup0, avup1, avup2, avup3, dt_ser, exper_chosen, IceModel::grid, iarea, ivol, maxcbar, vnreport::nc, and seriesname.
Referenced by setFromOptions().
| PetscErrorCode set_vars_from_options | ( | ) | [virtual] |
Only executed if NOT initialized from file (-i).
Reimplemented from IceEISModel.
Definition at line 369 of file icePSTexModel.cc.
References exper_chosen_name, IceModel::grid, and setBedElev().
| PetscErrorCode setBedElev | ( | ) | [protected] |
Definition at line 386 of file icePSTexModel.cc.
References ExperDescription::bed_end_depth, exper_chosen, IceModel::grid, inStream(), pi, stream_length, IceModel::vbed, and exactV::x.
Referenced by set_vars_from_options().
| 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 IceEISModel.
Definition at line 261 of file icePSTexModel.cc.
References IceModel::config, DEFAULT_PHI_STRONG, exper_chosen, exper_chosen_name, IceModel::grid, Nexpers, prepare_series(), and IceModel::updateHmelt.
DiagnosticTimeseries * avdwn0 [protected] |
Definition at line 60 of file icePSTexModel.hh.
Referenced by additionalAtEndTimestep(), prepare_series(), and ~IcePSTexModel().
DiagnosticTimeseries * avdwn1 [protected] |
Definition at line 60 of file icePSTexModel.hh.
Referenced by additionalAtEndTimestep(), prepare_series(), and ~IcePSTexModel().
DiagnosticTimeseries * avdwn2 [protected] |
Definition at line 60 of file icePSTexModel.hh.
Referenced by additionalAtEndTimestep(), prepare_series(), and ~IcePSTexModel().
DiagnosticTimeseries * avdwn3 [protected] |
Definition at line 60 of file icePSTexModel.hh.
Referenced by additionalAtEndTimestep(), prepare_series(), and ~IcePSTexModel().
DiagnosticTimeseries * avup0 [protected] |
Definition at line 60 of file icePSTexModel.hh.
Referenced by additionalAtEndTimestep(), prepare_series(), and ~IcePSTexModel().
DiagnosticTimeseries * avup1 [protected] |
Definition at line 60 of file icePSTexModel.hh.
Referenced by additionalAtEndTimestep(), prepare_series(), and ~IcePSTexModel().
DiagnosticTimeseries * avup2 [protected] |
Definition at line 60 of file icePSTexModel.hh.
Referenced by additionalAtEndTimestep(), prepare_series(), and ~IcePSTexModel().
DiagnosticTimeseries * avup3 [protected] |
Definition at line 60 of file icePSTexModel.hh.
Referenced by additionalAtEndTimestep(), prepare_series(), and ~IcePSTexModel().
DiagnosticTimeseries * dt_ser [protected] |
Definition at line 60 of file icePSTexModel.hh.
Referenced by additionalAtEndTimestep(), prepare_series(), and ~IcePSTexModel().
int exper_chosen [protected] |
Definition at line 52 of file icePSTexModel.hh.
Referenced by additionalAtEndTimestep(), allocate_basal_yield_stress(), prepare_series(), setBedElev(), setFromOptions(), and ~IcePSTexModel().
char exper_chosen_name[10] [protected] |
Definition at line 51 of file icePSTexModel.hh.
Referenced by allocate_basal_yield_stress(), initFromFile(), set_vars_from_options(), and setFromOptions().
DiagnosticTimeseries * iarea [protected] |
Definition at line 60 of file icePSTexModel.hh.
Referenced by additionalAtEndTimestep(), prepare_series(), and ~IcePSTexModel().
DiagnosticTimeseries* ivol [protected] |
Definition at line 60 of file icePSTexModel.hh.
Referenced by additionalAtEndTimestep(), IcePSTexModel(), prepare_series(), and ~IcePSTexModel().
DiagnosticTimeseries * maxcbar [protected] |
Definition at line 60 of file icePSTexModel.hh.
Referenced by additionalAtEndTimestep(), prepare_series(), and ~IcePSTexModel().
char seriesname[PETSC_MAX_PATH_LEN] [protected] |
Definition at line 58 of file icePSTexModel.hh.
Referenced by prepare_series().
1.7.3