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

◆ get_dm()

std::shared_ptr< petsc::DM > pism::IceGrid::get_dm ( int  dm_dof,
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 841 of file IceGrid.cc.

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

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