PETSc version 3.15.5
PFSet
Sets the C/C++/Fortran functions to be used by the PF function 
Synopsis
#include "petscpf.h" 
PetscErrorCode  PFSet(PF pf,PetscErrorCode (*apply)(void*,PetscInt,const PetscScalar*,PetscScalar*),PetscErrorCode (*applyvec)(void*,Vec,Vec),PetscErrorCode (*view)(void*,PetscViewer),PetscErrorCode (*destroy)(void*),void*ctx)
Collective on PF
Input Parameter
|  | pf | - the function context | 
|  | apply | - function to apply to an array | 
|  | applyvec | - function to apply to a Vec | 
|  | view | - function that prints information about the PF | 
|  | destroy | - function to free the private function context | 
|  | ctx | - private function context | 
See Also
 PFCreate(), PFDestroy(), PFSetType(), PFApply(), PFApplyVec()
Level
beginner
Location
src/vec/pf/interface/pf.c
Examples
src/dm/tutorials/ex4.c.html
Index of all PF routines
Table of Contents for all manual pages
Index of all manual pages