Go to the documentation of this file.
15 #ifndef FOPR_RATIONAL_SF_INCLUDED
16 #define FOPR_RATIONAL_SF_INCLUDED
83 void set_parameters(
const int Np,
const int n_exp,
const int d_exp,
const double x_min,
const double x_max,
84 const int Niter,
const double Stop_cond);
100 double func(
const double x);
114 static Fopr *create_object(
Fopr *fopr)
125 static bool register_factory()
128 init &= Fopr::Factory_fopr::Register(
"Rational_SF", create_object);
129 init &= Fopr::Factory_fopr_params::Register(
"Rational_SF", create_object_with_params);
Common parameter class: provides parameters as singleton.
virtual int field_nex()=0
returns the external degree of freedom of the fermion field.
void get_parameters(Parameters ¶ms) const
gets parameters by a Parameter object: to be implemented in a subclass.
void set_config(Field *U)
sets the gauge configuration.
void mult_dag(Field &v, const Field &f)
hermitian conjugate of mult.
virtual void set_config(Field *)=0
sets the gauge configuration.
Shiftsolver_CG * m_solver
double flop_count()
this returns the number of floating point operations.
Fermion operator for rational approximation.
virtual int field_nvol()=0
returns the volume of the fermion field.
std::vector< double > m_bl
Fopr_Rational_SF(Fopr *fopr)
int field_nvol()
returns the volume of the fermion field.
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
static const std::string class_name
void mult(Field &v, const Field &f)
int field_nex()
returns the external degree of freedom of the fermion field.
std::vector< double > m_cl
Bridge::VerboseLevel m_vl
std::vector< Field > m_xq
double func(const double x)
Container of Field-type object.
virtual int field_nin()=0
returns the on-site degree of freedom of the fermion field.
Multishift Conjugate Gradient solver.
Fopr_Rational_SF(Fopr *fopr, const Parameters ¶ms)
int field_nin()
returns the on-site degree of freedom of the fermion field.