slepc-3.7.3 2016-09-29
Report Typos and Errors

# SVDRegister

Adds a method to the singular value solver package.

### Synopsis

    #include "slepcsvd.h"
    PetscErrorCode SVDRegister(const char *name,PetscErrorCode (*function)(SVD))

Not Collective

### Input Parameters

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

### Notes

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

### Sample usage

        SVDRegister("my_solver",MySolverCreate);

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

        SVDSetType(svd,"my_solver")

or at runtime via the option

        -svd_type my_solver

### See Also

SVDRegisterAll()

Location: src/svd/interface/svdbasic.c
Index of all SVD routines
Table of Contents for all manual pages
Index of all manual pages