Class documentation of Concepts

Loading...
Searching...
No Matches
jdbsymFabric.hh
Go to the documentation of this file.
1
6#ifndef jdbsymFabric_hh
7#define jdbsymFabric_hh
8
9#include <memory>
10#include "jdbsym.hh"
11#include "solverFabric.hh"
12
13namespace eigensolver {
14
15 // ********************************************************** JdbSymFabric **
16
23 class JdbSymFabric : public SolverFabric<Real> {
24 public:
39 JdbSymFabric(Real tol, uint maxit = 150, Real tau = 0.0,
40 uint jdtype = 1, uint kmax = 1,
42 const concepts::Array<concepts::Vector<Real>*>* start = 0)
43 : solver_(nullptr), tol_(tol), tau_(tau), maxit_(maxit), jdtype_(jdtype)
44 , kmax_(kmax), fabric_(fabric), start_(start) {}
45 virtual ~JdbSymFabric();
46 virtual JdbSym& operator()(concepts::Operator<Real>& stiff,
48 protected:
49 virtual std::ostream& info(std::ostream& os) const;
50 private:
52 std::unique_ptr<JdbSym> solver_;
53 Real tol_, tau_;
54 uint maxit_, jdtype_, kmax_;
57 };
58
59} // eigensolver
60
61#endif // jdbsymFabric_hh
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 std::ostream & info(std::ostream &os) const
Returns information in an output stream.