petsc-3.7.5 2017-01-01
Report Typos and Errors

PFSetType

Builds PF for a particular function

Synopsis

#include "petscpf.h" 
PetscErrorCode  PFSetType(PF pf,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(), PFRegister(), 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