QEPRegister

Adds a method to the quadratic eigenproblem solver package.

Synopsis

#include "slepcqep.h" 
PetscErrorCode QEPRegister(const char *name,PetscErrorCode (*function)(QEP))
Not Collective

Input Parameters

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

Notes

QEPRegister() may be called multiple times to add several user-defined solvers.

Sample usage

   QEPRegister("my_solver",MySolverCreate);

Then, your solver can be chosen with the procedural interface via

    QEPSetType(qep,"my_solver")
or at runtime via the option
    -qep_type my_solver

See Also

QEPRegisterAll()

Location: src/qep/interface/qepbasic.c
Index of all QEP routines
Table of Contents for all manual pages
Index of all manual pages