Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Imp::Fopr_CloverTerm Class Reference

#include <fopr_CloverTerm_impl.h>

Inheritance diagram for Imp::Fopr_CloverTerm:
Fopr

Public Member Functions

 Fopr_CloverTerm ()
 
 Fopr_CloverTerm (const std::string repr)
 
 ~Fopr_CloverTerm ()
 
void set_parameters (const Parameters &params)
 
void set_parameters (const double kappa, const double cSW, const std::vector< int > bc)
 
void set_config (Field *U)
 setting pointer to the gauge configuration. More...
 
void set_config (unique_ptr< Field_G > &U)
 
void set_mode (const std::string mode)
 setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call. More...
 
std::string get_mode () const
 only for Fopr_Overlap More...
 
void mult (Field &v, const Field &f)
 multiplies fermion operator to a given field (2nd argument) More...
 
void mult_dag (Field &v, const Field &f)
 hermitian conjugate of mult(Field&, const Field&). More...
 
void mult_sigmaF (Field &, const Field &)
 
void mult_gm5 (Field &v, const Field &w)
 gamma_5 multiplication. [31 Mar 2017 H.Matsufuru] More...
 
void mult_isigma (Field_F &, const Field_F &, const int mu, const int nu)
 
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...
 
double flop_count ()
 this returns the number of floating point operations. More...
 
- Public Member Functions inherited from Fopr
 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_up (const int mu, Field &, const Field &)
 nearest neighbor hopping term: temporary entry [H.Matsufuru] More...
 
virtual void mult_dn (const int mu, Field &, const Field &)
 
virtual double flop_count (const std::string mode)
 returns the flop in giga unit for a specified mode. [23 May 2016 H.Matsufuru] More...
 

Static Public Attributes

static const std::string class_name = "Imp::Fopr_CloverTerm"
 

Private Member Functions

void init (const std::string repr)
 
void tidyup ()
 
void set_csw ()
 
void set_fieldstrength (Field_G &, const int, const int)
 
void gm5_dirac (Field &, const Field &)
 
void gm5_chiral (Field &, const Field &)
 
void mult_csw (Field &, const Field &)
 
void mult_csw_dirac (Field &, const Field &)
 
void mult_csw_chiral (Field &, const Field &)
 
void mult_csw_dirac (Field_F &, const Field_F &)
 
void mult_csw_chiral (Field_F &, const Field_F &)
 
int sg_index (const int mu, const int nu)
 

Private Attributes

double m_kappa
 
double m_cSW
 
std::vector< int > m_boundary
 
std::string m_repr
 
std::string m_mode
 
void(Fopr_CloverTerm::* m_csw )(Field &, const Field &)
 
void(Fopr_CloverTerm::* m_gm5 )(Field &, const Field &)
 
int m_Nc
 
int m_Nd
 
int m_NinF
 
int m_Ndim
 
int m_Nvol
 
const Field_Gm_U
 pointer to gauge configuration. More...
 
ShiftField_lex m_shift
 
Staple_lex m_staple
 
Field_G m_Cup
 
Field_G m_Cdn
 
Field_G m_v1
 
Field_G m_v2
 for calculation of field strength. More...
 
Field_G m_Bx
 
Field_G m_By
 
Field_G m_Bz
 
Field_G m_Ex
 
Field_G m_Ey
 
Field_G m_Ez
 field strength. More...
 
std::vector< GammaMatrixm_SG
 
GammaMatrix m_GM5
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

Definition at line 53 of file fopr_CloverTerm_impl.h.

Constructor & Destructor Documentation

Imp::Fopr_CloverTerm::Fopr_CloverTerm ( )
inline

Definition at line 83 of file fopr_CloverTerm_impl.h.

Imp::Fopr_CloverTerm::Fopr_CloverTerm ( const std::string  repr)
inline

Definition at line 89 of file fopr_CloverTerm_impl.h.

Imp::Fopr_CloverTerm::~Fopr_CloverTerm ( )
inline

Definition at line 95 of file fopr_CloverTerm_impl.h.

Member Function Documentation

int Imp::Fopr_CloverTerm::field_nex ( )
inlinevirtual

returns the external d.o.f. for which the fermion operator is defined.

Implements Fopr.

Definition at line 147 of file fopr_CloverTerm_impl.h.

int Imp::Fopr_CloverTerm::field_nin ( )
inlinevirtual

returns the on-site d.o.f. for which the fermion operator is defined.

Implements Fopr.

Definition at line 146 of file fopr_CloverTerm_impl.h.

int Imp::Fopr_CloverTerm::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr.

Definition at line 145 of file fopr_CloverTerm_impl.h.

double Imp::Fopr_CloverTerm::flop_count ( )
virtual

this returns the number of floating point operations.

Reimplemented from Fopr.

Definition at line 571 of file fopr_CloverTerm_impl.cpp.

std::string Imp::Fopr_CloverTerm::get_mode ( ) const
inlinevirtual

only for Fopr_Overlap

Reimplemented from Fopr.

Definition at line 115 of file fopr_CloverTerm_impl.h.

void Imp::Fopr_CloverTerm::gm5_chiral ( Field w,
const Field f 
)
private

Definition at line 189 of file fopr_CloverTerm_impl.cpp.

void Imp::Fopr_CloverTerm::gm5_dirac ( Field w,
const Field f 
)
private

Definition at line 154 of file fopr_CloverTerm_impl.cpp.

void Imp::Fopr_CloverTerm::init ( const std::string  repr)
private

Definition at line 90 of file fopr_CloverTerm_impl.cpp.

void Imp::Fopr_CloverTerm::mult ( Field ,
const Field  
)
inlinevirtual

multiplies fermion operator to a given field (2nd argument)

Implements Fopr.

Definition at line 120 of file fopr_CloverTerm_impl.h.

void Imp::Fopr_CloverTerm::mult_csw ( Field v,
const Field w 
)
private

Definition at line 242 of file fopr_CloverTerm_impl.cpp.

void Imp::Fopr_CloverTerm::mult_csw_chiral ( Field v,
const Field w 
)
private

Definition at line 251 of file fopr_CloverTerm_impl.cpp.

void Imp::Fopr_CloverTerm::mult_csw_chiral ( Field_F ,
const Field_F  
)
private
void Imp::Fopr_CloverTerm::mult_csw_dirac ( Field v,
const Field w 
)
private

Definition at line 389 of file fopr_CloverTerm_impl.cpp.

void Imp::Fopr_CloverTerm::mult_csw_dirac ( Field_F ,
const Field_F  
)
private
void Imp::Fopr_CloverTerm::mult_dag ( Field ,
const Field  
)
inlinevirtual

hermitian conjugate of mult(Field&, const Field&).

Reimplemented from Fopr.

Definition at line 133 of file fopr_CloverTerm_impl.h.

void Imp::Fopr_CloverTerm::mult_gm5 ( Field ,
const Field  
)
virtual

gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]

Reimplemented from Fopr.

Definition at line 147 of file fopr_CloverTerm_impl.cpp.

void Imp::Fopr_CloverTerm::mult_isigma ( Field_F v,
const Field_F w,
const int  mu,
const int  nu 
)

Definition at line 224 of file fopr_CloverTerm_impl.cpp.

void Imp::Fopr_CloverTerm::mult_sigmaF ( Field v,
const Field f 
)

Definition at line 233 of file fopr_CloverTerm_impl.cpp.

void Imp::Fopr_CloverTerm::set_config ( Field )
virtual

setting pointer to the gauge configuration.

Implements Fopr.

Definition at line 82 of file fopr_CloverTerm_impl.cpp.

void Imp::Fopr_CloverTerm::set_config ( unique_ptr< Field_G > &  U)
inlinevirtual

Implements Fopr.

Definition at line 105 of file fopr_CloverTerm_impl.h.

void Imp::Fopr_CloverTerm::set_csw ( )
private

Definition at line 527 of file fopr_CloverTerm_impl.cpp.

void Imp::Fopr_CloverTerm::set_fieldstrength ( Field_G Fst,
const int  mu,
const int  nu 
)
private

Definition at line 539 of file fopr_CloverTerm_impl.cpp.

void Imp::Fopr_CloverTerm::set_mode ( const std::string  mode)
inlinevirtual

setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call.

Reimplemented from Fopr.

Definition at line 110 of file fopr_CloverTerm_impl.h.

void Imp::Fopr_CloverTerm::set_parameters ( const Parameters params)
virtual

Implements Fopr.

Definition at line 32 of file fopr_CloverTerm_impl.cpp.

void Imp::Fopr_CloverTerm::set_parameters ( const double  kappa,
const double  cSW,
const std::vector< int >  bc 
)

Definition at line 57 of file fopr_CloverTerm_impl.cpp.

int Imp::Fopr_CloverTerm::sg_index ( const int  mu,
const int  nu 
)
inlineprivate

Definition at line 171 of file fopr_CloverTerm_impl.h.

void Imp::Fopr_CloverTerm::tidyup ( )
private

Definition at line 140 of file fopr_CloverTerm_impl.cpp.

Member Data Documentation

const std::string Imp::Fopr_CloverTerm::class_name = "Imp::Fopr_CloverTerm"
static

Definition at line 56 of file fopr_CloverTerm_impl.h.

std::vector<int> Imp::Fopr_CloverTerm::m_boundary
private

Definition at line 61 of file fopr_CloverTerm_impl.h.

Field_G Imp::Fopr_CloverTerm::m_Bx
private

Definition at line 75 of file fopr_CloverTerm_impl.h.

Field_G Imp::Fopr_CloverTerm::m_By
private

Definition at line 75 of file fopr_CloverTerm_impl.h.

Field_G Imp::Fopr_CloverTerm::m_Bz
private

Definition at line 75 of file fopr_CloverTerm_impl.h.

Field_G Imp::Fopr_CloverTerm::m_Cdn
private

Definition at line 74 of file fopr_CloverTerm_impl.h.

double Imp::Fopr_CloverTerm::m_cSW
private

Definition at line 60 of file fopr_CloverTerm_impl.h.

void(Fopr_CloverTerm::* Imp::Fopr_CloverTerm::m_csw)(Field &, const Field &)
private

Definition at line 64 of file fopr_CloverTerm_impl.h.

Field_G Imp::Fopr_CloverTerm::m_Cup
private

Definition at line 74 of file fopr_CloverTerm_impl.h.

Field_G Imp::Fopr_CloverTerm::m_Ex
private

Definition at line 75 of file fopr_CloverTerm_impl.h.

Field_G Imp::Fopr_CloverTerm::m_Ey
private

Definition at line 75 of file fopr_CloverTerm_impl.h.

Field_G Imp::Fopr_CloverTerm::m_Ez
private

field strength.

Definition at line 75 of file fopr_CloverTerm_impl.h.

void(Fopr_CloverTerm::* Imp::Fopr_CloverTerm::m_gm5)(Field &, const Field &)
private

Definition at line 65 of file fopr_CloverTerm_impl.h.

GammaMatrix Imp::Fopr_CloverTerm::m_GM5
private

Definition at line 80 of file fopr_CloverTerm_impl.h.

double Imp::Fopr_CloverTerm::m_kappa
private

Definition at line 59 of file fopr_CloverTerm_impl.h.

std::string Imp::Fopr_CloverTerm::m_mode
private

Definition at line 63 of file fopr_CloverTerm_impl.h.

int Imp::Fopr_CloverTerm::m_Nc
private

Definition at line 67 of file fopr_CloverTerm_impl.h.

int Imp::Fopr_CloverTerm::m_Nd
private

Definition at line 67 of file fopr_CloverTerm_impl.h.

int Imp::Fopr_CloverTerm::m_Ndim
private

Definition at line 67 of file fopr_CloverTerm_impl.h.

int Imp::Fopr_CloverTerm::m_NinF
private

Definition at line 67 of file fopr_CloverTerm_impl.h.

int Imp::Fopr_CloverTerm::m_Nvol
private

Definition at line 68 of file fopr_CloverTerm_impl.h.

std::string Imp::Fopr_CloverTerm::m_repr
private

Definition at line 62 of file fopr_CloverTerm_impl.h.

std::vector<GammaMatrix> Imp::Fopr_CloverTerm::m_SG
private

Definition at line 79 of file fopr_CloverTerm_impl.h.

ShiftField_lex Imp::Fopr_CloverTerm::m_shift
private

Definition at line 72 of file fopr_CloverTerm_impl.h.

Staple_lex Imp::Fopr_CloverTerm::m_staple
private

Definition at line 73 of file fopr_CloverTerm_impl.h.

const Field_G* Imp::Fopr_CloverTerm::m_U
private

pointer to gauge configuration.

Definition at line 70 of file fopr_CloverTerm_impl.h.

Field_G Imp::Fopr_CloverTerm::m_v1
private

Definition at line 74 of file fopr_CloverTerm_impl.h.

Field_G Imp::Fopr_CloverTerm::m_v2
private

for calculation of field strength.

Definition at line 74 of file fopr_CloverTerm_impl.h.


The documentation for this class was generated from the following files: