petsc-3.4.5 2014-06-29

SNESSetPC

Sets the nonlinear preconditioner to be used.

Synopsis

#include "petscsnes.h"  
PetscErrorCode SNESSetPC(SNES snes, SNES pc)
Collective on SNES

Input Parameters

snes - iterative context obtained from SNESCreate()
pc - the preconditioner object

Notes

Use SNESGetPC() to retrieve the preconditioner context (for example, to configure it using the API).

Keywords

SNES, set, precondition

See Also

SNESGetPC()

Level:developer
Location:
src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages