Go to the documentation of this file.
14 #ifndef ASHIFTSOLVER_CG_INCLUDED
15 #define ASHIFTSOLVER_CG_INCLUDED
31 template<
typename FIELD,
typename FOPR>
76 std::vector<FIELD>& solution,
77 const std::vector<double>&
shift,
91 const std::vector<double>& sigma,
void get_parameters(Parameters ¶ms) const
Shiftsolver class as an abstract base class for multi-shift solvers.
Common parameter class: provides parameters as singleton.
void set_parameters(const Parameters ¶ms)
Bridge::VerboseLevel m_vl
AShiftsolver_CG(FOPR *fopr)
void solve_init(double &)
void solve_step(double &)
std::vector< double > m_pp
void reset_field(const FIELD &b, const std::vector< double > &sigma, const int Nshift)
std::vector< double > m_csh2
void solve(std::vector< FIELD > &solution, const std::vector< double > &shift, const FIELD &source, int &Nconv, double &diff)
static const std::string class_name
std::vector< double > m_zeta2
std::vector< double > m_zeta1
AShiftsolver_CG(FOPR *fopr, int niter, double stop_cond)
Multishift Conjugate Gradient solver.