petsc-3.6.1 2015-08-06
Report Typos and Errors

PCGAMGSetType

Set solution method

Synopsis

#include "petscpc.h" 
PetscErrorCode PCGAMGSetType(PC pc, PCGAMGType type)
Collective on PC

Input Parameters

pc - the preconditioner context
type - PCGAMGAGG, PCGAMGGEO, or PCGAMGCLASSICAL

Options Database Key

-pc_gamg_type <agg,geo,classical> -

See Also

PCGAMGGetType(), PCGAMG

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

Examples

src/ksp/ksp/examples/tutorials/ex54.c.html