Go to the documentation of this file.
10 #ifndef AFOPR_CHEBYSHEV_INCLUDED
11 #define AFOPR_CHEBYSHEV_INCLUDED
33 template<
typename AFIELD>
98 {
return m_fopr->needs_convert(); }
102 {
m_fopr->convert(v, w); }
106 {
m_fopr->reverse(v, w); }
134 static bool register_factory()
138 "Chevyshev", create_object);
140 "Chevyshev", create_object_with_params);
virtual void convert(AFIELD &v, const Field &w)
converts a Field object into other format if necessary.
void set_config(Field *U)
setting gauge configuration.
double flop_count()
returns the number of floating point operations.
std::vector< AFIELD > m_dj
int field_nin()
returns the on-site degree of freedom of the fermion field.
std::string m_mode
mult mode
void mult(AFIELD &v, const AFIELD &w)
multiplies fermion operator to a given field.
void set_parameters(const Parameters ¶ms)
setting parameters with a Parameter object.
DEPRECATED AFopr_Chebyshev(AFopr< AFIELD > *fopr)
void mult_dag(AFIELD &v, const AFIELD &w)
hermitian conjugate of mult.
void tidyup()
final cleanup.
void init()
initial setup (obsolete).
void get_parameters(Parameters ¶ms) const
gets parameters by a Parameter object: to be implemented in a subclass.
int field_nvol()
returns the volume of the fermion field.
virtual void reverse(Field &v, const AFIELD &w)
reverses to a Field object from other format if necessary.
AFopr_Chebyshev(AFopr< AFIELD > *fopr, const Parameters ¶ms)
standard constructor.
static const std::string class_name
std::string get_mode() const
returns the current mult mode.
void set_mode(std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
int field_nex()
returns the external degree of freedom of the fermion field.
Bridge::VerboseLevel m_vl
verbose level
Container of Field-type object.
virtual bool needs_convert()
returns true if additional field conversion is needed.