17 #ifdef USE_FACTORY_AUTOREGISTER
19 bool init = Solver_CGNR::register_factory();
36 const std::string mode_prev = fopr->
get_mode();
40 if (mode_prev ==
"DdagD") {
45 if (!((mode_prev ==
"D") || (mode_prev ==
"Ddag"))) {
65 if (mode_prev ==
"D") {
67 }
else if (mode_prev ==
"Ddag") {
98 const double gflop = gflop_solver + gflop_fopr;
void detailed(const char *format,...)
static double epsilon_criterion()
virtual void set_mode(const std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
void solve(Field &solution, const Field &source, int &Nconv, double &diff)
Container of Field-type object.
void set_parameters(const Parameters ¶ms)
void set_parameters(const Parameters ¶ms)
static const std::string class_name
virtual double flop_count()
returns the flop in giga unit
virtual std::string get_mode() const
only for Fopr_Overlap
void solve(Field &solution, const Field &source, int &Nconv, double &diff)
void reset(const int Nin, const int Nvol, const int Nex, const element_type cmpl=Element_type::COMPLEX)
void crucial(const char *format,...)
virtual void mult_dag(Field &, const Field &)
hermitian conjugate of mult(Field&, const Field&).
Base class of fermion operator family.
Bridge::VerboseLevel m_vl