Fabric class for eigensolver inexact inverse iteration. More...

#include <inexactFabric.hh>

Inheritance diagram for eigensolver::InexactInvFabric:
eigensolver::SolverFabric< Real > concepts::OutputOperator

Public Member Functions

 InexactInvFabric (const concepts::Vector< Real > &EFguess, const Real innerTol=0.5, const uint innerMax=100, const Real outerTol=1e-6, const uint outerMax=100)
 Constructor. More...
 
virtual EigenSolver< Real > & operator() (concepts::Operator< Real > &stiff, concepts::Operator< Real > &mass)=0
 Creates an eigenvalue solver which solves the abstract eigenvalue problem defined by stiff and mass. More...
 
virtual InexactInv< Real > & operator() (concepts::Operator< Real, Real > &stiff, concepts::Operator< Real, Real > &mass)
 
virtual ~InexactInvFabric ()
 

Protected Member Functions

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

Private Member Functions

 InexactInvFabric (const InexactInvFabric &)
 

Private Attributes

concepts::Vector< Real > EFguess_
 
uint innerMax_
 
Real innerTol_
 
uint outerMax_
 
Real outerTol_
 
std::unique_ptr< InexactInv< Real > > solver_
 

Detailed Description

Fabric class for eigensolver inexact inverse iteration.

Test:

test::GolubExample

test::GolubExampleSum

test::MaxwellTransmissionEVP

Author
Philipp Frauenfelder, 2003.

Definition at line 23 of file inexactFabric.hh.

Constructor & Destructor Documentation

◆ InexactInvFabric() [1/2]

eigensolver::InexactInvFabric::InexactInvFabric ( const concepts::Vector< Real > &  EFguess,
const Real  innerTol = 0.5,
const uint  innerMax = 100,
const Real  outerTol = 1e-6,
const uint  outerMax = 100 
)
inline

Constructor.

Definition at line 27 of file inexactFabric.hh.

◆ ~InexactInvFabric()

virtual eigensolver::InexactInvFabric::~InexactInvFabric ( )
virtual

◆ InexactInvFabric() [2/2]

eigensolver::InexactInvFabric::InexactInvFabric ( const InexactInvFabric )
private

Member Function Documentation

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator()() [1/2]

virtual EigenSolver<Real >& eigensolver::SolverFabric< Real >::operator() ( concepts::Operator< Real > &  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

Implemented in eigensolver::ArPackFabric.

◆ operator()() [2/2]

virtual InexactInv<Real>& eigensolver::InexactInvFabric::operator() ( concepts::Operator< Real, Real > &  stiff,
concepts::Operator< Real, Real > &  mass 
)
virtual

Member Data Documentation

◆ EFguess_

concepts::Vector<Real> eigensolver::InexactInvFabric::EFguess_
private

Definition at line 40 of file inexactFabric.hh.

◆ innerMax_

uint eigensolver::InexactInvFabric::innerMax_
private

Definition at line 42 of file inexactFabric.hh.

◆ innerTol_

Real eigensolver::InexactInvFabric::innerTol_
private

Definition at line 41 of file inexactFabric.hh.

◆ outerMax_

uint eigensolver::InexactInvFabric::outerMax_
private

Definition at line 42 of file inexactFabric.hh.

◆ outerTol_

Real eigensolver::InexactInvFabric::outerTol_
private

Definition at line 41 of file inexactFabric.hh.

◆ solver_

std::unique_ptr<InexactInv<Real> > eigensolver::InexactInvFabric::solver_
private

Definition at line 38 of file inexactFabric.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich