PCAIRGetCycleComplexity#

Returns the cycle complexity of the PCAIR multigrid hierarchy

Synopsis#

PETSC_EXTERN PetscErrorCode PCAIRGetCycleComplexity(PC pc, PetscReal *complexity)

Not Collective

Input Parameter#

  • pc - the PCAIR preconditioner context

Output Parameter#

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

Note#

Cycle complexity is the total number of nonzeros touched while applying a single multigrid V-cycle, divided by the number of nonzeros in the finest-level matrix.

See Also#

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

Level#

advanced

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