petsc-3.7.3 2016-08-01
Report Typos and Errors

PCReset

Resets a PC context to the pcsetupcalled = 0 state and removes any allocated Vecs and Mats

Synopsis

#include "petscksp.h" 
PetscErrorCode  PCReset(PC pc)
Collective on PC

Input Parameter

pc -the preconditioner context

Notes: This allows a PC to be reused for a different sized linear system but using the same options that have been previously set in the PC

Keywords

PC, destroy

See Also

PCCreate(), PCSetUp()

Level:developer
Location:
src/ksp/pc/interface/precon.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages