15 #ifndef FOPR_CHEBYSHEV_INCLUDED
16 #define FOPR_CHEBYSHEV_INCLUDED
60 void set_parameters(
const int Np,
const double v_thrs,
const double v_max);
80 double mult(
const double);
88 static Fopr *create_object(
Fopr *fopr)
94 static bool register_factory()
96 return Fopr::Factory_fopr::Register(
"Chevyshev", create_object);
int field_nin()
returns the on-site d.o.f. for which the fermion operator is defined.
virtual void set_config(Field *)=0
setting pointer to the gauge configuration.
Container of Field-type object.
Fopr_Chebyshev(Fopr *fopr)
int field_nex()
returns the external d.o.f. for which the fermion operator is defined.
void mult_dag(Field &v, const Field &f)
hermitian conjugate of mult(Field&, const Field&).
int field_nvol()
returns the volume for which the fermion operator is defined.
virtual int field_nin()=0
returns the on-site d.o.f. 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_nex()=0
returns the external d.o.f. for which the fermion operator is defined.
void set_config(Field *U)
setting pointer to the gauge configuration.
Chebyshev polynomial of fermion operator.
void set_config(unique_ptr< Field_G > &U)
void set_parameters(const Parameters ¶ms)
static const std::string class_name
Fopr_Chebyshev(unique_ptr< Fopr > &fopr)
Base class of fermion operator family.
virtual int field_nvol()=0
returns the volume for which the fermion operator is defined.