PCGAMGSetGraphSymmetrize — PETSc 3.23.0 documentation

Skip to main content
`Ctrl`+`K`

# PCGAMGSetGraphSymmetrize

Set the flag to symmetrize the graph used in coarsening

## Synopsis

    #include "petscpc.h"
    PetscErrorCode PCGAMGSetGraphSymmetrize(PC pc, PetscBool b)

Logically Collective

## Input Parameters

- pc - the preconditioner context

- b - default false

## Options Database Key

- -pc_gamg_graph_symmetrize <bool,default=false> - Symmetrize the graph

## See Also

the Users Manual section on PCGAMG, the Users Manual section on PCMG, `PCGAMG`, `PCGAMGSetThreshold()`, `PCGAMGSetAggressiveLevels()`, `PCGAMGMISkSetAggressive()`, `PCGAMGSetAggressiveSquareGraph()`, `PCGAMGMISkSetMinDegreeOrdering()`

## Level

intermediate

## Location

src/ksp/pc/impls/gamg/agg.c

## Implementations

PCGAMGSetGraphSymmetrize_AGG() in src/ksp/pc/impls/gamg/agg.c

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