petsc-master 2016-08-23
Report Typos and Errors

PCGAMGSetSquareGraph

Square the graph, ie. compute A'*A before aggregating it

Synopsis

#include "petscpc.h" 
PetscErrorCode PCGAMGSetSquareGraph(PC pc, PetscInt n)
Not Collective on PC

Input Parameters

pc - the preconditioner context
n - PETSC_TRUE or PETSC_FALSE

Options Database Key

-pc_gamg_square_graph <n,default = 1> -number of levels to square the graph on before aggregating it

See Also

PCGAMGSetSymGraph()

Level:intermediate
Location:
src/ksp/pc/impls/gamg/agg.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages