14 #ifndef SOLVER_CG_INCLUDED
15 #define SOLVER_CG_INCLUDED
77 void set_parameters(
const int Niter,
const int Nrestart,
const double Stop_cond);
78 void set_parameters(
const int Niter,
const int Nrestart,
const double Stop_cond,
const bool use_init_guess);
81 int& Nconv,
double& diff);
101 static bool register_factory()
103 return Solver::Factory::Register(
"CG", create_object);
void solve_init(const Field &, double &)
void reset_field(const Field &)
void solve(Field &solution, const Field &source, int &Nconv, double &diff)
Container of Field-type object.
static const std::string class_name
void solve_step(double &)
Solver_CG(unique_ptr< Fopr > &fopr)
Standard Conjugate Gradient solver algorithm.
void set_parameters(const Parameters ¶ms)
Base class for linear solver class family.
Base class of fermion operator family.