PFSetType

Builds PF for a particular function

Synopsis

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

Input Parameter

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

Options Database Key

-pf_type <type> -Sets PF type

Notes

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

Keywords

PF, set, method, type

See Also

PFSet(), PFRegisterDynamic(), PFCreate(), DACreatePF()

Level:intermediate
Location:src/pf/interface/pf.c
Vector Index
Table of Contents