Bridge++  Ver. 2.0.2
Imp::Fopr_CloverTerm_General Class Reference

#include <fopr_CloverTerm_General_impl.h>

Inheritance diagram for Imp::Fopr_CloverTerm_General:
AFopr< Field >

Public Member Functions

DEPRECATED Fopr_CloverTerm_General ()
 
DEPRECATED Fopr_CloverTerm_General (const std::string repr)
 
 Fopr_CloverTerm_General (const Parameters &params)
 
 ~Fopr_CloverTerm_General ()
 
void set_parameters (const Parameters &params)
 sets parameters by a Parameter object: to be implemented in a subclass. More...
 
void set_parameters (const double kappa_s, const double kappa_t, const double cSW_s, const double cSW_t, const std::vector< int > bc)
 
void get_parameters (Parameters &params) const
 gets parameters by a Parameter object: to be implemented in a subclass. More...
 
void set_config (Field *U)
 sets the gauge configuration. More...
 
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
 
void mult (Field &v, const Field &f)
 multiplies fermion operator to a given field. More...
 
void mult_dag (Field &v, const Field &f)
 hermitian conjugate of mult. More...
 
void mult_sigmaF (Field &, const Field &)
 
void mult_gm5 (Field &v, const Field &w)
 multiplies gamma_5 matrix. More...
 
void mult_isigma (Field_F &, const Field_F &, const int mu, const int nu)
 
int field_nvol ()
 returns the volume of the fermion field. More...
 
int field_nin ()
 returns the on-site degree of freedom of the fermion field. More...
 
int field_nex ()
 returns the external degree of freedom of the fermion field. More...
 
double flop_count ()
 this returns the number of floating point operations. More...
 
- Public Member Functions inherited from AFopr< Field >
 AFopr ()
 
virtual ~AFopr ()
 
virtual std::string get_mode () const
 returns the current mult mode. More...
 
virtual void mult (Field &, const Field &, const std::string mode)
 executes mult with specified mode (unchanging internal mode). More...
 
virtual void mult_dag (Field &, const Field &, const std::string mode)
 executes mult_dag with specified mode (unchanging internal mode). More...
 
virtual void mult_up (int mu, Field &, const Field &)
 upward nearest neighbor hopping term. More...
 
virtual void mult_dn (int mu, Field &, const Field &)
 downward nearest neighbor hopping term. More...
 
virtual void normalize_fprop (Field &)
 normalize propagator if necessary (default: do nothing) More...
 
virtual void normalize_fopr (Field &)
 normalize propagator if necessary (default: do nothing) More...
 
virtual double flop_count (const std::string mode)
 returns the flops per site for specified mode. More...
 
virtual bool needs_convert ()
 returns true if additional field conversion is needed. More...
 
virtual void convert (Field &, const Field &)
 converts a Field object into other format if necessary. More...
 
virtual void reverse (Field &, const Field &)
 converts an alternative field to a Field object. More...
 

Static Public Attributes

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

Private Member Functions

void init (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

Bridge::VerboseLevel m_vl
 
double m_kappa_s
 
double m_kappa_t
 
double m_cSW_s
 
double m_cSW_t
 
std::vector< int > m_boundary
 
std::string m_repr
 
std::string m_mode
 
void(Fopr_CloverTerm_General::* m_csw )(Field &, const Field &)
 
void(Fopr_CloverTerm_General::* 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

- Static Protected Attributes inherited from AFopr< Field >
static const std::string class_name
 

Detailed Description

Definition at line 42 of file fopr_CloverTerm_General_impl.h.

Constructor & Destructor Documentation

◆ Fopr_CloverTerm_General() [1/3]

DEPRECATED Imp::Fopr_CloverTerm_General::Fopr_CloverTerm_General ( )
inline

Definition at line 75 of file fopr_CloverTerm_General_impl.h.

◆ Fopr_CloverTerm_General() [2/3]

DEPRECATED Imp::Fopr_CloverTerm_General::Fopr_CloverTerm_General ( const std::string  repr)
inline

Definition at line 82 of file fopr_CloverTerm_General_impl.h.

◆ Fopr_CloverTerm_General() [3/3]

Imp::Fopr_CloverTerm_General::Fopr_CloverTerm_General ( const Parameters params)
inline

Definition at line 88 of file fopr_CloverTerm_General_impl.h.

◆ ~Fopr_CloverTerm_General()

Imp::Fopr_CloverTerm_General::~Fopr_CloverTerm_General ( )
inline

Definition at line 96 of file fopr_CloverTerm_General_impl.h.

Member Function Documentation

◆ field_nex()

int Imp::Fopr_CloverTerm_General::field_nex ( )
inlinevirtual

returns the external degree of freedom of the fermion field.

Implements AFopr< Field >.

Definition at line 147 of file fopr_CloverTerm_General_impl.h.

◆ field_nin()

int Imp::Fopr_CloverTerm_General::field_nin ( )
inlinevirtual

returns the on-site degree of freedom of the fermion field.

Implements AFopr< Field >.

Definition at line 146 of file fopr_CloverTerm_General_impl.h.

◆ field_nvol()

int Imp::Fopr_CloverTerm_General::field_nvol ( )
inlinevirtual

returns the volume of the fermion field.

Implements AFopr< Field >.

Definition at line 145 of file fopr_CloverTerm_General_impl.h.

◆ flop_count()

double Imp::Fopr_CloverTerm_General::flop_count ( )
virtual

this returns the number of floating point operations.

Reimplemented from AFopr< Field >.

Definition at line 576 of file fopr_CloverTerm_General_impl.cpp.

◆ get_mode()

std::string Imp::Fopr_CloverTerm_General::get_mode ( ) const
inline

Definition at line 115 of file fopr_CloverTerm_General_impl.h.

◆ get_parameters()

void Imp::Fopr_CloverTerm_General::get_parameters ( Parameters params) const
virtual

gets parameters by a Parameter object: to be implemented in a subclass.

Reimplemented from AFopr< Field >.

Definition at line 61 of file fopr_CloverTerm_General_impl.cpp.

◆ gm5_chiral()

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

Definition at line 216 of file fopr_CloverTerm_General_impl.cpp.

◆ gm5_dirac()

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

Definition at line 181 of file fopr_CloverTerm_General_impl.cpp.

◆ init()

void Imp::Fopr_CloverTerm_General::init ( std::string  repr)
private

Definition at line 112 of file fopr_CloverTerm_General_impl.cpp.

◆ mult()

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

multiplies fermion operator to a given field.

Reimplemented from AFopr< Field >.

Definition at line 120 of file fopr_CloverTerm_General_impl.h.

◆ mult_csw()

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

Definition at line 267 of file fopr_CloverTerm_General_impl.cpp.

◆ mult_csw_chiral() [1/2]

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

Definition at line 276 of file fopr_CloverTerm_General_impl.cpp.

◆ mult_csw_chiral() [2/2]

void Imp::Fopr_CloverTerm_General::mult_csw_chiral ( Field_F ,
const Field_F  
)
private

◆ mult_csw_dirac() [1/2]

void Imp::Fopr_CloverTerm_General::mult_csw_dirac ( Field v,
const Field w 
)
private

Definition at line 404 of file fopr_CloverTerm_General_impl.cpp.

◆ mult_csw_dirac() [2/2]

void Imp::Fopr_CloverTerm_General::mult_csw_dirac ( Field_F ,
const Field_F  
)
private

◆ mult_dag()

void Imp::Fopr_CloverTerm_General::mult_dag ( Field ,
const Field  
)
inlinevirtual

hermitian conjugate of mult.

Reimplemented from AFopr< Field >.

Definition at line 133 of file fopr_CloverTerm_General_impl.h.

◆ mult_gm5()

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

multiplies gamma_5 matrix.

Reimplemented from AFopr< Field >.

Definition at line 174 of file fopr_CloverTerm_General_impl.cpp.

◆ mult_isigma()

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

Definition at line 251 of file fopr_CloverTerm_General_impl.cpp.

◆ mult_sigmaF()

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

Definition at line 260 of file fopr_CloverTerm_General_impl.cpp.

◆ set_config()

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

sets the gauge configuration.

Implements AFopr< Field >.

Definition at line 104 of file fopr_CloverTerm_General_impl.cpp.

◆ set_csw()

void Imp::Fopr_CloverTerm_General::set_csw ( )
private

Definition at line 532 of file fopr_CloverTerm_General_impl.cpp.

◆ set_fieldstrength()

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

Definition at line 544 of file fopr_CloverTerm_General_impl.cpp.

◆ set_mode()

void Imp::Fopr_CloverTerm_General::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 AFopr< Field >.

Definition at line 110 of file fopr_CloverTerm_General_impl.h.

◆ set_parameters() [1/2]

void Imp::Fopr_CloverTerm_General::set_parameters ( const double  kappa_s,
const double  kappa_t,
const double  cSW_s,
const double  cSW_t,
const std::vector< int >  bc 
)

Definition at line 74 of file fopr_CloverTerm_General_impl.cpp.

◆ set_parameters() [2/2]

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

sets parameters by a Parameter object: to be implemented in a subclass.

Reimplemented from AFopr< Field >.

Definition at line 32 of file fopr_CloverTerm_General_impl.cpp.

◆ sg_index()

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

Definition at line 171 of file fopr_CloverTerm_General_impl.h.

◆ tidyup()

void Imp::Fopr_CloverTerm_General::tidyup ( )
private

Definition at line 167 of file fopr_CloverTerm_General_impl.cpp.

Member Data Documentation

◆ class_name

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

Definition at line 45 of file fopr_CloverTerm_General_impl.h.

◆ m_boundary

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

Definition at line 52 of file fopr_CloverTerm_General_impl.h.

◆ m_Bx

Field_G Imp::Fopr_CloverTerm_General::m_Bx
private

Definition at line 66 of file fopr_CloverTerm_General_impl.h.

◆ m_By

Field_G Imp::Fopr_CloverTerm_General::m_By
private

Definition at line 66 of file fopr_CloverTerm_General_impl.h.

◆ m_Bz

Field_G Imp::Fopr_CloverTerm_General::m_Bz
private

Definition at line 66 of file fopr_CloverTerm_General_impl.h.

◆ m_Cdn

Field_G Imp::Fopr_CloverTerm_General::m_Cdn
private

Definition at line 65 of file fopr_CloverTerm_General_impl.h.

◆ m_csw

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

Definition at line 55 of file fopr_CloverTerm_General_impl.h.

◆ m_cSW_s

double Imp::Fopr_CloverTerm_General::m_cSW_s
private

Definition at line 51 of file fopr_CloverTerm_General_impl.h.

◆ m_cSW_t

double Imp::Fopr_CloverTerm_General::m_cSW_t
private

Definition at line 51 of file fopr_CloverTerm_General_impl.h.

◆ m_Cup

Field_G Imp::Fopr_CloverTerm_General::m_Cup
private

Definition at line 65 of file fopr_CloverTerm_General_impl.h.

◆ m_Ex

Field_G Imp::Fopr_CloverTerm_General::m_Ex
private

Definition at line 66 of file fopr_CloverTerm_General_impl.h.

◆ m_Ey

Field_G Imp::Fopr_CloverTerm_General::m_Ey
private

Definition at line 66 of file fopr_CloverTerm_General_impl.h.

◆ m_Ez

Field_G Imp::Fopr_CloverTerm_General::m_Ez
private

field strength.

Definition at line 66 of file fopr_CloverTerm_General_impl.h.

◆ m_GM5

GammaMatrix Imp::Fopr_CloverTerm_General::m_GM5
private

Definition at line 71 of file fopr_CloverTerm_General_impl.h.

◆ m_gm5

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

Definition at line 56 of file fopr_CloverTerm_General_impl.h.

◆ m_kappa_s

double Imp::Fopr_CloverTerm_General::m_kappa_s
private

Definition at line 50 of file fopr_CloverTerm_General_impl.h.

◆ m_kappa_t

double Imp::Fopr_CloverTerm_General::m_kappa_t
private

Definition at line 50 of file fopr_CloverTerm_General_impl.h.

◆ m_mode

std::string Imp::Fopr_CloverTerm_General::m_mode
private

Definition at line 54 of file fopr_CloverTerm_General_impl.h.

◆ m_Nc

int Imp::Fopr_CloverTerm_General::m_Nc
private

Definition at line 58 of file fopr_CloverTerm_General_impl.h.

◆ m_Nd

int Imp::Fopr_CloverTerm_General::m_Nd
private

Definition at line 58 of file fopr_CloverTerm_General_impl.h.

◆ m_Ndim

int Imp::Fopr_CloverTerm_General::m_Ndim
private

Definition at line 58 of file fopr_CloverTerm_General_impl.h.

◆ m_NinF

int Imp::Fopr_CloverTerm_General::m_NinF
private

Definition at line 58 of file fopr_CloverTerm_General_impl.h.

◆ m_Nvol

int Imp::Fopr_CloverTerm_General::m_Nvol
private

Definition at line 59 of file fopr_CloverTerm_General_impl.h.

◆ m_repr

std::string Imp::Fopr_CloverTerm_General::m_repr
private

Definition at line 53 of file fopr_CloverTerm_General_impl.h.

◆ m_SG

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

Definition at line 70 of file fopr_CloverTerm_General_impl.h.

◆ m_shift

ShiftField_lex Imp::Fopr_CloverTerm_General::m_shift
private

Definition at line 63 of file fopr_CloverTerm_General_impl.h.

◆ m_staple

Staple_lex Imp::Fopr_CloverTerm_General::m_staple
private

Definition at line 64 of file fopr_CloverTerm_General_impl.h.

◆ m_U

const Field_G* Imp::Fopr_CloverTerm_General::m_U
private

pointer to gauge configuration.

Definition at line 61 of file fopr_CloverTerm_General_impl.h.

◆ m_v1

Field_G Imp::Fopr_CloverTerm_General::m_v1
private

Definition at line 65 of file fopr_CloverTerm_General_impl.h.

◆ m_v2

Field_G Imp::Fopr_CloverTerm_General::m_v2
private

for calculation of field strength.

Definition at line 65 of file fopr_CloverTerm_General_impl.h.

◆ m_vl

Bridge::VerboseLevel Imp::Fopr_CloverTerm_General::m_vl
private

Definition at line 48 of file fopr_CloverTerm_General_impl.h.


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