15 #ifndef FOPR_RATIONAL_INCLUDED
16 #define FOPR_RATIONAL_INCLUDED
62 std::valarray<double>
m_cl;
63 std::valarray<double>
m_bl;
77 void set_parameters(
int Np,
int n_exp,
int d_exp,
double x_min,
double x_max,
78 int Niter,
double Stop_cond);
102 double func(
double x);
Fermion operator for rational approximation.
virtual void set_config(Field *)=0
setting pointer to the gauge configuration.
Container of Field-type object.
Multishift Conjugate Gradient solver.
const Field mult(const Field &f)
multiplies fermion operator to a given field and returns the resultant field.
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)
virtual int field_nin()=0
returns the on-site d.o.f. for which the fermion operator is defined.
std::valarray< double > m_cl
Shiftsolver_CG * m_solver
const Field mult_dag(const Field &f)
hermitian conjugate of mult(const Field&).
std::valarray< double > m_bl
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.
std::valarray< Field > m_xq
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.
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.