Class documentation of Concepts

Loading...
Searching...
No Matches
eigensolver::JdbSymFabric Class Referenceabstract

#include <jdbsymFabric.hh>

Inheritance diagram for eigensolver::JdbSymFabric:
eigensolver::SolverFabric< F > concepts::OutputOperator

Public Member Functions

 JdbSymFabric (Real tol, uint maxit=150, Real tau=0.0, uint jdtype=1, uint kmax=1, concepts::SolverFabric< Real > *fabric=0, const concepts::Array< concepts::Vector< Real > * > *start=0)
 
virtual JdbSymoperator() (concepts::Operator< Real > &stiff, concepts::Operator< Real > &mass)
 
virtual EigenSolver< F > & operator() (concepts::Operator< F > &stiff, concepts::Operator< Real > &mass)=0
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

Fabric class for JdbSym eigenvalue solver for a constrained problem.

Author
Philipp Frauenfelder, 2002
Test:

test::GolubExample

test::GolubExampleSum

test::MaxwellTransmissionEVP

Definition at line 23 of file jdbsymFabric.hh.

Constructor & Destructor Documentation

◆ JdbSymFabric()

eigensolver::JdbSymFabric::JdbSymFabric ( Real  tol,
uint  maxit = 150,
Real  tau = 0.0,
uint  jdtype = 1,
uint  kmax = 1,
concepts::SolverFabric< Real > *  fabric = 0,
const concepts::Array< concepts::Vector< Real > * > *  start = 0 
)
inline

Constructor.

Parameters
fabricSolver fabric for a linear solver (preconditioner for the shifted stiffness matrix)
tolConvergence tolerance for the eigenpairs. For a pair $ (\lambda, u) $ convergence is defined by $ \| A u - \lambda B u \| < tol $
tauTarget value of Jacobi-Davidson algorithm. The code will find the kmax eigenvalues closest to tau.
jdtypeType of solver required. An older solver and a newer solver are possible to use.
kmaxNumber of eigenpairs to be computed
startStarting vectors. Used to build the initial search subspace

Definition at line 39 of file jdbsymFabric.hh.

Member Function Documentation

◆ info()

virtual std::ostream & eigensolver::JdbSymFabric::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator()()

template<typename F >
virtual EigenSolver< F > & eigensolver::SolverFabric< F >::operator() ( concepts::Operator< F > &  stiff,
concepts::Operator< Real > &  mass 
)
pure virtualinherited

Creates an eigenvalue solver which solves the abstract eigenvalue problem defined by stiff and mass. This fabric should only by used once as subsequent uses would invalidate older solvers.

Returns
Pointer to eigenvalue solver

The documentation for this class was generated from the following file: