PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ create_dm()

std::shared_ptr< petsc::DM > pism::Grid::Impl::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.

Definition at line 689 of file Grid.cc.

References pism::Grid::ctx(), pism::Grid::Mx(), pism::Grid::My(), and PISM_CHK.

Referenced by pism::Grid::get_dm().