14 #ifndef SOLVER_INCLUDED
15 #define SOLVER_INCLUDED
50 virtual void set_parameters(
const int Niter,
const int Nrestart,
const double Stop_cond) = 0;
51 virtual void set_parameters(
const int Niter,
const int Nrestart,
const double Stop_cond,
const bool use_init_guess) = 0;
56 int& Nconv,
double& diff) = 0;
72 ProductCreator p = Factory::Find(subtype);
74 return p ? (*p)(fopr) : 0;
79 ProductCreator p = Factory::Find(subtype);
81 return p ? (*p)(fopr.
get()) : 0;
84 #ifdef USE_FACTORY_AUTOREGISTER
86 static bool init_factory();
Container of Field-type object.
virtual Fopr * get_fopr()=0
virtual void set_parameters(const Parameters ¶ms)=0
Solver & operator=(const Solver &)
Common parameter class: provides parameters as singleton.
Base class for linear solver class family.
std::string IdentifierType
Factory template class.
Base class of fermion operator family.
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
virtual void solve(Field &solution, const Field &source, int &Nconv, double &diff)=0
virtual double flop_count()=0
Bridge::VerboseLevel m_vl