Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Attributes
eigensolver::JdbSymFabric Class Reference

Fabric class for JdbSym eigenvalue solver for a constrained problem. More...

#include <jdbsymFabric.hh>

Inheritance diagram for eigensolver::JdbSymFabric:
Inheritance graph
[legend]
Collaboration diagram for eigensolver::JdbSymFabric:
Collaboration graph
[legend]

List of all members.

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)
 Constructor.
virtual EigenSolver< F > & operator() (concepts::Operator< F > &stiff, concepts::Operator< Real > &mass)=0
 Creates an eigenvalue solver which solves the abstract eigenvalue problem defined by stiff and mass.
virtual JdbSymoperator() (concepts::Operator< Real > &stiff, concepts::Operator< Real > &mass)
virtual ~JdbSymFabric ()

Protected Member Functions

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

Private Attributes

concepts::SolverFabric< Real > * fabric_
uint jdtype_
uint kmax_
uint maxit_
std::auto_ptr< JdbSymsolver_
 Real eigenvalue solver.
const concepts::Array
< concepts::Vector< Real > * > * 
start_
Real tau_
Real tol_

Detailed Description

Fabric class for JdbSym eigenvalue solver for a constrained problem.

Author:
Philipp Frauenfelder, 2002
Test:

test::GolubExample

test::GolubExampleSum

test::MaxwellTransmissionEVP

Examples:

hpFEM3d-EV.cc.

Definition at line 20 of file jdbsymFabric.hh.


Constructor & Destructor Documentation

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 36 of file jdbsymFabric.hh.

virtual eigensolver::JdbSymFabric::~JdbSymFabric ( ) [virtual]

Member Function Documentation

virtual std::ostream& eigensolver::JdbSymFabric::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

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

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

Implemented in eigensolver::ArPackFabric.

virtual JdbSym& eigensolver::JdbSymFabric::operator() ( concepts::Operator< Real > &  stiff,
concepts::Operator< Real > &  mass 
) [virtual]

Member Data Documentation

Definition at line 52 of file jdbsymFabric.hh.

Definition at line 51 of file jdbsymFabric.hh.

Definition at line 51 of file jdbsymFabric.hh.

Definition at line 51 of file jdbsymFabric.hh.

std::auto_ptr<JdbSym> eigensolver::JdbSymFabric::solver_ [private]

Real eigenvalue solver.

Definition at line 49 of file jdbsymFabric.hh.

Definition at line 53 of file jdbsymFabric.hh.

Definition at line 50 of file jdbsymFabric.hh.

Definition at line 50 of file jdbsymFabric.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)