Computes the grid and operator complexities.
static PetscErrorCode PCHPDDMGetComplexities(PC pc, PetscReal *gc, PetscReal *oc)
|pc ||- preconditioner context
|gc ||- grid complexity = sum_i(m_i) / m_1
|oc ||- operator complexity = sum_i(nnz_i) / nnz_1
PCGAMG does not follow the usual convention and names the grid complexity what is usually referred to as the operator complexity. PCHPDDM follows what is found in the literature, and in particular, what you get with PCHYPRE and -pc_hypre_boomeramg_print_statistics.
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages