PCAIRGetGridComplexity#

Returns the grid complexity of the PCAIR multigrid hierarchy

Synopsis#

PETSC_EXTERN PetscErrorCode PCAIRGetGridComplexity(PC pc, PetscReal *complexity)

Not Collective

Input Parameter#

  • pc - the PCAIR preconditioner context

Output Parameter#

  • complexity - the grid complexity of the hierarchy, or -1 if PCSetUp() has not yet been called

Note#

Grid complexity is the total number of unknowns summed over all levels of the hierarchy, divided by the number of unknowns on the finest level.

See Also#

KSP: Linear System Solvers, PCAIR, PCSetUp(), PCAIRGetNumLevels(), PCAIRGetOperatorComplexity(), PCAIRGetCycleComplexity(), PCAIRGetStorageComplexity(), PCAIRGetReuseStorageComplexity()

Level#

advanced

Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages