IFEM  90A354
EigSolver.h
Go to the documentation of this file.
1 // $Id$
2 //==============================================================================
12 //==============================================================================
13 
14 #ifndef _EIG_SOLVER_H
15 #define _EIG_SOLVER_H
16 
17 #include "MatVec.h"
18 
19 class SystemMatrix;
20 
21 
22 namespace eig
23 {
35  int solve(SystemMatrix* A, SystemMatrix* B,
36  Vector& eigVal, Matrix& eigVec, int nev, int iop = 1,
37  double shift = 0.0);
38 
48  bool solve(SystemMatrix* A, SystemMatrix* B,
49  Vector& eigVal, Matrix& eigVec, int nev, int ncv, int mode,
50  double shift = 0.0);
51 }
52 
53 #endif
Global algebraic operations on index 1-based matrices and vectors.
Base class for representing a system matrix on different formats.
Definition: SystemMatrix.h:220
A vector class with some added algebraic operations.
Definition: matrix.h:64
Top-level functions for invoking eigenproblem solvers.
Definition: SIMoptions.C:32
int solve(SystemMatrix *A, SystemMatrix *B, Vector &eigVal, Matrix &eigVec, int nev, int iop=1, double shift=0.0)
Solves the eigenvalue problem using either SPRLAN, LAPACK or SLEPC.
Definition: EigSolver.C:104