15 #ifndef FOPR_RATIONAL_INCLUDED
16 #define FOPR_RATIONAL_INCLUDED
70 :
Fopr(), m_fopr(fopr) {}
73 :
Fopr(), m_fopr(fopr.get()) {}
81 void set_parameters(
int Np,
int n_exp,
int d_exp,
double x_min,
double x_max,
82 int Niter,
double Stop_cond);
102 double func(
double x);
Fermion operator for rational approximation.
void set_config(unique_ptr< Field_G > &U)
virtual void set_config(Field *)=0
setting pointer to the gauge configuration.
std::vector< Field > m_xq
Container of Field-type object.
Multishift Conjugate Gradient solver.
int field_nvol()
returns the volume for which the fermion operator is defined.
void mult(Field &v, const Field &f)
multiplies fermion operator to a given field (2nd argument)
std::vector< double > m_cl
virtual int field_nin()=0
returns the on-site d.o.f. for which the fermion operator is defined.
Shiftsolver_CG * m_solver
void set_config(Field *U)
setting pointer to the gauge configuration.
virtual int field_nex()=0
returns the external d.o.f. for which the fermion operator is defined.
Fopr_Rational(unique_ptr< Fopr > &fopr)
Fopr_Rational(Fopr *fopr)
static const std::string class_name
void set_parameters(const Parameters ¶ms)
void mult_dag(Field &v, const Field &f)
hermitian conjugate of mult(Field&, const Field&).
int field_nin()
returns the on-site d.o.f. for which the fermion operator is defined.
std::vector< double > m_bl
Parameters_Fopr_Rational()
int field_nex()
returns the external d.o.f. for which the fermion operator is defined.
Base class of fermion operator family.
virtual int field_nvol()=0
returns the volume for which the fermion operator is defined.