|
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
|
Internal structures of Grid. More...
Public Member Functions | |
| Impl (std::shared_ptr< const Context > context) | |
| std::shared_ptr< petsc::DM > | create_dm (unsigned int da_dof, unsigned int stencil_width) const |
Create a DM with the given number of dof (degrees of freedom per grid point) and stencil width. | |
| void | set_ownership_ranges (const std::vector< unsigned int > &procs_x, const std::vector< unsigned int > &procs_y) |
Set processor ownership ranges. Takes care of type conversion (unsigned int -> PetscInt). | |
| void | compute_horizontal_coordinates () |
Compute horizontal spacing parameters dx and dy and grid coordinates using Mx, My, Lx, Ly and periodicity. | |
Public Attributes | |
| std::shared_ptr< const Context > | ctx |
| MappingInfo | mapping_info |
| int | rank |
| int | size |
| std::vector< PetscInt > | procs_x |
| array containing lenghts (in the x-direction) of processor sub-domains | |
| std::vector< PetscInt > | procs_y |
| array containing lenghts (in the y-direction) of processor sub-domains | |
| grid::Periodicity | periodicity |
| grid::Registration | registration |
| std::vector< double > | x |
| x-coordinates of grid points | |
| std::vector< double > | y |
| y-coordinates of grid points | |
| std::vector< double > | z |
| vertical grid levels in the ice; correspond to the storage grid | |
| int | xs |
| int | xm |
| int | ys |
| int | ym |
| double | dx |
| horizontal grid spacing | |
| double | dy |
| horizontal grid spacing | |
| double | cell_area |
| cell area (meters^2) | |
| unsigned int | Mx |
| number of grid points in the x-direction | |
| unsigned int | My |
| number of grid points in the y-direction | |
| int | max_patch_size |
| double | x0 |
| x-coordinate of the grid center | |
| double | y0 |
| y-coordinate of the grid center | |
| double | Lx |
| half width of the ice model grid in x-direction (m) | |
| double | Ly |
| half width of the ice model grid in y-direction (m) | |
| std::map< std::array< unsigned int, 2 >, std::weak_ptr< petsc::DM > > | dms |
| std::shared_ptr< petsc::DM > | dm_scalar_global |
| Vars | variables |
| A dictionary with pointers to array::Arrays, for passing them from the one component to another (e.g. from IceModel to surface and ocean models). | |
| gsl_interp_accel * | bsearch_accel |
| GSL binary search accelerator used to speed up kBelowHeight(). | |
| std::map< std::string, std::shared_ptr< InputInterpolation > > | regridding_2d |