Bridge++
Version 1.4.4
|
smeared fermion operator. More...
#include <fopr_Smeared.h>
Public Member Functions | |
Fopr_Smeared (Fopr *fopr, Director_Smear *dr_smear) | |
constructor requires Fopr and Director_Smear objects More... | |
Fopr_Smeared (unique_ptr< Fopr > &fopr, unique_ptr< Director > &dr_smear) | |
void | set_parameters (const Parameters &) |
void | set_config (Field *U) |
set pointer to original thin link variable More... | |
void | set_config (unique_ptr< Field_G > &U) |
void | mult (Field &v, const Field &f) |
multiply smeared fermion operator More... | |
void | mult_dag (Field &v, const Field &f) |
multiply smeared fermion operator More... | |
void | set_mode (std::string mode) |
set the mode of fermion operator More... | |
std::string | get_mode () const |
only for Fopr_Overlap More... | |
void | mult_up (int mu, Field &v, const Field &w) |
nearest neighbor hopping term: temporary entry [H.Matsufuru] More... | |
void | mult_dn (int mu, Field &v, const Field &w) |
int | field_nvol () |
returns the volume for which the fermion operator is defined. More... | |
int | field_nin () |
returns the on-site d.o.f. for which the fermion operator is defined. More... | |
int | field_nex () |
returns the external d.o.f. for which the fermion operator is defined. More... | |
![]() | |
Fopr () | |
virtual | ~Fopr () |
void | set_parameter_verboselevel (const Bridge::VerboseLevel vl) |
virtual void | mult (Field &, const Field &, const std::string mode) |
execute mult with specified mode (unchanging internal mode). [23 May 2016 H.Matsufuru]. More... | |
virtual void | mult_dag (Field &, const Field &, const std::string mode) |
execute mult_dag with specified mode (unchanging internal mode). [23 May 2016 H.Matsufuru]. More... | |
virtual void | mult_gm5 (Field &, const Field &) |
gamma_5 multiplication. [31 Mar 2017 H.Matsufuru] More... | |
virtual double | flop_count () |
returns the flops per site. More... | |
virtual double | flop_count (const std::string mode) |
returns the flops per site for specified mode. [23 May 2016 H.Matsufuru] More... | |
Static Public Attributes | |
static const std::string | class_name = "Fopr_Smeared" |
Private Attributes | |
Fopr * | m_fopr |
Director_Smear * | m_dr_smear |
Additional Inherited Members | |
![]() | |
Bridge::VerboseLevel | m_vl |
smeared fermion operator.
This class construct a smeared fermon operator for a given base fermion operator together with smearing director. Both of them must be constructed beforehand outside this class and given to the constructor. Smearing of link configuration is triggered by call of set_config(), which calls set_config() of the smearing director and then gets the pointer to the smeared config. to set it as the config. of base fermion operator. When mult() is called, this class just call the mult() of base class. [24 Dec 2011 H.Matsufuru] unique_ptr is introduced to avoid memory leaks [21 Mar 2015 Y.Namekawa]
Definition at line 42 of file fopr_Smeared.h.
|
inline |
constructor requires Fopr and Director_Smear objects
Definition at line 53 of file fopr_Smeared.h.
|
inline |
Definition at line 56 of file fopr_Smeared.h.
|
inlinevirtual |
returns the external d.o.f. for which the fermion operator is defined.
Implements Fopr.
Definition at line 105 of file fopr_Smeared.h.
|
inlinevirtual |
returns the on-site d.o.f. for which the fermion operator is defined.
Implements Fopr.
Definition at line 104 of file fopr_Smeared.h.
|
inlinevirtual |
returns the volume for which the fermion operator is defined.
Implements Fopr.
Definition at line 103 of file fopr_Smeared.h.
|
inlinevirtual |
multiply smeared fermion operator
Reimplemented from Fopr.
Definition at line 77 of file fopr_Smeared.h.
Reimplemented from Fopr.
Definition at line 98 of file fopr_Smeared.h.
nearest neighbor hopping term: temporary entry [H.Matsufuru]
Reimplemented from Fopr.
Definition at line 93 of file fopr_Smeared.h.
|
virtual |
set pointer to original thin link variable
Implements Fopr.
Definition at line 40 of file fopr_Smeared.cpp.
|
inlinevirtual |
Implements Fopr.
Definition at line 65 of file fopr_Smeared.h.
|
inlinevirtual |
set the mode of fermion operator
Reimplemented from Fopr.
Definition at line 83 of file fopr_Smeared.h.
|
virtual |
Implements Fopr.
Definition at line 31 of file fopr_Smeared.cpp.
|
static |
Definition at line 45 of file fopr_Smeared.h.
|
private |
Definition at line 49 of file fopr_Smeared.h.
|
private |
Definition at line 48 of file fopr_Smeared.h.