PISM, A Parallel Ice Sheet Model  stable v2.0.6 committed by Constantine Khrulev on 2023-01-23 15:14:38 -0900
pism::IceGrid::Impl Struct Reference

Internal structures of IceGrid. More...

## Public Member Functions

Impl (std::shared_ptr< const Context > context)

std::shared_ptr< petsc::DMcreate_dm (int da_dof, int stencil_width) const
Create a DM with the given number of dof (degrees of freedom per grid point) and stencil width. More...

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). More...

void compute_horizontal_coordinates ()
Compute horizontal spacing parameters dx and dy and grid coordinates using Mx, My, Lx, Ly and periodicity. More...

## Public Attributes

std::shared_ptr< const Contextctx

MappingInfo mapping_info

int rank

int size

std::vector< PetscInt > procs_x
array containing lenghts (in the x-direction) of processor sub-domains More...

std::vector< PetscInt > procs_y
array containing lenghts (in the y-direction) of processor sub-domains More...

Periodicity periodicity

GridRegistration registration

std::vector< double > x
x-coordinates of grid points More...

std::vector< double > y
y-coordinates of grid points More...

std::vector< double > z
vertical grid levels in the ice; correspond to the storage grid More...

int xs

int xm

int ys

int ym

double dx
horizontal grid spacing More...

double dy
horizontal grid spacing More...

double cell_area
cell area (meters^2) More...

unsigned int Mx
number of grid points in the x-direction More...

unsigned int My
number of grid points in the y-direction More...

double x0
x-coordinate of the grid center More...

double y0
y-coordinate of the grid center More...

double Lx
half width of the ice model grid in x-direction (m) More...

double Ly
half width of the ice model grid in y-direction (m) More...

std::map< int, std::weak_ptr< petsc::DM > > dms

std::shared_ptr< petsc::DMdm_scalar_global

Vars variables
A dictionary with pointers to IceModelVecs, for passing them from the one component to another (e.g. from IceModel to surface and ocean models). More...

gsl_interp_accel * bsearch_accel
GSL binary search accelerator used to speed up kBelowHeight(). More...

std::map< int, int > io_decompositions
ParallelIO I/O decompositions. More...

## Detailed Description

Internal structures of IceGrid.

Definition at line 49 of file IceGrid.cc.

The documentation for this struct was generated from the following file: