FNRegister

See Adds a mathematical function to the FN package.

Synopsis

#include "slepcfn.h" 
PetscErrorCode FNRegister(const char *name,PetscErrorCode (*function)(FN))
Not collective

Input Parameters

name - name of a new user-defined FN
function - routine to create context

Notes

FNRegister() may be called multiple times to add several user-defined inner products.

See Also

FNRegisterAll()

Location: src/fn/fnbasic.c
Index of all FN routines
Table of Contents for all manual pages
Index of all manual pages