PISM, A Parallel Ice Sheet Model
stable v2.0.6 committed by Constantine Khrulev on 20230123 15:14:38 0900

Internal structures of IceGrid. More...
Public Member Functions  
Impl (std::shared_ptr< const Context > context)  
std::shared_ptr< petsc::DM >  create_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 Context >  ctx 
MappingInfo  mapping_info 
int  rank 
int  size 
std::vector< PetscInt >  procs_x 
array containing lenghts (in the xdirection) of processor subdomains More...  
std::vector< PetscInt >  procs_y 
array containing lenghts (in the ydirection) of processor subdomains More...  
Periodicity  periodicity 
GridRegistration  registration 
std::vector< double >  x 
xcoordinates of grid points More...  
std::vector< double >  y 
ycoordinates 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 xdirection More...  
unsigned int  My 
number of grid points in the ydirection More...  
double  x0 
xcoordinate of the grid center More...  
double  y0 
ycoordinate of the grid center More...  
double  Lx 
half width of the ice model grid in xdirection (m) More...  
double  Ly 
half width of the ice model grid in ydirection (m) More...  
std::map< int, std::weak_ptr< petsc::DM > >  dms 
std::shared_ptr< petsc::DM >  dm_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...  
Internal structures of IceGrid.
Definition at line 49 of file IceGrid.cc.