17 #ifdef USE_FACTORY_AUTOREGISTER
19 bool init = Solver_CGNE::register_factory();
36 const std::string mode_prev = fopr->
get_mode();
40 if (mode_prev ==
"DdagD") {
45 if (!((mode_prev ==
"D") || (mode_prev ==
"Ddag"))) {
59 if (mode_prev ==
"D") {
61 }
else if (mode_prev ==
"Ddag") {
96 const double gflop = gflop_solver + gflop_fopr;
static const std::string class_name
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 solve(Field &solution, const Field &source, int &Nconv, double &diff)
void set_parameters(const Parameters ¶ms)
void set_parameters(const Parameters ¶ms)
virtual double flop_count()
returns the flop in giga unit
virtual std::string get_mode() const
only for Fopr_Overlap
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