ADDAGetAggregates

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

Synopsis

#include "petscda.h" 
PetscErrorCode PETSCDM_DLLEXPORT ADDAGetAggregates(ADDA addac,ADDA addaf,Mat *rest)
Collective on ADDA

Input Parameters

addac - the coarse grid ADDA
addaf - the fine grid ADDA

Output Parameters

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

Keywords

interpolation, restriction, multigrid

See Also

ADDARefine(), ADDAGetInjection(), ADDAGetInterpolation()

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