Class documentation of Concepts

Loading...
Searching...
No Matches
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
13namespace eigensolver {
14
15 // ****************************************************** InexactInvFabric **
16
23 class InexactInvFabric : public SolverFabric<Real> {
24 public:
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,
35 protected:
36 virtual std::ostream& info(std::ostream& os) const;
37 private:
38 std::unique_ptr<InexactInv<Real> > solver_;
39
41 Real innerTol_, outerTol_;
42 uint innerMax_, outerMax_;
43
45 };
46
47} // namespace eigensolver
48
49#endif // inexactFabric_hh
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
InexactInvFabric(const concepts::Vector< Real > &EFguess, const Real innerTol=0.5, const uint innerMax=100, const Real outerTol=1e-6, const uint outerMax=100)