PCCreate

Creates a preconditioner context.

Synopsis

#include "petscksp.h" 
PetscErrorCode  PCCreate(MPI_Comm comm,PC *newpc)
Collective

Input Parameter

comm - MPI communicator

Output Parameter

pc - location to put the preconditioner context

Notes

The default preconditioner for sparse matrices is PCILU or PCICC with 0 fill on one process and block Jacobi with PCILU or PCICC in parallel. For dense matrices it is always PCNONE.

Level: developer

See Also

PCSetUp(), PCApply(), PCDestroy()

Location:precon.c