petsc-3.10.5 2019-03-28
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

Examples

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

Index of all PF routines
Table of Contents for all manual pages
Index of all manual pages