You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
eigensolver
inexactFabric.hh
Go to the documentation of this file.
1
6
#ifndef inexactFabric_hh
7
#define inexactFabric_hh
8
9
#include <memory>
10
#include "
inexactInv.hh
"
11
#include "
solverFabric.hh
"
12
13
namespace
eigensolver
{
14
15
// ****************************************************** InexactInvFabric **
16
23
class
InexactInvFabric
:
public
SolverFabric
<Real> {
24
public
:
27
InexactInvFabric
(
const
concepts::Vector<Real>
& EFguess,
28
const
Real innerTol = 0.5,
const
uint innerMax = 100,
29
const
Real outerTol = 1e-6,
const
uint outerMax = 100) :
30
solver_(0), EFguess_(EFguess), innerTol_(innerTol), outerTol_(outerTol),
31
innerMax_(innerMax), outerMax_(outerMax) {}
32
virtual
~InexactInvFabric
();
33
virtual
InexactInv<Real>
& operator()(
concepts::Operator<Real,Real>
& stiff,
34
concepts::Operator<Real,Real>
& mass);
35
protected
:
36
virtual
std::ostream&
info
(std::ostream& os)
const
;
37
private
:
38
std::unique_ptr<InexactInv<Real> > solver_;
39
40
concepts::Vector<Real>
EFguess_;
41
Real innerTol_, outerTol_;
42
uint innerMax_, outerMax_;
43
44
InexactInvFabric
(
const
InexactInvFabric
&);
45
};
46
47
}
// namespace eigensolver
48
49
#endif
// inexactFabric_hh
concepts::Operator
Definition
compositions.hh:42
concepts::Vector
Definition
vector.hh:39
eigensolver::InexactInvFabric
Definition
inexactFabric.hh:23
eigensolver::InexactInvFabric::info
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
eigensolver::InexactInvFabric::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)
Definition
inexactFabric.hh:27
eigensolver::InexactInv
Definition
inexactInv.hh:36
eigensolver::SolverFabric
Definition
solverFabric.hh:31
inexactInv.hh
eigensolver
Definition
eigensolver.hh:33
solverFabric.hh
Generated on Wed Sep 13 2023 21:06:18 for Concepts by
1.9.8