Bridge++  Ver. 2.0.2
Org::Fopr_CloverTerm Class Reference

#include <fopr_CloverTerm_impl.h>

Inheritance diagram for Org::Fopr_CloverTerm:
AFopr< Field >

Public Member Functions

DEPRECATED Fopr_CloverTerm ()
 
DEPRECATED Fopr_CloverTerm (const std::string repr)
 
 Fopr_CloverTerm (const Parameters &params)
 
 ~Fopr_CloverTerm ()
 
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, const double cSW, 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_config_omp (Field *U)
 
void set_config_impl (Field *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
 
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_nin ()
 returns the on-site degree of freedom of the fermion field. More...
 
int field_nvol ()
 returns the volume 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 = "Org::Fopr_CloverTerm"
 

Private Member Functions

void init (const Parameters &params)
 initialization (standard). More...
 
void init (const std::string repr)
 initialization (obsolete). More...
 
void setup ()
 initialization common part. More...
 
void tidyup ()
 final clean-up. More...
 
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
 
Bridge::VerboseLevel m_vl
 
std::string m_mode
 
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_lexm_shift
 
Staple_lex m_staple
 
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...
 
Field_G m_Cup
 
Field_G m_Cdn
 
Field_G m_Umu
 
Field_G m_u1
 
Field_G m_u2
 working field More...
 
Field_F m_v1
 
Field_F m_v2
 
Field_F m_v3
 working field 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 55 of file fopr_CloverTerm_impl.h.

Constructor & Destructor Documentation

◆ Fopr_CloverTerm() [1/3]

DEPRECATED Org::Fopr_CloverTerm::Fopr_CloverTerm ( )
inline

Definition at line 92 of file fopr_CloverTerm_impl.h.

◆ Fopr_CloverTerm() [2/3]

DEPRECATED Org::Fopr_CloverTerm::Fopr_CloverTerm ( const std::string  repr)
inline

Definition at line 95 of file fopr_CloverTerm_impl.h.

◆ Fopr_CloverTerm() [3/3]

Org::Fopr_CloverTerm::Fopr_CloverTerm ( const Parameters params)
inline

Definition at line 97 of file fopr_CloverTerm_impl.h.

◆ ~Fopr_CloverTerm()

Org::Fopr_CloverTerm::~Fopr_CloverTerm ( )
inline

Definition at line 99 of file fopr_CloverTerm_impl.h.

Member Function Documentation

◆ field_nex()

int Org::Fopr_CloverTerm::field_nex ( )
inlinevirtual

returns the external degree of freedom of the fermion field.

Implements AFopr< Field >.

Definition at line 132 of file fopr_CloverTerm_impl.h.

◆ field_nin()

int Org::Fopr_CloverTerm::field_nin ( )
inlinevirtual

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

Implements AFopr< Field >.

Definition at line 130 of file fopr_CloverTerm_impl.h.

◆ field_nvol()

int Org::Fopr_CloverTerm::field_nvol ( )
inlinevirtual

returns the volume of the fermion field.

Implements AFopr< Field >.

Definition at line 131 of file fopr_CloverTerm_impl.h.

◆ flop_count()

double Org::Fopr_CloverTerm::flop_count ( )
virtual

this returns the number of floating point operations.

Reimplemented from AFopr< Field >.

Definition at line 389 of file fopr_CloverTerm_impl.cpp.

◆ get_mode()

std::string Org::Fopr_CloverTerm::get_mode ( ) const
inline

Definition at line 117 of file fopr_CloverTerm_impl.h.

◆ get_parameters()

void Org::Fopr_CloverTerm::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 185 of file fopr_CloverTerm_impl.cpp.

◆ gm5_chiral()

void Org::Fopr_CloverTerm::gm5_chiral ( Field ,
const Field  
)
private

◆ gm5_dirac()

void Org::Fopr_CloverTerm::gm5_dirac ( Field ,
const Field  
)
private

◆ init() [1/2]

void Org::Fopr_CloverTerm::init ( const Parameters params)
private

initialization (standard).

Definition at line 20 of file fopr_CloverTerm_impl.cpp.

◆ init() [2/2]

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

initialization (obsolete).

Definition at line 54 of file fopr_CloverTerm_impl.cpp.

◆ mult()

void Org::Fopr_CloverTerm::mult ( Field ,
const Field  
)
virtual

multiplies fermion operator to a given field.

Reimplemented from AFopr< Field >.

Definition at line 250 of file fopr_CloverTerm_impl.cpp.

◆ mult_csw()

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

Definition at line 317 of file fopr_CloverTerm_impl.cpp.

◆ mult_csw_chiral() [1/2]

void Org::Fopr_CloverTerm::mult_csw_chiral ( Field ,
const Field  
)
private

◆ mult_csw_chiral() [2/2]

void Org::Fopr_CloverTerm::mult_csw_chiral ( Field_F ,
const Field_F  
)
private

◆ mult_csw_dirac() [1/2]

void Org::Fopr_CloverTerm::mult_csw_dirac ( Field ,
const Field  
)
private

◆ mult_csw_dirac() [2/2]

void Org::Fopr_CloverTerm::mult_csw_dirac ( Field_F ,
const Field_F  
)
private

◆ mult_dag()

void Org::Fopr_CloverTerm::mult_dag ( Field ,
const Field  
)
virtual

hermitian conjugate of mult.

Reimplemented from AFopr< Field >.

Definition at line 265 of file fopr_CloverTerm_impl.cpp.

◆ mult_gm5()

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

multiplies gamma_5 matrix.

Reimplemented from AFopr< Field >.

Definition at line 280 of file fopr_CloverTerm_impl.cpp.

◆ mult_isigma()

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

Definition at line 296 of file fopr_CloverTerm_impl.cpp.

◆ mult_sigmaF()

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

Definition at line 310 of file fopr_CloverTerm_impl.cpp.

◆ set_config()

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

sets the gauge configuration.

Implements AFopr< Field >.

Definition at line 197 of file fopr_CloverTerm_impl.cpp.

◆ set_config_impl()

void Org::Fopr_CloverTerm::set_config_impl ( Field U)

Definition at line 224 of file fopr_CloverTerm_impl.cpp.

◆ set_config_omp()

void Org::Fopr_CloverTerm::set_config_omp ( Field U)

Definition at line 214 of file fopr_CloverTerm_impl.cpp.

◆ set_csw()

void Org::Fopr_CloverTerm::set_csw ( )
private

Definition at line 355 of file fopr_CloverTerm_impl.cpp.

◆ set_fieldstrength()

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

Definition at line 367 of file fopr_CloverTerm_impl.cpp.

◆ set_mode()

void Org::Fopr_CloverTerm::set_mode ( const std::string  mode)
virtual

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

Reimplemented from AFopr< Field >.

Definition at line 240 of file fopr_CloverTerm_impl.cpp.

◆ set_parameters() [1/2]

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

Definition at line 156 of file fopr_CloverTerm_impl.cpp.

◆ set_parameters() [2/2]

void Org::Fopr_CloverTerm::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 125 of file fopr_CloverTerm_impl.cpp.

◆ setup()

void Org::Fopr_CloverTerm::setup ( )
private

initialization common part.

Definition at line 73 of file fopr_CloverTerm_impl.cpp.

◆ sg_index()

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

Definition at line 168 of file fopr_CloverTerm_impl.h.

◆ tidyup()

void Org::Fopr_CloverTerm::tidyup ( )
private

final clean-up.

Definition at line 118 of file fopr_CloverTerm_impl.cpp.

Member Data Documentation

◆ class_name

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

Definition at line 58 of file fopr_CloverTerm_impl.h.

◆ m_boundary

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

Definition at line 65 of file fopr_CloverTerm_impl.h.

◆ m_Bx

Field_G Org::Fopr_CloverTerm::m_Bx
private

Definition at line 80 of file fopr_CloverTerm_impl.h.

◆ m_By

Field_G Org::Fopr_CloverTerm::m_By
private

Definition at line 80 of file fopr_CloverTerm_impl.h.

◆ m_Bz

Field_G Org::Fopr_CloverTerm::m_Bz
private

Definition at line 80 of file fopr_CloverTerm_impl.h.

◆ m_Cdn

Field_G Org::Fopr_CloverTerm::m_Cdn
private

Definition at line 84 of file fopr_CloverTerm_impl.h.

◆ m_cSW

double Org::Fopr_CloverTerm::m_cSW
private

Definition at line 64 of file fopr_CloverTerm_impl.h.

◆ m_Cup

Field_G Org::Fopr_CloverTerm::m_Cup
private

Definition at line 84 of file fopr_CloverTerm_impl.h.

◆ m_Ex

Field_G Org::Fopr_CloverTerm::m_Ex
private

Definition at line 80 of file fopr_CloverTerm_impl.h.

◆ m_Ey

Field_G Org::Fopr_CloverTerm::m_Ey
private

Definition at line 80 of file fopr_CloverTerm_impl.h.

◆ m_Ez

Field_G Org::Fopr_CloverTerm::m_Ez
private

field strength.

Definition at line 80 of file fopr_CloverTerm_impl.h.

◆ m_GM5

GammaMatrix Org::Fopr_CloverTerm::m_GM5
private

Definition at line 88 of file fopr_CloverTerm_impl.h.

◆ m_kappa

double Org::Fopr_CloverTerm::m_kappa
private

Definition at line 63 of file fopr_CloverTerm_impl.h.

◆ m_mode

std::string Org::Fopr_CloverTerm::m_mode
private

Definition at line 70 of file fopr_CloverTerm_impl.h.

◆ m_Nc

int Org::Fopr_CloverTerm::m_Nc
private

Definition at line 73 of file fopr_CloverTerm_impl.h.

◆ m_Nd

int Org::Fopr_CloverTerm::m_Nd
private

Definition at line 73 of file fopr_CloverTerm_impl.h.

◆ m_Ndim

int Org::Fopr_CloverTerm::m_Ndim
private

Definition at line 73 of file fopr_CloverTerm_impl.h.

◆ m_NinF

int Org::Fopr_CloverTerm::m_NinF
private

Definition at line 73 of file fopr_CloverTerm_impl.h.

◆ m_Nvol

int Org::Fopr_CloverTerm::m_Nvol
private

Definition at line 74 of file fopr_CloverTerm_impl.h.

◆ m_repr

std::string Org::Fopr_CloverTerm::m_repr
private

Definition at line 66 of file fopr_CloverTerm_impl.h.

◆ m_SG

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

Definition at line 87 of file fopr_CloverTerm_impl.h.

◆ m_shift

ShiftField_lex* Org::Fopr_CloverTerm::m_shift
private

Definition at line 78 of file fopr_CloverTerm_impl.h.

◆ m_staple

Staple_lex Org::Fopr_CloverTerm::m_staple
private

Definition at line 79 of file fopr_CloverTerm_impl.h.

◆ m_U

const Field_G* Org::Fopr_CloverTerm::m_U
private

pointer to gauge configuration.

Definition at line 76 of file fopr_CloverTerm_impl.h.

◆ m_u1

Field_G Org::Fopr_CloverTerm::m_u1
private

Definition at line 84 of file fopr_CloverTerm_impl.h.

◆ m_u2

Field_G Org::Fopr_CloverTerm::m_u2
private

working field

Definition at line 84 of file fopr_CloverTerm_impl.h.

◆ m_Umu

Field_G Org::Fopr_CloverTerm::m_Umu
private

Definition at line 84 of file fopr_CloverTerm_impl.h.

◆ m_v1

Field_F Org::Fopr_CloverTerm::m_v1
private

Definition at line 85 of file fopr_CloverTerm_impl.h.

◆ m_v2

Field_F Org::Fopr_CloverTerm::m_v2
private

Definition at line 85 of file fopr_CloverTerm_impl.h.

◆ m_v3

Field_F Org::Fopr_CloverTerm::m_v3
private

working field

Definition at line 85 of file fopr_CloverTerm_impl.h.

◆ m_vl

Bridge::VerboseLevel Org::Fopr_CloverTerm::m_vl
private

Definition at line 68 of file fopr_CloverTerm_impl.h.


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