PFSet

Sets the C/C++/Fortran functions to be used by the PF function

Synopsis

#include "pf.h" 
int PFSet(PF pf,int(*apply)(void*,int,Scalar*,Scalar*),int(*applyvec)(void*,Vec,Vec),int(*view)(void*,Viewer),int(*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

Keywords

PF, setting

See Also

PFCreate(), PFDestroy(), PFSetType(), PFApply(), PFApplyVec()

Examples

src/pf/examples/tutorials/ex1.c

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