petsc-3.13.6 2020-09-29
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)

See Also

PFSet(), PFRegister(), PFCreate(), DMDACreatePF()

Level

intermediate

Location

src/vec/pf/interface/pf.c

Examples

src/snes/tutorials/ex22.c.html

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