slepc-3.20.2 2024-03-15
LMERegister
Adds a method to the linear matrix equation solver package.
Synopsis
#include "slepclme.h"
PetscErrorCode LMERegister(const char *name,PetscErrorCode (*function)(LME))
Not Collective
Input Parameters
| name | - name of a new user-defined solver
|
| function | - routine to create the solver context
|
Notes
LMERegister() may be called multiple times to add several user-defined solvers.
Example Usage
LMERegister("my_solver",MySolverCreate);
Then, your solver can be chosen with the procedural interface via
LMESetType(lme,"my_solver")
or at runtime via the option
-lme_type my_solver
See Also
LMERegisterAll()
Level
advanced
Location
src/lme/interface/lmebasic.c
Index of all LME routines
Table of Contents for all manual pages
Index of all manual pages