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

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