slepc-3.17.2 2022-08-09
Report Typos and Errors

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

### Sample 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()

Location: src/lme/interface/lmebasic.c
Index of all LME routines
Table of Contents for all manual pages
Index of all manual pages