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

◆ create_restriction()

PetscErrorCode pism::create_restriction ( DM  fine,
DM  coarse,
const char *  dm_name 
)

Create the restriction matrix.

The result of this call is attached to dm_fine under mat_name.

Parameters
[in]fineDM corresponding to the fine grid
[in]coarseDM corresponding to the coarse grid
[in]dm_namename of the DM for 2D or 3D parameters
[in]mat_namename to use when attaching the restriction matrix to fine

Definition at line 152 of file grid_hierarchy.cc.

Referenced by pism::stressbalance::blatter_coarsening_hook().