#include <constrained.hh>
Public Member Functions | |
Constrained (concepts::Operator< Real > &A, concepts::Operator< Real > &M, const concepts::SparseMatrix< Real > &C, SolverFabric< Real > &solver) | |
virtual const concepts::Array< Real > & | getEV () |
virtual const concepts::Array< concepts::Vector< Real > * > & | getEF () |
virtual uint | iterations () const |
Returns the number of iterations. | |
virtual uint | converged () const |
Returns the number of converged eigen pairs. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Solves a generalized eigenvalue problem subject to linear, homogeneous constraints.
This class solve a generalized eigenvalue problem of the form
subject to the constraints where and . This is important for solving eigenvalue problems with essential boundary conditions like .
For the case , this is described in [1 section 12.6, 2]. For the much more complicated case of , see [3, 4]. The first case should be sufficient for most applications.
Definition at line 54 of file constrained.hh.
|
inline |
Constructor.
A | Matrix |
M | Matrix |
C | Matrix of constraints |
solver | Fabric for the eigenvalue solver |
Definition at line 62 of file constrained.hh.
|
inlinevirtual |
Returns the number of converged eigen pairs.
Implements eigensolver::EigenSolver< Real >.
Definition at line 74 of file constrained.hh.
|
virtual |
Implements eigensolver::EigenSolver< Real >.
|
virtual |
Returns an array with the eigen values
Implements eigensolver::EigenSolver< Real >.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from eigensolver::EigenSolver< Real >.
|
inlinevirtual |
Returns the number of iterations.
Implements eigensolver::EigenSolver< Real >.
Definition at line 73 of file constrained.hh.