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

◆ get_dm()

std::shared_ptr< petsc::DM > pism::Grid::get_dm ( unsigned int  dm_dof,
unsigned int  stencil_width 
) const

Get a PETSc DM ("distributed array manager") object for given dof (number of degrees of freedom per grid point) and stencil width.

Definition at line 653 of file Grid.cc.

References pism::Grid::Impl::create_dm(), pism::Grid::Impl::dms, and m_impl.

Referenced by Grid(), and pism::fem::Element2::mark_col_invalid().