#include "petscpc.h" PetscErrorCode PCGAMGSetSquareGraph(PC pc, PetscInt n)Not Collective on PC
pc | - the preconditioner context | |
n | - PETSC_TRUE or PETSC_FALSE |
-pc_gamg_square_graph <n,default = 1> | - number of levels to square the graph on before aggregating it |