PFApplyVec#
Applies the mathematical function to a vector
Synopsis#
#include "petscpf.h"
PetscErrorCode PFApplyVec(PF pf, Vec x, Vec y)
Collective
Input Parameters#
pf - the function context
x - input vector (or
NULLfor the vector (0,1, …. N-1)
Output Parameter#
y - output vector
See Also#
PF, PFApply(), PFCreate(), PFDestroy(), PFSetType(), PFSet()
Level#
beginner
Location#
Examples#
src/dm/tutorials/ex4.c
src/snes/tutorials/ex22.c
src/dm/tests/ex16.c
src/dm/tests/ex37.c
Implementations#
PFApplyVec_Constant() in src/vec/pf/impls/constant/const.c
PFApplyVec_Identity() in src/vec/pf/impls/constant/const.c
Index of all PF routines
Table of Contents for all manual pages
Index of all manual pages