Go to the documentation of this file.
17 #ifdef USE_FACTORY_AUTOREGISTER
19 bool init = Solver_CGNE::register_factory();
43 const std::string mode_prev = fopr->
get_mode();
47 if (mode_prev ==
"DdagD") {
52 if (!((mode_prev ==
"D") || (mode_prev ==
"Ddag"))) {
69 if (mode_prev ==
"D") {
71 }
else if (mode_prev ==
"Ddag") {
104 const double gflop = gflop_solver + gflop_fopr;
Bridge::VerboseLevel m_vl
void detailed(const char *format,...)
void solve(Field &solution, const Field &source, int &Nconv, double &diff)
void get_parameters(Parameters ¶ms) const
void solve(Field &solution, const Field &source, int &Nconv, double &diff)
virtual void set_mode(std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
void get_parameters(Parameters ¶ms) const
virtual std::string get_mode() const
returns the current mult mode.
virtual void mult_dag(AFIELD &, const AFIELD &)
hermitian conjugate of mult.
virtual double flop_count()
returns the number of floating point operations.
void reset(const int Nin, const int Nvol, const int Nex, const element_type cmpl=Element_type::COMPLEX)
void set_parameters(const Parameters ¶ms)
static const std::string class_name
void set_parameters(const Parameters ¶ms)
void crucial(const char *format,...)
Container of Field-type object.
static double epsilon_criterion()