Describes the PISM grid and the distribution of data across processors. More...
#include <grid.hh>
Public Member Functions | |
| IceGrid (MPI_Comm c, PetscMPIInt r, PetscMPIInt s, const NCConfigVariable &config) | |
| ~IceGrid () | |
| PetscErrorCode | createDA () |
Create the PETSc DA da2 for the horizontal grid. Determine how the horizontal grid is divided among processors. | |
| PetscErrorCode | createDA (PetscInt procs_x, PetscInt procs_y, PetscInt *&lx, PetscInt *&ly) |
| PetscErrorCode | set_vertical_levels (int Mz, int Mbz, double *z_levels, double *zb_levels) |
| Sets grid vertical levels, Mz, Mbz, Lz and Lbz. Checks input for consistency. | |
| PetscErrorCode | compute_vertical_levels () |
| Compute vertical levels in both ice and bedrock. | |
| PetscErrorCode | compute_ice_vertical_levels () |
| Set the vertical levels in the ice according to values in Mz, Lz, and the ice_vertical_spacing data member. | |
| PetscErrorCode | compute_bed_vertical_levels () |
| Compute vertical levels in the bedrock. | |
| PetscErrorCode | compute_horizontal_spacing () |
Compute horizontal spacing parameters dx and dy using Mx, My, Lx, Ly and periodicity. | |
| PetscErrorCode | compute_horizontal_coordinates (double *&x, double *&y) |
| Computes values of x and y corresponding to the computational grid, with accounting for periodicity. | |
| PetscErrorCode | printInfo (int verbosity) |
| Print to stdout information on computational domain and grid (other than the vertical levels themselves). | |
| PetscErrorCode | printVertLevels (int verbosity) |
Print the vertical levels in zlevels[] and zblevels[] to stdout. | |
| PetscInt | kBelowHeight (PetscScalar height) |
Return the index k into zlevels[] so that zlevels[k] <= height < zlevels[k+1] and k < Mz. | |
Public Attributes | |
| MPI_Comm | com |
| PetscMPIInt | rank |
| PetscMPIInt | size |
| DA | da2 |
| PetscInt | xs |
| PetscInt | xm |
| PetscInt | ys |
| PetscInt | ym |
| PetscScalar * | zlevels |
| PetscScalar * | zblevels |
| PetscScalar * | zlevels_fine |
| PetscScalar * | zblevels_fine |
| PetscScalar | dz_fine |
| PetscInt | Mz_fine |
| PetscInt | Mbz_fine |
| PetscInt * | ice_storage2fine |
| PetscInt * | ice_fine2storage |
| PetscInt * | bed_storage2fine |
| PetscInt * | bed_fine2storage |
| SpacingType | ice_vertical_spacing |
| SpacingType | bed_vertical_spacing |
| Periodicity | periodicity |
| PetscScalar | dzMIN |
| PetscScalar | dzMAX |
| PetscScalar | dzbMIN |
| PetscScalar | dzbMAX |
| PetscScalar | x0 |
| PetscScalar | y0 |
| PetscScalar | Lx |
| PetscScalar | Ly |
| PetscInt | Mx |
| PetscInt | My |
| PetscInt | Nx |
| PetscInt | Ny |
| PetscScalar | dx |
| PetscScalar | dy |
| PetscScalar | Lz |
| PetscScalar | Lbz |
| PetscInt | Mz |
| PetscInt | Mbz |
| PetscInt | initial_Mz |
| PetscScalar | year |
| current time (years) | |
| PetscScalar | start_year |
| the year this run started from | |
| PetscScalar | end_year |
| time to stop at | |
Protected Attributes | |
| PetscScalar | lambda |
Private Member Functions | |
| void | compute_nprocs () |
| PetscErrorCode | get_dzMIN_dzMAX_spacingtype () |
From given vertical grid zlevels[], determine dzMIN, dzMAX, dzbMIN, dzbMAX and determine whether ice and bedrock vertical spacings are equal. | |
| PetscErrorCode | compute_fine_vertical_grid () |
| Computes fine vertical spacing in the ice and bedrock. | |
| PetscErrorCode | init_interpolation () |
Describes the PISM grid and the distribution of data across processors.
This class holds parameters describing the grid, including the vertical spacing and which part of the horizontal grid is owned by the processor. It contains the dimensions of the PISM (4-dimensional, x*y*z*time) computational box. The vertical spacing can be quite arbitrary.
It creates and destroys a two dimensional PETSc DA (distributed array). The creation of this DA is the point at which PISM gets distributed across multiple processors.
It computes grid parameters for the fine and equally-spaced vertical grid used in the conservation of energy and age equations.
Definition at line 42 of file grid.hh.
| IceGrid | ( | MPI_Comm | c, | |
| PetscMPIInt | r, | |||
| PetscMPIInt | s, | |||
| const NCConfigVariable & | config | |||
| ) |
Definition at line 23 of file grid.cc.
References bed_fine2storage, bed_storage2fine, bed_vertical_spacing, com, compute_horizontal_spacing(), compute_vertical_levels(), da2, end_year, EQUAL, NCConfigVariable.get(), NCConfigVariable.get_string(), ice_fine2storage, ice_storage2fine, ice_vertical_spacing, initial_Mz, lambda, Lbz, Lx, Ly, Lz, Mbz, Mbz_fine, Mx, My, Mz, Mz_fine, NONE, Nx, Ny, periodicity, QUADRATIC, start_year, x0, X_PERIODIC, XY_PERIODIC, y0, Y_PERIODIC, year, zblevels, zblevels_fine, zlevels, and zlevels_fine.
| ~IceGrid | ( | ) |
Definition at line 108 of file grid.cc.
References bed_fine2storage, bed_storage2fine, da2, ice_fine2storage, ice_storage2fine, zblevels, zblevels_fine, zlevels, and zlevels_fine.
| PetscErrorCode compute_bed_vertical_levels | ( | ) |
Compute vertical levels in the bedrock.
PISM supports equal and quadratic spacing of bedrock levels.
Please see IceGrid.compute_ice_vertical_levels() for more.
Definition at line 209 of file grid.cc.
References bed_vertical_spacing, dzbMAX, dzbMIN, dzMIN, e, EQUAL, lambda, Lbz, Mbz, QUADRATIC, and zblevels.
Referenced by compute_vertical_levels().
| PetscErrorCode compute_fine_vertical_grid | ( | ) | [private] |
Computes fine vertical spacing in the ice and bedrock.
The computations in IceModel.temperatureStep() and IceModel.ageStep() use a fine equally-spaced grid.
This method computes the number of levels and the levels themselves so that fine equally-spaced grids in ice and bedrock have the same spacing (if bedrock is present).
Mapping to and from the storage grid occurs in IceModelVec3 and IceModelVec3Bedrock methods.
Note that the computational grid in the ice is allowed to exceed Lz; we need this to match spacings (see above). The temperature field is extrapolated to the extra level using the value from the topmost level.
Definition at line 599 of file grid.cc.
References dz_fine, dzbMIN, dzMIN, e, init_interpolation(), Lbz, Lz, Mbz_fine, Mz_fine, zblevels_fine, and zlevels_fine.
Referenced by compute_vertical_levels(), and set_vertical_levels().
Computes values of x and y corresponding to the computational grid, with accounting for periodicity.
This method allocates arrays x and y, and they have to be freed (using delete[]) by the caller.
Definition at line 723 of file grid.cc.
References compute_horizontal_spacing(), dx, dy, Lx, Ly, Mx, My, periodicity, x0, X_PERIODIC, y0, and Y_PERIODIC.
Referenced by PISMIO.create_dimensions().
| PetscErrorCode compute_horizontal_spacing | ( | ) |
Compute horizontal spacing parameters dx and dy using Mx, My, Lx, Ly and periodicity.
The grid used in PISM, in particular the PETSc DAs used here, are periodic in x and y. This means that the ghosted values foo[i+1][j], foo[i-1][j], foo[i][j+1], foo[i][j-1] for all 2D Vecs, and similarly in the x and y directions for 3D Vecs, are always available. That is, they are available even if i,j is a point at the edge of the grid. On the other hand, by default, dx is the full width 2 * Lx divided by Mx - 1. This means that we conceive of the computational domain as starting at the i = 0 grid location and ending at the i = Mx - 1 grid location, in particular. This idea is not quite compatible with the periodic nature of the grid.
The upshot is that if one computes in a truly periodic way then the gap between the i = 0 and i = Mx - 1 grid points should also have width dx. Thus we compute dx = 2 * Lx / Mx.
Definition at line 552 of file grid.cc.
References dx, dy, Lx, Ly, Mx, My, periodicity, X_PERIODIC, and Y_PERIODIC.
Referenced by compute_horizontal_coordinates(), PISMIO.get_grid(), IceGrid(), IceMISMIPModel.set_grid_from_options(), and IceModel.set_grid_from_options().
| PetscErrorCode compute_ice_vertical_levels | ( | ) |
Set the vertical levels in the ice according to values in Mz, Lz, and the ice_vertical_spacing data member.
Sets dzMIN and dzMAX. Sets and re-allocates zlevels[].
Uses Mz, Lz, and ice_vertical_spacing. (Note that ice_vertical_spacing cannot be UNKNOWN.)
This procedure is only called when a grid is determined from scratch, e.g. by a derived class or when bootstrapping from 2D data only, but not when reading a model state input file (which will have its own grid, which may not even be a grid created by this routine).
vertical_spacing == EQUAL, the vertical grid in the ice is equally spaced: zlevels[k] = k dzMIN where dzMIN = Lz / (Mz - 1). In this case dzMIN = dzMAX.vertical_spacing == QUADRATIC, the spacing is a quadratic function. The intent is that the spacing is smaller near the base than near the top. In particular, if
then zlevels[k] = Lz * ( (
/
) * (1.0 + (
- 1.0)
) ) where
= 4. The value
indicates the slope of the quadratic function as it leaves the base. Thus a value of
= 4 makes the spacing about four times finer at the base than equal spacing would be. Definition at line 159 of file grid.cc.
References dzMAX, dzMIN, EQUAL, ice_vertical_spacing, lambda, Lz, Mz, QUADRATIC, and zlevels.
Referenced by compute_vertical_levels().
| void compute_nprocs | ( | ) | [private] |
| PetscErrorCode compute_vertical_levels | ( | ) |
Compute vertical levels in both ice and bedrock.
Definition at line 125 of file grid.cc.
References compute_bed_vertical_levels(), compute_fine_vertical_grid(), and compute_ice_vertical_levels().
Referenced by IceModel.bootstrapFromFile(), IceGrid(), IceMISMIPModel.set_grid_from_options(), and IceModel.set_grid_from_options().
| PetscErrorCode createDA | ( | PetscInt | procs_x, | |
| PetscInt | procs_y, | |||
| PetscInt *& | lx, | |||
| PetscInt *& | ly | |||
| ) |
| PetscErrorCode createDA | ( | ) |
Create the PETSc DA da2 for the horizontal grid. Determine how the horizontal grid is divided among processors.
This procedure should only be called after the parameters describing the horizontal computational box (Lx,Ly) and the parameters for the horizontal grid (Mx,My) are already determined. In particular, the input file (either -i or -boot_from) and user options (like -Mx) must have already been read to determine the parameters, and any conflicts must have been resolved.
This method contains the "fundamental" transpose: "My,Mx" instead of "Mx,My" in the DACreate2d call; this transpose allows us to index arrays by "[i][j]" (where 'i' corresponds to 'x' and 'j' to 'y') and be consistent about meanings of 'x', 'y', 'u' and 'v'.
Unfortunately this means that PETSc viewers appear transposed.
This choice should be virtually invisible, unless you're using DALocalInfo structures.
See IceModelVec3 for creation of three-dimensional DAs.
Definition at line 425 of file grid.cc.
References com, compute_nprocs(), da2, Mx, My, Nx, Ny, verbPrintf(), xm, xs, ym, and ys.
Referenced by IceModel.grid_setup(), and setupIceGridFromFile().
| PetscErrorCode get_dzMIN_dzMAX_spacingtype | ( | ) | [private] |
From given vertical grid zlevels[], determine dzMIN, dzMAX, dzbMIN, dzbMAX and determine whether ice and bedrock vertical spacings are equal.
The standard for equal vertical spacing in the ice is
m max difference between dzMIN and dzMAX. Similar for the bedrock.
Definition at line 337 of file grid.cc.
References bed_vertical_spacing, dzbMAX, dzbMIN, dzMAX, dzMIN, e, EQUAL, ice_vertical_spacing, Lbz, Lz, Mbz, Mz, UNKNOWN, zblevels, and zlevels.
Referenced by set_vertical_levels().
| PetscErrorCode init_interpolation | ( | ) | [private] |
Fills arrays ice_storage2fine, ice_fine2storage, bed_storage2fine, bed_fine2storage with indices of levels that are just below
Definition at line 651 of file grid.cc.
References bed_fine2storage, bed_storage2fine, ice_fine2storage, ice_storage2fine, Lz, Mbz, Mbz_fine, Mz, Mz_fine, zblevels, zblevels_fine, zlevels, and zlevels_fine.
Referenced by compute_fine_vertical_grid().
| PetscInt kBelowHeight | ( | PetscScalar | height | ) |
Return the index k into zlevels[] so that zlevels[k] <= height < zlevels[k+1] and k < Mz.
Definition at line 311 of file grid.cc.
References com, e, Lz, and zlevels.
Referenced by IceModel.ageStats(), IceModel.compute_hardav(), IceModel.compute_ice_enthalpy(), IceModel.computeEffectiveViscosity(), IceModel.computeMax3DVelocities(), IceCompModel.computeSigmaErrors(), IceCompModel.computeTemperatureErrors(), IceModel.correctSigma(), IceModel.countCFLViolations(), IceModel.putTempAtDepth(), IceModel.SigmaSIAToRegular(), and IceModel.velocitySIAStaggered().
| PetscErrorCode printInfo | ( | int | verbosity | ) |
| PetscErrorCode printVertLevels | ( | int | verbosity | ) |
Sets grid vertical levels, Mz, Mbz, Lz and Lbz. Checks input for consistency.
Definition at line 493 of file grid.cc.
References compute_fine_vertical_grid(), e, get_dzMIN_dzMAX_spacingtype(), is_increasing(), Lbz, Lz, Mbz, Mz, zblevels, and zlevels.
Referenced by IceModel.check_maximum_thickness(), and PISMIO.get_grid().
| PetscInt * bed_fine2storage |
Definition at line 78 of file grid.hh.
Referenced by IceGrid(), init_interpolation(), IceModelVec3Bedrock.setValColumnPL(), and ~IceGrid().
| PetscInt * bed_storage2fine |
Definition at line 78 of file grid.hh.
Referenced by IceModelVec3Bedrock.getValColumnPL(), IceGrid(), init_interpolation(), and ~IceGrid().
Definition at line 81 of file grid.hh.
Referenced by compute_bed_vertical_levels(), get_dzMIN_dzMAX_spacingtype(), IceGrid(), IceModel.report_grid_parameters(), IceCompModel.set_grid_defaults(), and IceModel.set_grid_from_options().
| MPI_Comm com |
Definition at line 61 of file grid.hh.
Referenced by IceCompModel.additionalAtEndTimestep(), IceMISMIPModel.additionalAtEndTimestep(), IcePSTexModel.additionalAtEndTimestep(), IceCompModel.additionalAtStartTimestep(), IceModel.ageStats(), IceModel.ageStep(), IceModel.allocateSSAobjects(), IceModel.bed_def_setup(), IceModel.bootstrapFromFile(), IceMISMIPModel.calving(), IceModel.check_maximum_thickness(), IceModel.compute_ice_area(), IceModel.compute_ice_area_floating(), IceModel.compute_ice_area_grounded(), IceModel.compute_ice_enthalpy(), IceModel.compute_ice_volume(), compute_nprocs(), IceModel.compute_temp(), IceCompModel.computeBasalTemperatureErrors(), IceCompModel.computeBasalVelocityErrors(), IceModel.computeEffectiveViscosity(), IceROSSModel.computeErrorsInAccurateRegion(), IceCompModel.computeGeometryErrors(), IceCompModel.computeIceBedrockTemperatureErrors(), IceModel.computeMax2DSlidingSpeed(), IceModel.computeMax3DVelocities(), IceModel.computeMaxDiffusivity(), IceModel.computePhiFromBedElevation(), IceCompModel.computeSigmaErrors(), IceCompModel.computeSurfaceVelocityErrors(), IceCompModel.computeTemperatureErrors(), IceModel.correct_cell_areas(), PCFactory< PISMOceanModel, POModifier >.create(), IceModelVec2T.create(), IceModelVec3Bedrock.create(), IceModelVec2V.create(), IceModelVec2.create(), IceModelVec3.create_da(), IceModelVec.create_viewer(), createDA(), IceModel.createVecs(), IceModel.endOfTimeStepHook(), IceModel.energyStats(), IceModel.energyStep(), IceModel.enthalpyAndDrainageStep(), IceExactSSAModel.fillFromExactSolution(), PISMComponent.find_pism_input(), IceROSSModel.finishROSS(), IceEISModel.generateMoundTopography(), IceEISModel.generateTroughTopography(), IceModel.getBasalWaterPressure(), IceMISMIPModel.getMISMIPStats(), IceMISMIPModel.getRoutineStats(), IceModel.grainSizeVostok(), IceModel.grid_setup(), IceModelVec3.has_nan(), IceModelVec.has_nan(), IceModel.ice_mass_bookkeeping(), PSForceThickness.ice_surface_mass_flux(), IceGrid(), IceModel.IceModel(), PA_EISMINT_Greenland.init(), PBPointwiseIsostasy.init(), PBLingleClark.init(), PSForceThickness.init(), PSLocalMassBalance.init(), PSConstant.init(), PSSimple.init(), POForcing.init(), POConstant.init(), PA_SeaRISE_Greenland.init(), PAYearlyCycle.init(), PALapseRates.init(), PAForcing.init(), PAConstant.init(), IceModelVec2T.init(), NCSpatialVariable.init(), IceModel.init(), IceEISModel.init_couplers(), IceModel.init_couplers(), IceModel.init_extras(), IcePSTexModel.init_mask_phi(), IceExactSSAModel.init_physics(), IceCompModel.init_physics(), IceMISMIPModel.init_physics(), IceROSSModel.init_physics(), IceModel.init_physics(), IceModel.init_snapshots(), IceModel.init_timeseries(), IceModel.init_viewers(), IceModel.initBasalTillModel(), IceMISMIPModel.initFromFile(), IcePSTexModel.initFromFile(), IceModel.initFromFile(), IceCompModel.initTestL(), kBelowHeight(), LocalInterpCtx.LocalInterpCtx(), main(), IceModel.massContExplicitStep(), IceExactSSAModel.misc_setup(), IceMISMIPModel.misc_setup(), IceModel.misc_setup(), IceROSSModel.model_state_setup(), IceModelVec.norm(), PBLingleClark.PBLingleClark(), PBPointwiseIsostasy.PBPointwiseIsostasy(), PISMBedDef.PISMBedDef(), IcePSTexModel.prepare_series(), IceMISMIPModel.printBasalAndIceInfo(), printInfo(), printVertLevels(), IceModelVec.range(), IceModelVec.read(), IceROSSModel.readRIGGSandCompare(), IceModel.readShelfStreamBCFromFile(), IceModel.regrid(), IceModel.report_grid_parameters(), IceExactSSAModel.reportErrors(), IceCompModel.reportErrors(), IceExactSSAModel.run(), IceModel.run(), IceEISModel.set_expername_from_options(), IceExactSSAModel.set_grid_defaults(), IceCompModel.set_grid_defaults(), IceModel.set_grid_defaults(), IceMISMIPModel.set_grid_from_options(), IceModel.set_grid_from_options(), IceModel.set_output_size(), IceMISMIPModel.set_time_from_options(), IceModel.set_time_from_options(), IceCompModel.set_vars_from_options(), IceMISMIPModel.set_vars_from_options(), IceROSSModel.set_vars_from_options(), IcePSTexModel.set_vars_from_options(), IceEISModel.set_vars_from_options(), IceModel.set_vars_from_options(), IceModel.setDefaults(), IceExactSSAModel.setFromOptions(), IceCompModel.setFromOptions(), IceMISMIPModel.setFromOptions(), IcePSTexModel.setFromOptions(), IceEISModel.setFromOptions(), IceModel.setFromOptions(), IceExactSSAModel.setInitStateM(), IceModel.setMaskSurfaceElevation_bootstrap(), IceModel.stampHistoryEnd(), IceModelVec2S.sum(), IceModel.summary(), IceMISMIPModel.summaryPrintLine(), IceModel.summaryPrintLine(), IceModel.temperatureStep(), IceUnitModel.test_IceModelVec2T(), IceUnitModel.test_IceModelVec3(), IceUnitModel.test_IceModelVec3Bedrock(), Timeseries.Timeseries(), IceModelVec2T.update(), IceModel.update_viewers(), IceModel.velocity(), IceModel.velocitySIAStaggered(), IceModel.velocitySSA(), IceModelVec3Bedrock.view_sounding(), IceModelVec3.view_sounding(), IceModel.volumeArea(), IceModelVec.write(), IceModel.write_extras(), IceModel.write_model_state(), IceModel.write_snapshot(), IceModel.write_variables(), IceModel.writeFiles(), IceMISMIPModel.writeMISMIPasciiFile(), IceMISMIPModel.writeMISMIPFinalFiles(), writePCCStateAtTimes(), IceModel.writeSSAsystemMatlab(), and PBLingleClark.~PBLingleClark().
| DA da2 |
Definition at line 63 of file grid.hh.
Referenced by PBLingleClark.allocate(), IceModelVec3Bedrock.create(), IceModelVec2V.create(), IceModelVec2.create(), IceModelVec3.create_da(), createDA(), IceModelVec2.get_component(), IceModelVec2S.get_from_proc0(), IceModelVec3.getHorSlice(), IceModelVec3.getSurfaceValues(), IceGrid(), IceModelVec2S.put_on_proc0(), NCSpatialVariable.read(), IceModelVec2V.read(), NCSpatialVariable.regrid(), IceModelVec2.set_component(), PBLingleClark.transfer_from_proc0(), PBLingleClark.transfer_to_proc0(), IceModelVec2V.view(), IceModelVec2.view(), IceModelVec3.view_horizontal_slice(), IceModelVec2S.view_matlab(), IceModelVec3.view_surface(), IceModelVec2V.write(), and ~IceGrid().
| PetscScalar dx |
Definition at line 90 of file grid.hh.
Referenced by IceModel.adaptTimeStepDiffusivity(), IcePSTexModel.additionalAtEndTimestep(), IceModel.ageStats(), IceModel.ageStep(), PBLingleClark.allocate(), IceModel.assembleSSAMatrix(), IceModel.basalSlidingHeatingSIA(), compute_horizontal_coordinates(), compute_horizontal_spacing(), IceModel.compute_ice_area(), IceModel.compute_ice_area_floating(), IceModel.compute_ice_area_grounded(), IceModel.compute_ice_enthalpy(), IceModel.compute_ice_volume(), IceModel.computeDrivingStress(), IceModel.computeEffectiveViscosity(), IceROSSModel.computeErrorsInAccurateRegion(), IceCompModel.computeGeometryErrors(), IceModel.computeMax2DSlidingSpeed(), IceModel.computeMax3DVelocities(), IceModel.correct_cell_areas(), IceModel.correctSigma(), IceModel.countCFLViolations(), IceModelVec2S.diff_x(), IceModelVec2S.diff_x_p(), IceModel.diffuseHmelt(), IceModel.energyStats(), IceModel.enthalpyAndDrainageStep(), IceModel.excessToFromBasalMeltLayer(), IceExactSSAModel.fillFromExactSolution(), IceEISModel.generateMoundTopography(), IceEISModel.generateTroughTopography(), IceMISMIPModel.getMISMIPStats(), IceMISMIPModel.getRoutineStats(), IceModel.ice_mass_bookkeeping(), IceEISModel.init_couplers(), LocalInterpCtx.LocalInterpCtx(), IceExactSSAModel.mapcoords(), IceCompModel.mapcoords(), IceModel.massContExplicitStep(), printInfo(), PISMIO.regrid_var(), IceModel.report_grid_parameters(), IceExactSSAModel.reportErrors(), IceCompModel.reportErrors(), IceMISMIPModel.set_grid_from_options(), IceMISMIPModel.setBed(), IcePSTexModel.setBedElev(), IceExactSSAModel.setInitStateAndBoundaryVelsI(), IceExactSSAModel.setInitStateJ(), IceMISMIPModel.setMask(), IcePSTexModel.setTillPhi(), IceModel.surfaceGradientSIA(), IceModel.temperatureStep(), IceModel.testConvergenceOfNu(), IceModel.vertVelocityFromIncompressibility(), IceModel.volumeArea(), IceMISMIPModel.writeMISMIPasciiFile(), and IceModel.writeSSAsystemMatlab().
| PetscScalar dy |
Definition at line 90 of file grid.hh.
Referenced by IceModel.adaptTimeStepDiffusivity(), IcePSTexModel.additionalAtEndTimestep(), IceModel.ageStats(), IceModel.ageStep(), PBLingleClark.allocate(), IceModel.assembleSSAMatrix(), IceModel.basalSlidingHeatingSIA(), compute_horizontal_coordinates(), compute_horizontal_spacing(), IceModel.compute_ice_area(), IceModel.compute_ice_area_floating(), IceModel.compute_ice_area_grounded(), IceModel.compute_ice_enthalpy(), IceModel.compute_ice_volume(), IceModel.computeDrivingStress(), IceModel.computeEffectiveViscosity(), IceROSSModel.computeErrorsInAccurateRegion(), IceCompModel.computeGeometryErrors(), IceModel.computeMax2DSlidingSpeed(), IceModel.computeMax3DVelocities(), IceModel.correct_cell_areas(), IceModel.correctSigma(), IceModel.countCFLViolations(), IceModelVec2S.diff_y(), IceModelVec2S.diff_y_p(), IceModel.diffuseHmelt(), IceModel.energyStats(), IceModel.enthalpyAndDrainageStep(), IceModel.excessToFromBasalMeltLayer(), IceExactSSAModel.fillFromExactSolution(), IceEISModel.generateMoundTopography(), IceEISModel.generateTroughTopography(), IceModel.ice_mass_bookkeeping(), IceEISModel.init_couplers(), LocalInterpCtx.LocalInterpCtx(), IceExactSSAModel.mapcoords(), IceCompModel.mapcoords(), IceModel.massContExplicitStep(), printInfo(), PISMIO.regrid_var(), IceModel.report_grid_parameters(), IceExactSSAModel.reportErrors(), IceCompModel.reportErrors(), IcePSTexModel.setBedElev(), IceExactSSAModel.setInitStateAndBoundaryVelsI(), IceExactSSAModel.setInitStateJ(), IcePSTexModel.setTillPhi(), IceModel.surfaceGradientSIA(), IceExactSSAModel.taucSetI(), IceModel.temperatureStep(), IceModel.testConvergenceOfNu(), IceModel.vertVelocityFromIncompressibility(), IceModel.volumeArea(), and IceModel.writeSSAsystemMatlab().
| PetscScalar dz_fine |
Definition at line 72 of file grid.hh.
Referenced by IceModel.ageStep(), compute_fine_vertical_grid(), IceModel.enthalpyAndDrainageStep(), IceModel.getEnthalpyCTSColumn(), IceModel.report_grid_parameters(), and IceModel.temperatureStep().
| PetscScalar dzbMAX |
Definition at line 84 of file grid.hh.
Referenced by compute_bed_vertical_levels(), get_dzMIN_dzMAX_spacingtype(), IceModel.report_grid_parameters(), IceExactSSAModel.reportErrors(), and IceCompModel.reportErrors().
| PetscScalar dzbMIN |
Definition at line 84 of file grid.hh.
Referenced by compute_bed_vertical_levels(), compute_fine_vertical_grid(), get_dzMIN_dzMAX_spacingtype(), and IceModel.report_grid_parameters().
| PetscScalar dzMAX |
Definition at line 83 of file grid.hh.
Referenced by compute_ice_vertical_levels(), get_dzMIN_dzMAX_spacingtype(), IceModel.report_grid_parameters(), IceExactSSAModel.reportErrors(), and IceCompModel.reportErrors().
| PetscScalar dzMIN |
Definition at line 83 of file grid.hh.
Referenced by compute_bed_vertical_levels(), compute_fine_vertical_grid(), compute_ice_vertical_levels(), get_dzMIN_dzMAX_spacingtype(), and IceModel.report_grid_parameters().
| PetscScalar end_year |
time to stop at
Definition at line 96 of file grid.hh.
Referenced by IceMISMIPModel.additionalAtEndTimestep(), IceModel.determineTimeStep(), PSForceThickness.ice_surface_mass_flux(), IceGrid(), PSForceThickness.init(), main(), IceModel.report_grid_parameters(), IceModel.run(), IceMISMIPModel.set_time_from_options(), and IceModel.set_time_from_options().
| PetscInt * ice_fine2storage |
Definition at line 78 of file grid.hh.
Referenced by IceGrid(), init_interpolation(), IceModelVec3.setValColumnPL(), and ~IceGrid().
| PetscInt* ice_storage2fine |
Definition at line 78 of file grid.hh.
Referenced by IceModelVec3.getPlaneStar_fine(), IceModelVec3.getValColumnPL(), IceModelVec3.getValColumnQUAD(), IceGrid(), init_interpolation(), and ~IceGrid().
Definition at line 81 of file grid.hh.
Referenced by compute_ice_vertical_levels(), get_dzMIN_dzMAX_spacingtype(), IceModelVec3.getValColumn(), IceGrid(), IceModel.report_grid_parameters(), IceCompModel.set_grid_defaults(), and IceModel.set_grid_from_options().
| PetscInt initial_Mz |
Definition at line 94 of file grid.hh.
Referenced by IceModel.check_maximum_thickness(), and IceGrid().
PetscScalar lambda [protected] |
Definition at line 101 of file grid.hh.
Referenced by compute_bed_vertical_levels(), compute_ice_vertical_levels(), and IceGrid().
| PetscScalar Lbz |
Definition at line 92 of file grid.hh.
Referenced by compute_bed_vertical_levels(), compute_fine_vertical_grid(), get_dzMIN_dzMAX_spacingtype(), IceGrid(), IceModelVec3Bedrock.isLegalLevel(), LocalInterpCtx.LocalInterpCtx(), printInfo(), printVertLevels(), IceModel.report_grid_parameters(), IceCompModel.set_grid_defaults(), IceUnitModel.set_grid_defaults(), IceModel.set_grid_from_options(), and set_vertical_levels().
| PetscScalar Lx |
Definition at line 87 of file grid.hh.
Referenced by IcePSTexModel.additionalAtEndTimestep(), IceModel.basalSlidingHeatingSIA(), IceModel.bootstrapFromFile(), compute_horizontal_coordinates(), compute_horizontal_spacing(), IceModelVec.compute_viewer_size(), PISMIO.get_grid(), IceGrid(), IceEISModel.init_couplers(), LocalInterpCtx.LocalInterpCtx(), printInfo(), PISMIO.regrid_var(), IceModel.report_grid_parameters(), IceExactSSAModel.set_grid_defaults(), IceCompModel.set_grid_defaults(), IceEISModel.set_grid_defaults(), IceModel.set_grid_defaults(), IceMISMIPModel.set_grid_from_options(), IceModel.set_grid_from_options(), IcePSTexModel.setBedElev(), IcePSTexModel.setTillPhi(), and IceModel.writeSSAsystemMatlab().
| PetscScalar Ly |
Definition at line 87 of file grid.hh.
Referenced by IcePSTexModel.additionalAtEndTimestep(), IceModel.basalSlidingHeatingSIA(), IceModel.bootstrapFromFile(), compute_horizontal_coordinates(), compute_horizontal_spacing(), IceModelVec.compute_viewer_size(), PISMIO.get_grid(), IceGrid(), IceEISModel.init_couplers(), LocalInterpCtx.LocalInterpCtx(), printInfo(), PISMIO.regrid_var(), IceModel.report_grid_parameters(), IceExactSSAModel.set_grid_defaults(), IceCompModel.set_grid_defaults(), IceEISModel.set_grid_defaults(), IceModel.set_grid_defaults(), IceMISMIPModel.set_grid_from_options(), IceModel.set_grid_from_options(), IcePSTexModel.setBedElev(), IcePSTexModel.setTillPhi(), and IceModel.writeSSAsystemMatlab().
| PetscScalar Lz |
Definition at line 92 of file grid.hh.
Referenced by IceModel.bootstrapFromFile(), IceModel.check_maximum_thickness(), compute_fine_vertical_grid(), compute_ice_vertical_levels(), get_dzMIN_dzMAX_spacingtype(), IceModelVec3.getPlaneStarZ(), IceModelVec3.getValZ(), IceGrid(), init_interpolation(), IceModel.init_viewers(), IceModelVec3.isLegalLevel(), kBelowHeight(), LocalInterpCtx.LocalInterpCtx(), printInfo(), printVertLevels(), IceModel.report_grid_parameters(), IceExactSSAModel.set_grid_defaults(), IceCompModel.set_grid_defaults(), IceEISModel.set_grid_defaults(), IceMISMIPModel.set_grid_from_options(), IceModel.set_grid_from_options(), and set_vertical_levels().
| PetscInt Mbz |
Definition at line 93 of file grid.hh.
Referenced by IceModel.bootstrapSetBedrockColumnTemp(), PISMIO.check_dimensions(), IceModel.check_maximum_thickness(), compute_bed_vertical_levels(), IceCompModel.computeIceBedrockTemperatureErrors(), IceModelVec3Bedrock.create(), PISMIO.create_dimensions(), IceModel.energyStep(), IceCompModel.fillSolnTestK(), get_dzMIN_dzMAX_spacingtype(), PISMIO.get_var(), IceGrid(), init_interpolation(), IceCompModel.initTestFG(), printInfo(), printVertLevels(), PISMIO.put_var(), PISMIO.regrid_var(), IceModel.report_grid_parameters(), IceCompModel.set_grid_defaults(), IceUnitModel.set_grid_defaults(), IceModel.set_grid_from_options(), set_vertical_levels(), IceModelVec3Bedrock.setColumn(), IceModelVec3Bedrock.setInternalColumn(), IceModelVec3Bedrock.setValColumnPL(), IceUnitModel.test_IceModelVec3Bedrock(), and IceModelVec3Bedrock.view_sounding().
| PetscInt Mbz_fine |
Definition at line 73 of file grid.hh.
Referenced by compute_fine_vertical_grid(), IceModel.enthalpyAndDrainageStep(), IceModelVec3Bedrock.getValColumnPL(), IceGrid(), init_interpolation(), IceModel.report_grid_parameters(), IceModel.temperatureStep(), and IceUnitModel.test_IceModelVec3Bedrock().
| PetscInt Mx |
Definition at line 88 of file grid.hh.
Referenced by PBLingleClark.allocate(), IceModel.allocateSSAobjects(), PISMIO.check_dimensions(), compute_horizontal_coordinates(), compute_horizontal_spacing(), compute_nprocs(), IceCompModel.computeBasalTemperatureErrors(), IceCompModel.computeBasalVelocityErrors(), IceCompModel.computeGeometryErrors(), IceCompModel.computeSurfaceVelocityErrors(), IceModel.correct_cell_areas(), IceModelVec2T.create(), IceModelVec3Bedrock.create(), IceModelVec2V.create(), IceModelVec2.create(), IceModelVec3.create_da(), PISMIO.create_dimensions(), createDA(), IceModelVec2S.diff_x_p(), IceModel.energyStats(), IceModel.energyStep(), IceExactSSAModel.fillFromExactSolution(), PISMIO.get_grid(), IceMISMIPModel.getRoutineStats(), IceGrid(), IceExactSSAModel.mapcoords(), IceCompModel.mapcoords(), printInfo(), IceROSSModel.readRIGGSandCompare(), IceExactSSAModel.reportErrors(), IceExactSSAModel.set_grid_defaults(), IceUnitModel.set_grid_defaults(), IceMISMIPModel.set_grid_from_options(), IceModel.set_grid_from_options(), IceMISMIPModel.setBed(), IceModel.setDefaults(), IceExactSSAModel.setInitStateAndBoundaryVelsI(), IceExactSSAModel.setInitStateJ(), IceMISMIPModel.setMask(), IceModel.summary(), IceModelVec2S.view_matlab(), IceMISMIPModel.writeMISMIPasciiFile(), and IceModel.writeSSAsystemMatlab().
| PetscInt My |
Definition at line 88 of file grid.hh.
Referenced by PBLingleClark.allocate(), IceModel.allocateSSAobjects(), PISMIO.check_dimensions(), compute_horizontal_coordinates(), compute_horizontal_spacing(), compute_nprocs(), IceCompModel.computeBasalTemperatureErrors(), IceCompModel.computeBasalVelocityErrors(), IceCompModel.computeGeometryErrors(), IceCompModel.computeSurfaceVelocityErrors(), IceModel.correct_cell_areas(), IceModelVec2T.create(), IceModelVec3Bedrock.create(), IceModelVec2V.create(), IceModelVec2.create(), IceModelVec3.create_da(), PISMIO.create_dimensions(), createDA(), IceModelVec2S.diff_y_p(), IceModel.energyStats(), IceModel.energyStep(), IceExactSSAModel.fillFromExactSolution(), PISMIO.get_grid(), IceGrid(), IceExactSSAModel.mapcoords(), IceCompModel.mapcoords(), printInfo(), IceROSSModel.readRIGGSandCompare(), IceExactSSAModel.reportErrors(), IceExactSSAModel.set_grid_defaults(), IceUnitModel.set_grid_defaults(), IceMISMIPModel.set_grid_defaults(), IceMISMIPModel.set_grid_from_options(), IceModel.set_grid_from_options(), IceModel.setDefaults(), IceExactSSAModel.setInitStateAndBoundaryVelsI(), IceExactSSAModel.setInitStateJ(), IceModel.summary(), IceExactSSAModel.taucSetI(), IceModelVec2S.view_matlab(), and IceModel.writeSSAsystemMatlab().
| PetscInt Mz |
Definition at line 93 of file grid.hh.
Referenced by IceModel.broadcastSSAVelocity(), PISMIO.check_dimensions(), IceModel.check_maximum_thickness(), compute_ice_vertical_levels(), IceModel.compute_temp(), IceModel.compute_temp_pa(), IceModel.computeEffectiveViscosity(), IceCompModel.computeIceBedrockTemperatureErrors(), IceCompModel.computeSigmaErrors(), IceCompModel.computeTemperatureErrors(), IceModel.correctSigma(), IceModelVec3.create(), PISMIO.create_dimensions(), IceModel.energyStep(), IceModelVec3.extend_vertically(), IceModelVec3.extend_vertically_private(), IceExactSSAModel.fillFromExactSolution(), IceCompModel.fillSolnTestFG(), IceCompModel.fillSolnTestK(), get_dzMIN_dzMAX_spacingtype(), PISMIO.get_var(), IceCompModel.getCompSourcesTestFG(), IceModelVec3.getPlaneStarZ(), IceModelVec3.getValColumnPL(), IceModelVec3.getValColumnQUAD(), IceModelVec3.getValZ(), IceModelVec3.has_nan(), IceModel.horizontalVelocitySIARegular(), IceGrid(), init_interpolation(), IceCompModel.initTestFG(), printInfo(), printVertLevels(), PISMIO.put_var(), IceModel.putTempAtDepth(), PISMIO.regrid_var(), IceModel.report_grid_parameters(), IceModel.set_grid_from_options(), set_vertical_levels(), IceModelVec3.setColumn(), IceModel.setCTSFromEnthalpy(), IceModel.setEnth3FromT3_ColdIce(), IceModel.setEnth3FromT3AndLiqfrac3(), IceModelVec3.setInternalColumn(), IceModel.setLiquidFracFromEnthalpy(), IceModelVec3.setValColumnPL(), IceModel.SigmaSIAToRegular(), IceModel.summary(), IceModel.velocitySIAStaggered(), IceModel.vertVelocityFromIncompressibility(), and IceModelVec3.view_sounding().
| PetscInt Mz_fine |
Definition at line 73 of file grid.hh.
Referenced by IceModel.ageStep(), compute_fine_vertical_grid(), IceModel.enthalpyAndDrainageStep(), IceModel.getEnthalpyCTSColumn(), IceModelVec3.getValColumnPL(), IceModelVec3.getValColumnQUAD(), IceGrid(), init_interpolation(), IceModel.report_grid_parameters(), IceModel.temperatureStep(), and IceUnitModel.test_IceModelVec3().
| PetscInt Nx |
Definition at line 89 of file grid.hh.
Referenced by IceModel.allocateSSAobjects(), compute_nprocs(), IceModelVec2T.create(), IceModelVec3Bedrock.create(), IceModelVec2V.create(), IceModelVec2.create(), IceModelVec3.create_da(), createDA(), and IceGrid().
| PetscInt Ny |
Definition at line 89 of file grid.hh.
Referenced by IceModel.allocateSSAobjects(), compute_nprocs(), IceModelVec2T.create(), IceModelVec3Bedrock.create(), IceModelVec2V.create(), IceModelVec2.create(), IceModelVec3.create_da(), createDA(), and IceGrid().
Definition at line 82 of file grid.hh.
Referenced by compute_horizontal_coordinates(), compute_horizontal_spacing(), IceModelVec2S.diff_x_p(), IceModelVec2S.diff_y_p(), IceGrid(), IceExactSSAModel.set_grid_defaults(), IceCompModel.set_grid_defaults(), and IceMISMIPModel.set_grid_from_options().
| PetscMPIInt rank |
Definition at line 62 of file grid.hh.
Referenced by PBLingleClark.allocate(), IceModel.compute_rank(), IceModel.IceModel(), PBLingleClark.init(), POForcing.init(), PA_SeaRISE_Greenland.init(), PAForcing.init(), IceModelVec2T.init(), NCSpatialVariable.init(), IceModel.initFromFile(), LocalInterpCtx.LocalInterpCtx(), main(), IcePSTexModel.prepare_series(), IceROSSModel.readRIGGSandCompare(), IceExactSSAModel.reportErrors(), IceCompModel.reportErrors(), IceModel.temperatureStep(), Timeseries.Timeseries(), PBLingleClark.update(), and writePCCStateAtTimes().
| PetscMPIInt size |
Definition at line 62 of file grid.hh.
Referenced by compute_nprocs(), createDA(), PISMIO.get_var(), PISMIO.put_var(), PISMIO.regrid_var(), and IceModel.stampHistoryCommand().
| PetscScalar start_year |
the year this run started from
Definition at line 96 of file grid.hh.
Referenced by IceModel.grid_setup(), PSForceThickness.ice_surface_mass_flux(), IceGrid(), PSForceThickness.init(), main(), IceModel.report_grid_parameters(), IceModel.run(), IceMISMIPModel.set_time_from_options(), IceModel.set_time_from_options(), and PBLingleClark.update().
| PetscScalar x0 |
Definition at line 86 of file grid.hh.
Referenced by compute_horizontal_coordinates(), PISMIO.get_grid(), IceGrid(), LocalInterpCtx.LocalInterpCtx(), printInfo(), and IceModel.set_grid_defaults().
| PetscInt xm |
Definition at line 66 of file grid.hh.
Referenced by IceMISMIPModel.additionalAtEndTimestep(), IcePSTexModel.additionalAtEndTimestep(), IceModel.ageStats(), IceModel.ageStep(), IceModel.assembleSSAMatrix(), IceModel.assembleSSARhs(), IceModel.basalSlidingHeatingSIA(), IceModel.broadcastSSAVelocity(), IceMISMIPModel.calving(), IceModel.check_maximum_thickness(), IceModel.compute_bwp(), IceModel.compute_enthalpysurf(), IceModel.compute_hardav(), IceModel.compute_ice_area(), IceModel.compute_ice_area_floating(), IceModel.compute_ice_area_grounded(), IceModel.compute_ice_enthalpy(), IceModel.compute_ice_volume(), IceModel.compute_proc_ice_area(), IceModel.compute_rank(), IceModel.compute_temp(), IceModel.compute_temp_pa(), IceModel.compute_tempsurf(), IceCompModel.computeBasalTemperatureErrors(), IceCompModel.computeBasalVelocityErrors(), IceModel.computeDrivingStress(), IceModel.computeEffectiveViscosity(), IceROSSModel.computeErrorsInAccurateRegion(), IceCompModel.computeGeometryErrors(), IceCompModel.computeIceBedrockTemperatureErrors(), IceModel.computeMax2DSlidingSpeed(), IceModel.computeMax3DVelocities(), IceModel.computeMaxDiffusivity(), IceModel.computePhiFromBedElevation(), IceCompModel.computeSigmaErrors(), IceCompModel.computeSurfaceVelocityErrors(), IceCompModel.computeTemperatureErrors(), IceModel.correct_cell_areas(), IceModel.correctBasalFrictionalHeating(), IceModel.correctSigma(), IceModel.countCFLViolations(), createDA(), IceModel.diffuseHmelt(), IceModelVec2T.discard(), IceModel.energyStats(), IceModel.enthalpyAndDrainageStep(), IceModelVec3.extend_vertically(), IceModelVec3.extend_vertically_private(), IceModelVec2Mask.fill_where_floating(), IceModelVec2Mask.fill_where_grounded(), IceExactSSAModel.fillFromExactSolution(), IceROSSModel.fillinTemps(), IceCompModel.fillSolnTestABCDH(), IceCompModel.fillSolnTestE(), IceCompModel.fillSolnTestFG(), IceCompModel.fillSolnTestK(), IceEISModel.generateMoundTopography(), IceEISModel.generateTroughTopography(), IceModelVec2.get_component(), IceModelVec2T.get_record(), PISMIO.get_var(), IceCompModel.getCompSourcesTestCDH(), IceCompModel.getCompSourcesTestFG(), IceModelVec3.getHorSlice(), IceMISMIPModel.getMISMIPStats(), IceMISMIPModel.getRoutineStats(), IceModelVec3.getSurfaceValues(), IceModelVec3.has_nan(), IceModel.horizontalVelocitySIARegular(), IceModel.ice_mass_bookkeeping(), PSForceThickness.ice_surface_mass_flux(), IceEISModel.init_couplers(), IceCompModel.initTestABCDEH(), IceCompModel.initTestFG(), IceCompModel.initTestL(), IceModelVec2T.interp(), LocalInterpCtx.LocalInterpCtx(), IceModelVec2V.magnitude(), IceModelVec2S.mask_by(), IceModel.massContExplicitStep(), PALapseRates.mean_annual_temp(), PAForcing.mean_precip(), PISMIO.put_var(), IceModel.putTempAtDepth(), IceROSSModel.readRIGGSandCompare(), IceModel.readShelfStreamBCFromFile(), PISMIO.regrid_var(), IceExactSSAModel.reportErrors(), IceModelVec2.set_component(), IceModelVec2T.set_record(), IceModelVec2S.set_to_magnitude(), IceMISMIPModel.setBed(), IcePSTexModel.setBedElev(), IceModel.setCTSFromEnthalpy(), IceModel.setEnth3FromT3_ColdIce(), IceModel.setEnth3FromT3AndLiqfrac3(), IceExactSSAModel.setInitStateAndBoundaryVelsI(), IceExactSSAModel.setInitStateJ(), IceExactSSAModel.setInitStateM(), IceModel.setLiquidFracFromEnthalpy(), IceMISMIPModel.setMask(), IceModel.setMaskSurfaceElevation_bootstrap(), IcePSTexModel.setTillPhi(), POConstant.shelf_base_temperature(), IceModel.SigmaSIAToRegular(), IceModelVec2S.sum(), IceModel.summary(), IceModel.surfaceGradientSIA(), IceExactSSAModel.taucSetI(), IceModel.temperatureStep(), IceUnitModel.test_dof1comm(), IceUnitModel.test_dof2comm(), IceUnitModel.test_IceModelVec2V(), IceModel.trivialMoveSSAXtoIMV2V(), PA_EISMINT_Greenland.update(), PSLocalMassBalance.update(), PA_SeaRISE_Greenland.update(), IceModel.update_mask(), IceModel.update_nu_viewers(), IceModel.update_surface_elevation(), IceModel.updateYieldStressUsingBasalWater(), IceModel.velocities2DSIAToRegular(), IceModel.velocitySIAStaggered(), IceModel.vertVelocityFromIncompressibility(), IceModelVec3Bedrock.view_sounding(), IceModelVec3.view_sounding(), IceModel.volumeArea(), and IceMISMIPModel.writeMISMIPasciiFile().
| PetscInt xs |
Definition at line 66 of file grid.hh.
Referenced by IceMISMIPModel.additionalAtEndTimestep(), IcePSTexModel.additionalAtEndTimestep(), IceModel.ageStats(), IceModel.ageStep(), IceModel.assembleSSAMatrix(), IceModel.assembleSSARhs(), IceModel.basalSlidingHeatingSIA(), IceModel.broadcastSSAVelocity(), IceMISMIPModel.calving(), IceModel.check_maximum_thickness(), IceModel.compute_bwp(), IceModel.compute_enthalpysurf(), IceModel.compute_hardav(), IceModel.compute_ice_area(), IceModel.compute_ice_area_floating(), IceModel.compute_ice_area_grounded(), IceModel.compute_ice_enthalpy(), IceModel.compute_ice_volume(), IceModel.compute_proc_ice_area(), IceModel.compute_rank(), IceModel.compute_temp(), IceModel.compute_temp_pa(), IceModel.compute_tempsurf(), IceCompModel.computeBasalTemperatureErrors(), IceCompModel.computeBasalVelocityErrors(), IceModel.computeDrivingStress(), IceModel.computeEffectiveViscosity(), IceROSSModel.computeErrorsInAccurateRegion(), IceCompModel.computeGeometryErrors(), IceCompModel.computeIceBedrockTemperatureErrors(), IceModel.computeMax2DSlidingSpeed(), IceModel.computeMax3DVelocities(), IceModel.computeMaxDiffusivity(), IceModel.computePhiFromBedElevation(), IceCompModel.computeSigmaErrors(), IceCompModel.computeSurfaceVelocityErrors(), IceCompModel.computeTemperatureErrors(), IceModel.correct_cell_areas(), IceModel.correctBasalFrictionalHeating(), IceModel.correctSigma(), IceModel.countCFLViolations(), createDA(), IceModel.diffuseHmelt(), IceModelVec2T.discard(), IceModel.energyStats(), IceModel.enthalpyAndDrainageStep(), IceModelVec3.extend_vertically(), IceModelVec3.extend_vertically_private(), IceModelVec2Mask.fill_where_floating(), IceModelVec2Mask.fill_where_grounded(), IceExactSSAModel.fillFromExactSolution(), IceROSSModel.fillinTemps(), IceCompModel.fillSolnTestABCDH(), IceCompModel.fillSolnTestE(), IceCompModel.fillSolnTestFG(), IceCompModel.fillSolnTestK(), IceEISModel.generateMoundTopography(), IceEISModel.generateTroughTopography(), IceModelVec2.get_component(), IceModelVec2T.get_record(), PISMIO.get_var(), IceCompModel.getCompSourcesTestCDH(), IceCompModel.getCompSourcesTestFG(), IceModelVec3.getHorSlice(), IceMISMIPModel.getMISMIPStats(), IceMISMIPModel.getRoutineStats(), IceModelVec3.getSurfaceValues(), IceModelVec3.has_nan(), IceModel.horizontalVelocitySIARegular(), IceModel.ice_mass_bookkeeping(), PSForceThickness.ice_surface_mass_flux(), IceEISModel.init_couplers(), IceCompModel.initTestABCDEH(), IceCompModel.initTestFG(), IceCompModel.initTestL(), IceModelVec2T.interp(), LocalInterpCtx.LocalInterpCtx(), IceModelVec2V.magnitude(), IceModelVec2S.mask_by(), IceModel.massContExplicitStep(), PALapseRates.mean_annual_temp(), PAForcing.mean_precip(), PISMIO.put_var(), IceModel.putTempAtDepth(), IceROSSModel.readRIGGSandCompare(), IceModel.readShelfStreamBCFromFile(), PISMIO.regrid_var(), IceExactSSAModel.reportErrors(), IceModelVec2.set_component(), IceModelVec2T.set_record(), IceModelVec2S.set_to_magnitude(), IceMISMIPModel.setBed(), IcePSTexModel.setBedElev(), IceModel.setCTSFromEnthalpy(), IceModel.setEnth3FromT3_ColdIce(), IceModel.setEnth3FromT3AndLiqfrac3(), IceExactSSAModel.setInitStateAndBoundaryVelsI(), IceExactSSAModel.setInitStateJ(), IceExactSSAModel.setInitStateM(), IceModel.setLiquidFracFromEnthalpy(), IceMISMIPModel.setMask(), IceModel.setMaskSurfaceElevation_bootstrap(), IcePSTexModel.setTillPhi(), POConstant.shelf_base_temperature(), IceModel.SigmaSIAToRegular(), IceModelVec2S.sum(), IceModel.summary(), IceModel.surfaceGradientSIA(), IceExactSSAModel.taucSetI(), IceModel.temperatureStep(), IceUnitModel.test_dof1comm(), IceUnitModel.test_dof2comm(), IceUnitModel.test_IceModelVec2T(), IceUnitModel.test_IceModelVec2V(), IceUnitModel.test_IceModelVec3(), IceUnitModel.test_IceModelVec3Bedrock(), IceModel.trivialMoveSSAXtoIMV2V(), PA_EISMINT_Greenland.update(), PSLocalMassBalance.update(), PA_SeaRISE_Greenland.update(), IceModel.update_mask(), IceModel.update_nu_viewers(), IceModel.update_surface_elevation(), IceModel.updateYieldStressUsingBasalWater(), IceModel.velocities2DSIAToRegular(), IceModel.velocitySIAStaggered(), IceModel.vertVelocityFromIncompressibility(), IceModelVec3Bedrock.view_sounding(), IceModelVec3.view_sounding(), IceModel.volumeArea(), and IceMISMIPModel.writeMISMIPasciiFile().
| PetscScalar y0 |
Definition at line 86 of file grid.hh.
Referenced by compute_horizontal_coordinates(), PISMIO.get_grid(), IceGrid(), LocalInterpCtx.LocalInterpCtx(), printInfo(), and IceModel.set_grid_defaults().
| PetscScalar year |
current time (years)
Definition at line 96 of file grid.hh.
Referenced by IceMISMIPModel.additionalAtEndTimestep(), IcePSTexModel.additionalAtEndTimestep(), IceMISMIPModel.additionalAtStartTimestep(), IceModel.ageStats(), IceModel.bed_def_step(), IceModel.check_maximum_thickness(), IceCompModel.computeBasalTemperatureErrors(), IceCompModel.computeGeometryErrors(), IceCompModel.computeIceBedrockTemperatureErrors(), IceCompModel.computeSigmaErrors(), IceCompModel.computeSurfaceVelocityErrors(), IceCompModel.computeTemperatureErrors(), IceModel.determineTimeStep(), IceModel.dumpToFile(), IceModel.endOfTimeStepHook(), IceModel.enthalpyAndDrainageStep(), IceROSSModel.fillinTemps(), IceCompModel.fillSolnTestABCDH(), IceCompModel.fillSolnTestFG(), IceCompModel.fillSolnTestK(), PISMIO.get_grid(), IceCompModel.getCompSourcesTestCDH(), IceCompModel.getCompSourcesTestFG(), IceModel.grid_setup(), IceModel.ice_mass_bookkeeping(), IceGrid(), PISMBedDef.init(), IceCompModel.initTestABCDEH(), IceCompModel.initTestFG(), main(), IceModel.massContExplicitStep(), IceModel.model_state_setup(), printInfo(), IceModel.putTempAtDepth(), IceModel.run(), IceModel.set_grid_defaults(), IceMISMIPModel.set_time_from_options(), IceModel.set_time_from_options(), IceModel.setMaskSurfaceElevation_bootstrap(), IceModel.step(), IceModel.summary(), IceModel.temperatureStep(), IceModel.update_mask(), IceModel.update_surface_elevation(), IceModel.write_extras(), IceModel.write_snapshot(), IceModel.write_timeseries(), IceMISMIPModel.writeMISMIPasciiFile(), IceMISMIPModel.writeMISMIPFinalFiles(), and IceModel.writeSSAsystemMatlab().
| PetscInt ym |
Definition at line 66 of file grid.hh.
Referenced by IceMISMIPModel.additionalAtEndTimestep(), IcePSTexModel.additionalAtEndTimestep(), IceModel.ageStats(), IceModel.ageStep(), IceModel.assembleSSAMatrix(), IceModel.assembleSSARhs(), IceModel.basalSlidingHeatingSIA(), IceModel.broadcastSSAVelocity(), IceMISMIPModel.calving(), IceModel.check_maximum_thickness(), IceModel.compute_bwp(), IceModel.compute_enthalpysurf(), IceModel.compute_hardav(), IceModel.compute_ice_area(), IceModel.compute_ice_area_floating(), IceModel.compute_ice_area_grounded(), IceModel.compute_ice_enthalpy(), IceModel.compute_ice_volume(), IceModel.compute_proc_ice_area(), IceModel.compute_rank(), IceModel.compute_temp(), IceModel.compute_temp_pa(), IceModel.compute_tempsurf(), IceCompModel.computeBasalTemperatureErrors(), IceCompModel.computeBasalVelocityErrors(), IceModel.computeDrivingStress(), IceModel.computeEffectiveViscosity(), IceROSSModel.computeErrorsInAccurateRegion(), IceCompModel.computeGeometryErrors(), IceCompModel.computeIceBedrockTemperatureErrors(), IceModel.computeMax2DSlidingSpeed(), IceModel.computeMax3DVelocities(), IceModel.computeMaxDiffusivity(), IceModel.computePhiFromBedElevation(), IceCompModel.computeSigmaErrors(), IceCompModel.computeSurfaceVelocityErrors(), IceCompModel.computeTemperatureErrors(), IceModel.correct_cell_areas(), IceModel.correctBasalFrictionalHeating(), IceModel.correctSigma(), IceModel.countCFLViolations(), createDA(), IceModel.diffuseHmelt(), IceModelVec2T.discard(), IceModel.energyStats(), IceModel.enthalpyAndDrainageStep(), IceModelVec3.extend_vertically(), IceModelVec3.extend_vertically_private(), IceModelVec2Mask.fill_where_floating(), IceModelVec2Mask.fill_where_grounded(), IceExactSSAModel.fillFromExactSolution(), IceROSSModel.fillinTemps(), IceCompModel.fillSolnTestABCDH(), IceCompModel.fillSolnTestE(), IceCompModel.fillSolnTestFG(), IceCompModel.fillSolnTestK(), IceEISModel.generateMoundTopography(), IceEISModel.generateTroughTopography(), IceModelVec2.get_component(), IceModelVec2T.get_record(), PISMIO.get_var(), IceCompModel.getCompSourcesTestCDH(), IceCompModel.getCompSourcesTestFG(), IceModelVec3.getHorSlice(), IceMISMIPModel.getMISMIPStats(), IceMISMIPModel.getRoutineStats(), IceModelVec3.getSurfaceValues(), IceModelVec3.has_nan(), IceModel.horizontalVelocitySIARegular(), IceModel.ice_mass_bookkeeping(), PSForceThickness.ice_surface_mass_flux(), IceEISModel.init_couplers(), IceCompModel.initTestABCDEH(), IceCompModel.initTestFG(), IceCompModel.initTestL(), IceModelVec2T.interp(), LocalInterpCtx.LocalInterpCtx(), IceModelVec2V.magnitude(), IceModelVec2S.mask_by(), IceModel.massContExplicitStep(), PALapseRates.mean_annual_temp(), PAForcing.mean_precip(), PISMIO.put_var(), IceModel.putTempAtDepth(), IceROSSModel.readRIGGSandCompare(), IceModel.readShelfStreamBCFromFile(), PISMIO.regrid_var(), IceExactSSAModel.reportErrors(), IceModelVec2.set_component(), IceModelVec2T.set_record(), IceModelVec2S.set_to_magnitude(), IceMISMIPModel.setBed(), IcePSTexModel.setBedElev(), IceModel.setCTSFromEnthalpy(), IceModel.setEnth3FromT3_ColdIce(), IceModel.setEnth3FromT3AndLiqfrac3(), IceExactSSAModel.setInitStateAndBoundaryVelsI(), IceExactSSAModel.setInitStateJ(), IceExactSSAModel.setInitStateM(), IceModel.setLiquidFracFromEnthalpy(), IceMISMIPModel.setMask(), IceModel.setMaskSurfaceElevation_bootstrap(), IcePSTexModel.setTillPhi(), POConstant.shelf_base_temperature(), IceModel.SigmaSIAToRegular(), IceModelVec2S.sum(), IceModel.summary(), IceModel.surfaceGradientSIA(), IceExactSSAModel.taucSetI(), IceModel.temperatureStep(), IceUnitModel.test_dof1comm(), IceUnitModel.test_dof2comm(), IceUnitModel.test_IceModelVec2V(), IceModel.trivialMoveSSAXtoIMV2V(), PA_EISMINT_Greenland.update(), PSLocalMassBalance.update(), PA_SeaRISE_Greenland.update(), IceModel.update_mask(), IceModel.update_nu_viewers(), IceModel.update_surface_elevation(), IceModel.updateYieldStressUsingBasalWater(), IceModel.velocities2DSIAToRegular(), IceModel.velocitySIAStaggered(), IceModel.vertVelocityFromIncompressibility(), IceModelVec3Bedrock.view_sounding(), IceModelVec3.view_sounding(), and IceModel.volumeArea().
| PetscInt ys |
Definition at line 66 of file grid.hh.
Referenced by IceMISMIPModel.additionalAtEndTimestep(), IcePSTexModel.additionalAtEndTimestep(), IceModel.ageStats(), IceModel.ageStep(), IceModel.assembleSSAMatrix(), IceModel.assembleSSARhs(), IceModel.basalSlidingHeatingSIA(), IceModel.broadcastSSAVelocity(), IceMISMIPModel.calving(), IceModel.check_maximum_thickness(), IceModel.compute_bwp(), IceModel.compute_enthalpysurf(), IceModel.compute_hardav(), IceModel.compute_ice_area(), IceModel.compute_ice_area_floating(), IceModel.compute_ice_area_grounded(), IceModel.compute_ice_enthalpy(), IceModel.compute_ice_volume(), IceModel.compute_proc_ice_area(), IceModel.compute_rank(), IceModel.compute_temp(), IceModel.compute_temp_pa(), IceModel.compute_tempsurf(), IceCompModel.computeBasalTemperatureErrors(), IceCompModel.computeBasalVelocityErrors(), IceModel.computeDrivingStress(), IceModel.computeEffectiveViscosity(), IceROSSModel.computeErrorsInAccurateRegion(), IceCompModel.computeGeometryErrors(), IceCompModel.computeIceBedrockTemperatureErrors(), IceModel.computeMax2DSlidingSpeed(), IceModel.computeMax3DVelocities(), IceModel.computeMaxDiffusivity(), IceModel.computePhiFromBedElevation(), IceCompModel.computeSigmaErrors(), IceCompModel.computeSurfaceVelocityErrors(), IceCompModel.computeTemperatureErrors(), IceModel.correct_cell_areas(), IceModel.correctBasalFrictionalHeating(), IceModel.correctSigma(), IceModel.countCFLViolations(), createDA(), IceModel.diffuseHmelt(), IceModelVec2T.discard(), IceModel.energyStats(), IceModel.enthalpyAndDrainageStep(), IceModelVec3.extend_vertically(), IceModelVec3.extend_vertically_private(), IceModelVec2Mask.fill_where_floating(), IceModelVec2Mask.fill_where_grounded(), IceExactSSAModel.fillFromExactSolution(), IceROSSModel.fillinTemps(), IceCompModel.fillSolnTestABCDH(), IceCompModel.fillSolnTestE(), IceCompModel.fillSolnTestFG(), IceCompModel.fillSolnTestK(), IceEISModel.generateMoundTopography(), IceEISModel.generateTroughTopography(), IceModelVec2.get_component(), IceModelVec2T.get_record(), PISMIO.get_var(), IceCompModel.getCompSourcesTestCDH(), IceCompModel.getCompSourcesTestFG(), IceModelVec3.getHorSlice(), IceMISMIPModel.getMISMIPStats(), IceMISMIPModel.getRoutineStats(), IceModelVec3.getSurfaceValues(), IceModelVec3.has_nan(), IceModel.horizontalVelocitySIARegular(), IceModel.ice_mass_bookkeeping(), PSForceThickness.ice_surface_mass_flux(), IceEISModel.init_couplers(), IceCompModel.initTestABCDEH(), IceCompModel.initTestFG(), IceCompModel.initTestL(), IceModelVec2T.interp(), LocalInterpCtx.LocalInterpCtx(), IceModelVec2V.magnitude(), IceModelVec2S.mask_by(), IceModel.massContExplicitStep(), PALapseRates.mean_annual_temp(), PAForcing.mean_precip(), PISMIO.put_var(), IceModel.putTempAtDepth(), IceROSSModel.readRIGGSandCompare(), IceModel.readShelfStreamBCFromFile(), PISMIO.regrid_var(), IceExactSSAModel.reportErrors(), IceModelVec2.set_component(), IceModelVec2T.set_record(), IceModelVec2S.set_to_magnitude(), IceMISMIPModel.setBed(), IcePSTexModel.setBedElev(), IceModel.setCTSFromEnthalpy(), IceModel.setEnth3FromT3_ColdIce(), IceModel.setEnth3FromT3AndLiqfrac3(), IceExactSSAModel.setInitStateAndBoundaryVelsI(), IceExactSSAModel.setInitStateJ(), IceExactSSAModel.setInitStateM(), IceModel.setLiquidFracFromEnthalpy(), IceMISMIPModel.setMask(), IceModel.setMaskSurfaceElevation_bootstrap(), IcePSTexModel.setTillPhi(), POConstant.shelf_base_temperature(), IceModel.SigmaSIAToRegular(), IceModelVec2S.sum(), IceModel.summary(), IceModel.surfaceGradientSIA(), IceExactSSAModel.taucSetI(), IceModel.temperatureStep(), IceUnitModel.test_dof1comm(), IceUnitModel.test_dof2comm(), IceUnitModel.test_IceModelVec2T(), IceUnitModel.test_IceModelVec2V(), IceUnitModel.test_IceModelVec3(), IceUnitModel.test_IceModelVec3Bedrock(), IceModel.trivialMoveSSAXtoIMV2V(), PA_EISMINT_Greenland.update(), PSLocalMassBalance.update(), PA_SeaRISE_Greenland.update(), IceModel.update_mask(), IceModel.update_nu_viewers(), IceModel.update_surface_elevation(), IceModel.updateYieldStressUsingBasalWater(), IceModel.velocities2DSIAToRegular(), IceModel.velocitySIAStaggered(), IceModel.vertVelocityFromIncompressibility(), IceModelVec3Bedrock.view_sounding(), IceModelVec3.view_sounding(), IceModel.volumeArea(), and IceMISMIPModel.writeMISMIPasciiFile().
| PetscScalar * zblevels |
Definition at line 68 of file grid.hh.
Referenced by IceModel.bootstrapSetBedrockColumnTemp(), IceModel.check_maximum_thickness(), compute_bed_vertical_levels(), IceCompModel.computeIceBedrockTemperatureErrors(), PISMIO.create_dimensions(), IceCompModel.fillSolnTestK(), get_dzMIN_dzMAX_spacingtype(), IceModelVec3Bedrock.getValColumnPL(), IceGrid(), init_interpolation(), IceCompModel.initTestFG(), printVertLevels(), PISMIO.regrid_var(), IceModel.report_grid_parameters(), set_vertical_levels(), IceModelVec3Bedrock.setValColumnPL(), IceUnitModel.test_IceModelVec3Bedrock(), and ~IceGrid().
| PetscScalar * zblevels_fine |
Definition at line 72 of file grid.hh.
Referenced by compute_fine_vertical_grid(), IceModelVec3Bedrock.getValColumnPL(), IceGrid(), init_interpolation(), IceModelVec3Bedrock.setValColumnPL(), IceUnitModel.test_IceModelVec3Bedrock(), and ~IceGrid().
| PetscScalar* zlevels |
Definition at line 68 of file grid.hh.
Referenced by IceModel.ageStats(), IceModel.check_maximum_thickness(), IceModel.compute_hardav(), IceModel.compute_ice_enthalpy(), compute_ice_vertical_levels(), IceModel.compute_temp(), IceModel.compute_temp_pa(), IceModel.computeEffectiveViscosity(), IceCompModel.computeIceBedrockTemperatureErrors(), IceCompModel.computeSigmaErrors(), IceCompModel.computeTemperatureErrors(), IceModel.correctSigma(), PISMIO.create_dimensions(), IceCompModel.fillSolnTestFG(), IceCompModel.fillSolnTestK(), get_dzMIN_dzMAX_spacingtype(), IceCompModel.getCompSourcesTestFG(), IceModelVec3.getPlaneStar_fine(), IceModelVec3.getPlaneStarZ(), IceModelVec3.getValColumnPL(), IceModelVec3.getValColumnQUAD(), IceModelVec3.getValZ(), IceGrid(), init_interpolation(), IceCompModel.initTestFG(), kBelowHeight(), printVertLevels(), IceModel.putTempAtDepth(), PISMIO.regrid_var(), set_vertical_levels(), IceModel.setCTSFromEnthalpy(), IceModel.setEnth3FromT3_ColdIce(), IceModel.setEnth3FromT3AndLiqfrac3(), IceModel.setLiquidFracFromEnthalpy(), IceModelVec3.setValColumnPL(), IceModel.velocitySIAStaggered(), IceModel.vertVelocityFromIncompressibility(), and ~IceGrid().
| PetscScalar* zlevels_fine |
Definition at line 72 of file grid.hh.
Referenced by IceModel.ageStep(), compute_fine_vertical_grid(), IceModel.enthalpyAndDrainageStep(), IceModel.getEnthalpyCTSColumn(), IceModelVec3.getPlaneStar_fine(), IceModelVec3.getValColumnPL(), IceModelVec3.getValColumnQUAD(), IceGrid(), init_interpolation(), IceModelVec3.setValColumnPL(), IceModel.temperatureStep(), IceUnitModel.test_IceModelVec3(), and ~IceGrid().
1.6.2-20100124