DMGetAggregates

Gets the aggregates that map between grids associated with two DMs.

Synopsis

#include "petscda.h"     
PetscErrorCode PETSCDM_DLLEXPORT DMGetAggregates(DM dmc, DM dmf, Mat *rest) 
Collective on DM

Input Parameters

dmc - the coarse grid DM
dmf - the fine grid DM

Output Parameters

rest -the restriction matrix (transpose of the projection matrix)

Keywords

interpolation, restriction, multigrid

See Also

DMRefine(), DMGetInjection(), DMGetInterpolation()

Level:intermediate
Location:
src/dm/da/utils/dm.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages