petsc-3.4.2 2013-07-02

# PCCreate

Creates a preconditioner context.

### Synopsis

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

Collective on MPI_Comm

### 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 ICC in parallel. For dense matrices it is always PCNONE.

### Keywords

PC, create, context

### See Also

PCSetUp(), PCApply(), PCDestroy()

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

### Examples

src/ksp/ksp/examples/tutorials/ex21f.F.html