PETSc version 3.17.5
Fix/Edit manual page

PCMGGetGridComplexity

compute operator and grid complexity of MG hierarchy

Synopsis

#include "petscksp.h" 
PetscErrorCode PCMGGetGridComplexity(PC pc, PetscReal *gc, PetscReal *oc)

Input Parameter

pc - the preconditioner context

Output Parameters

gc - grid complexity = sum_i(n_i) / n_0
oc - operator complexity = sum_i(nnz_i) / nnz_0

See Also

PCMGGetLevels()

Level

advanced

Location

src/ksp/pc/impls/mg/mg.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages