Actual source code: qepregis.c
1: /*
2: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3: SLEPc - Scalable Library for Eigenvalue Problem Computations
4: Copyright (c) 2002-2013, Universitat Politecnica de Valencia, Spain
6: This file is part of SLEPc.
8: SLEPc is free software: you can redistribute it and/or modify it under the
9: terms of version 3 of the GNU Lesser General Public License as published by
10: the Free Software Foundation.
12: SLEPc is distributed in the hope that it will be useful, but WITHOUT ANY
13: WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14: FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
15: more details.
17: You should have received a copy of the GNU Lesser General Public License
18: along with SLEPc. If not, see <http://www.gnu.org/licenses/>.
19: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
20: */
22: #include <slepc-private/qepimpl.h> /*I "slepcqep.h" I*/
24: PETSC_EXTERN PetscErrorCode QEPCreate_Linear(QEP);
25: PETSC_EXTERN PetscErrorCode QEPCreate_QArnoldi(QEP);
26: PETSC_EXTERN PetscErrorCode QEPCreate_QLanczos(QEP);
30: /*@C
31: QEPRegisterAll - Registers all the solvers in the QEP package.
33: Not Collective
35: Level: advanced
37: .seealso: QEPRegister()
38: @*/
39: PetscErrorCode QEPRegisterAll(void)
40: {
44: QEPRegisterAllCalled = PETSC_TRUE;
45: QEPRegister(QEPLINEAR,QEPCreate_Linear);
46: QEPRegister(QEPQARNOLDI,QEPCreate_QArnoldi);
47: QEPRegister(QEPQLANCZOS,QEPCreate_QLanczos);
48: return(0);
49: }