#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
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 |