PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ 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 477 of file Grid.cc.

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

Referenced by Grid().