PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ 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().