petsc-3.3-p7 2013-05-11

PFSetType

Builds PF for a particular function

Synopsis

#include "petscpf.h" 
PetscErrorCode  PFSetType(PF pf,const PFType type,void *ctx)
Collective on PF

Input Parameter

pf - the function context.
type - a known method
ctx - optional type dependent context

Options Database Key

-pf_type <type> -Sets PF type

Notes

See "petsc/include/petscpf.h" for available methods (for instance, PFCONSTANT)

Keywords

PF, set, method, type

See Also

PFSet(), PFRegisterDynamic(), PFCreate(), DMDACreatePF()

Level:intermediate
Location:
src/vec/pf/interface/pf.c
Index of all PF routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex22.c.html