G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
gsTrilinosEigenProblem.h
Go to the documentation of this file.
1
14#pragma once
15
16// FD Trilinos
17class Epetra_MultiVector;
18class Epetra_Operator;
19
20namespace gismo
21{
22
23namespace trilinos
24{
25
26namespace solver
27{
28
29
30enum AnasaziMethod { BlockDavidson = 1, LOBPCG = 2, BlockKrylovSchur = 3 };
31
32class EigenProblemPrivate;
33
42class GISMO_EXPORT EigenProblem
43{
44public:
45 typedef Epetra_MultiVector MV;
46 typedef Epetra_Operator OP;
47
48public:
49
50 explicit EigenProblem(const SparseMatrix & A,
51 const AnasaziMethod & method = BlockKrylovSchur);
52 // BlockDavidson
53
55
56 void solve() const;
57
58
59protected:
60 EigenProblemPrivate * my;
61};
62
63
64}// namespace solver
65}// namespace trilinos
66}// namespace gismo
Computes the eigenvalues of largest magnitude of an eigenvalue problem $A x = \lambda x$,...
Definition gsTrilinosEigenProblem.h:43
The G+Smo namespace, containing all definitions for the library.