Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

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