14 #ifndef SHIFTSOLVER_CG_INCLUDED
15 #define SHIFTSOLVER_CG_INCLUDED
75 void solve(std::vector<Field>& solution,
76 const std::vector<double>&
shift,
78 int& Nconv,
double& diff);
84 void reset_field(
const Field& b,
const std::vector<double>& sigma,
const int Nshift);
static const std::string class_name
void reset_field(const Field &b, const std::vector< double > &sigma, const int Nshift)
Shiftsolver_CG(unique_ptr< Fopr > &fopr)
std::vector< double > m_zeta2
Shiftsolver_CG(unique_ptr< Fopr > &fopr, const int niter, const double stop_cond)
void solve_init(double &)
Container of Field-type object.
Multishift Conjugate Gradient solver.
void set_parameters(const Parameters ¶ms)
std::vector< double > m_csh2
Shiftsolver class as an abstract base class for multi-shift solvers.
std::vector< double > m_zeta1
Shiftsolver_CG(Fopr *fopr, const int niter, const double stop_cond)
Shiftsolver_CG(Fopr *fopr)
std::vector< double > m_pp
Base class of fermion operator family.
void solve_step(double &)
void solve(std::vector< Field > &solution, const std::vector< double > &shift, const Field &source, int &Nconv, double &diff)