IFEM
90A354
src
Eig
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
MatVec.h
Global algebraic operations on index 1-based matrices and vectors.
SystemMatrix
Base class for representing a system matrix on different formats.
Definition:
SystemMatrix.h:220
utl::matrix< Real >
utl::vector
A vector class with some added algebraic operations.
Definition:
matrix.h:64
eig
Top-level functions for invoking eigenproblem solvers.
Definition:
SIMoptions.C:32
eig::solve
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
Generated by
1.9.1