petsc-3.13.6 2020-09-29
PCGetCoarseOperators
Gets coarse operator matrices for all levels (except the finest level)
Synopsis
#include "petscksp.h"
PetscErrorCode PCGetCoarseOperators(PC pc,PetscInt *num_levels,Mat *coarseOperators[])
Logically Collective on PC
Input Parameters
| pc | - the precondition context
|
Output Parameter
| num_levels | - the number of levels
|
coarseOperators -the coarse operator matrices (size of num_levels-1)
Keywords
MG, GAMG, BoomerAMG, get, multigrid, interpolation, level
See Also
PCMGGetRestriction(), PCMGSetInterpolation(), PCMGGetRScale(), PCMGGetInterpolation(), PCGetInterpolations()
Level
advanced
Location
src/ksp/pc/interface/precon.c
Implementations
PCGetCoarseOperators_BoomerAMG in src/ksp/pc/impls/hypre/hypre.c
PCGetCoarseOperators_MG in src/ksp/pc/impls/mg/mg.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages