Bridge++
Ver. 1.2.x
|
Base class of fermion operator family. More...
#include <fopr.h>
Public Member Functions | |
Fopr () | |
virtual | ~Fopr () |
virtual void | set_parameters (const Parameters &)=0 |
void | set_parameter_verboselevel (const Bridge::VerboseLevel vl) |
virtual void | set_config (Field *)=0 |
setting pointer to the gauge configuration. More... | |
virtual const Field | mult (const Field &)=0 |
multiplies fermion operator to a given field and returns the resultant field. More... | |
virtual const Field | mult_dag (const Field &) |
hermitian conjugate of mult(const Field&). More... | |
virtual void | mult (Field &, const Field &) |
multiplies fermion operator to a given field (2nd argument) More... | |
virtual void | mult_dag (Field &, const Field &) |
hermitian conjugate of mult(Field&, const Field&). More... | |
virtual void | mult_up (int mu, Field &, const Field &) |
nearest neighbor hopping term: temporary entry [H.Matsufuru] More... | |
virtual void | mult_dn (int mu, Field &, const Field &) |
virtual void | set_mode (std::string mode) |
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call. More... | |
virtual std::string | get_mode () const |
virtual int | field_nvol ()=0 |
returns the volume for which the fermion operator is defined. More... | |
virtual int | field_nin ()=0 |
returns the on-site d.o.f. for which the fermion operator is defined. More... | |
virtual int | field_nex ()=0 |
returns the external d.o.f. for which the fermion operator is defined. More... | |
virtual double | flop_count () |
returns the flops per site. More... | |
Protected Attributes | |
Bridge::VerboseLevel | m_vl |
Base class of fermion operator family.
In Bridge-OF, the fermion operator implies an operator which transforms a field to other field, irrespective of physical formulation. This class defines the interface of the fermion operators. At present, void functions mult(v,w) and mult_dag(v,w) is not purely virtual, because some of subclass have not implemented them yet. [20 Dec 2011 H.Matsufuru]
|
pure virtual |
returns the external d.o.f. for which the fermion operator is defined.
Implemented in Fopr_Wilson_SF, Fopr_Wilson_eo, Fopr_Clover_eo, Fopr_CloverTerm_eo, Fopr_Wilson_Isochemical, Fopr_Clover_SF, Fopr_Clover, Fopr_Clover_Isochemical, Fopr_CloverTerm, Fopr_CRS, Fopr_Wilson, Fopr_Smeared_eo, Fopr_Rational_SF, Fopr_Smeared, Fopr_Rational, Fopr_Chebyshev, and Fopr_eo.
|
pure virtual |
returns the on-site d.o.f. for which the fermion operator is defined.
Implemented in Fopr_Wilson_SF, Fopr_Wilson_eo, Fopr_Clover_eo, Fopr_CloverTerm_eo, Fopr_Wilson_Isochemical, Fopr_Clover_SF, Fopr_Clover, Fopr_Clover_Isochemical, Fopr_CloverTerm, Fopr_CRS, Fopr_Wilson, Fopr_Smeared_eo, Fopr_Rational_SF, Fopr_Smeared, Fopr_Rational, Fopr_Chebyshev, and Fopr_eo.
|
pure virtual |
returns the volume for which the fermion operator is defined.
Implemented in Fopr_Wilson_SF, Fopr_Wilson_eo, Fopr_Clover_eo, Fopr_CloverTerm_eo, Fopr_Wilson_Isochemical, Fopr_Clover_SF, Fopr_Clover, Fopr_Clover_Isochemical, Fopr_CloverTerm, Fopr_CRS, Fopr_Wilson, Fopr_Smeared_eo, Fopr_Rational_SF, Fopr_Smeared, Fopr_Rational, Fopr_Chebyshev, and Fopr_eo.
|
inlinevirtual |
returns the flops per site.
Reimplemented in Fopr_Clover_eo, Fopr_CloverTerm_eo, Fopr_Clover, Fopr_Wilson_eo, Fopr_CloverTerm, and Fopr_Wilson.
|
inlinevirtual |
multiplies fermion operator to a given field and returns the resultant field.
Implemented in Fopr_CloverTerm_eo, Fopr_Clover_eo, Fopr_Wilson_SF, Fopr_Clover_SF, Fopr_CloverTerm, Fopr_Wilson_eo, Fopr_Clover, Fopr_Clover_Isochemical, Fopr_Wilson_Isochemical, Fopr_CRS, Fopr_Rational_SF, Fopr_Rational, Fopr_Smeared_eo, Fopr_Wilson, Fopr_Chebyshev, Fopr_Smeared, and Fopr_eo.
multiplies fermion operator to a given field (2nd argument)
Reimplemented in Fopr_CloverTerm_eo, Fopr_Clover_eo, Fopr_Wilson_SF, Fopr_Clover_SF, Fopr_CloverTerm, Fopr_Wilson_eo, Fopr_Clover, Fopr_Clover_Isochemical, Fopr_Wilson_Isochemical, Fopr_CRS, Fopr_Wilson, Fopr_Rational_SF, Fopr_Rational, Fopr_Smeared_eo, Fopr_Chebyshev, Fopr_Smeared, and Fopr_eo.
hermitian conjugate of mult(const Field&).
Reimplemented in Fopr_CloverTerm_eo, Fopr_Clover_eo, Fopr_Wilson_SF, Fopr_Clover_SF, Fopr_CloverTerm, Fopr_Wilson_eo, Fopr_Clover, Fopr_Clover_Isochemical, Fopr_Wilson_Isochemical, Fopr_CRS, Fopr_Rational_SF, Fopr_Rational, Fopr_Smeared_eo, Fopr_Wilson, Fopr_Smeared, Fopr_Chebyshev, and Fopr_eo.
hermitian conjugate of mult(Field&, const Field&).
Reimplemented in Fopr_CloverTerm_eo, Fopr_Wilson_SF, Fopr_Clover_SF, Fopr_Clover_eo, Fopr_Clover, Fopr_CloverTerm, Fopr_Clover_Isochemical, Fopr_Wilson_eo, Fopr_CRS, Fopr_Wilson_Isochemical, Fopr_Rational_SF, Fopr_Wilson, Fopr_Rational, Fopr_Smeared_eo, Fopr_Chebyshev, Fopr_Smeared, and Fopr_eo.
Reimplemented in Fopr_Clover, Fopr_Wilson_Isochemical, Fopr_Clover_Isochemical, Fopr_Wilson, Fopr_Smeared_eo, and Fopr_Smeared.
nearest neighbor hopping term: temporary entry [H.Matsufuru]
Reimplemented in Fopr_Clover, Fopr_Wilson_Isochemical, Fopr_Clover_Isochemical, Fopr_Wilson, Fopr_Smeared_eo, and Fopr_Smeared.
|
pure virtual |
setting pointer to the gauge configuration.
Implemented in Fopr_CloverTerm_eo, Fopr_Wilson_SF, Fopr_Clover_SF, Fopr_CloverTerm, Fopr_Wilson_eo, Fopr_Clover, Fopr_Clover_eo, Fopr_Wilson_Isochemical, Fopr_Clover_Isochemical, Fopr_Rational_SF, Fopr_Rational, Fopr_Smeared_eo, Fopr_CRS, Fopr_Wilson, Fopr_Chebyshev, Fopr_Smeared, and Fopr_eo.
|
inlinevirtual |
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call.
Reimplemented in Fopr_Wilson_SF, Fopr_Wilson_eo, Fopr_CloverTerm_eo, Fopr_Wilson_Isochemical, Fopr_Clover_SF, Fopr_CloverTerm, Fopr_Smeared_eo, Fopr_Clover, Fopr_Clover_eo, Fopr_Clover_Isochemical, Fopr_Smeared, Fopr_CRS, Fopr_Wilson, and Fopr_eo.
|
inline |
|
pure virtual |
|
protected |