#include "slepcmfn.h" PetscErrorCode MFNRegister(const char *name,PetscErrorCode (*function)(MFN))Not Collective
name | - name of a new user-defined solver | |
function | - routine to create the solver context |
MFNRegister("my_solver",MySolverCreate);
Then, your solver can be chosen with the procedural interface via
MFNSetType(mfn,"my_solver")or at runtime via the option
-mfn_type my_solver
Location: src/mfn/interface/mfnbasic.c
Index of all MFN routines
Table of Contents for all manual pages
Index of all manual pages