Bridge++  Ver. 2.0.2
Fopr_CloverGeneral Class Reference

Clover general fermion operator. More...

#include <fopr_CloverGeneral.h>

Inheritance diagram for Fopr_CloverGeneral:
AFopr< Field >

Public Member Functions

DEPRECATED Fopr_CloverGeneral ()
 
DEPRECATED Fopr_CloverGeneral (const std::string repr)
 
 Fopr_CloverGeneral (const Parameters &params)
 
 ~Fopr_CloverGeneral ()
 
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 nu_s, const double r_s, 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 D (Field &, const Field &)
 
void Ddag (Field &, const Field &)
 
void DdagD (Field &, const Field &)
 
void DDdag (Field &, const Field &)
 
void H (Field &, const Field &)
 
void mult_gm5 (Field &v, const Field &w)
 multiplies gamma_5 matrix. More...
 
void mult_up (const int mu, Field &v, const Field &w)
 upward nearest neighbor hopping term. More...
 
void mult_dn (const int mu, Field &v, const Field &w)
 downward nearest neighbor hopping term. 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 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 = "Fopr_CloverGeneral"
 

Private Member Functions

void init (const std::string repr)
 
void tidyup ()
 

Private Attributes

Bridge::VerboseLevel m_vl
 
double m_kappa_s
 spatial hopping parameter More...
 
double m_kappa_t
 temporal hopping parameter More...
 
double m_nu_s
 spatial anisotopy parameter More...
 
double m_r_s
 spatial Wilson parameter More...
 
double m_cSW_s
 spatial clover coefficient More...
 
double m_cSW_t
 temporal clover coefficient More...
 
std::vector< int > m_boundary
 boundary conditions More...
 
std::string m_repr
 gamma matrix representation More...
 
std::string m_mode
 mode of multiplication More...
 
int m_Nvol
 
int m_Ndim
 
int m_Nc
 
int m_Nd
 
int m_NinF
 internal parameters More...
 
Fopr_WilsonGeneralm_fopr_w
 Wilson fermion kernel. More...
 
Fopr_CloverTerm_Generalm_fopr_csw
 Clover term operator. More...
 
const Field_Gm_U
 gauge configuration (pointer) More...
 
Field m_v1
 
Field m_v2
 working field. More...
 

Additional Inherited Members

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

Detailed Description

Clover general fermion operator.

This class implements Clover General fermion operator, including Clover fermion on anisotropic lattice, T. R. Klassen, Nucl. Phys. B509 391 (1998) QCD-TARO Collab., Nucl. Phys. Proc. Suppl. 83 411 (2000) and relativistic heavy quarks, A. X. El-Khadra et al., Phys. Rev. D 55, 3933 (1997) S. Aoki et al., Prog. Theor. Phys. 109, 383 (2003) N. H. Christ et al., Phys. Rev. D 76, 074505 (2007) [21 Mar 2015 Y.Namekawa]

Definition at line 37 of file fopr_CloverGeneral.h.

Constructor & Destructor Documentation

◆ Fopr_CloverGeneral() [1/3]

DEPRECATED Fopr_CloverGeneral::Fopr_CloverGeneral ( )
inline

Definition at line 66 of file fopr_CloverGeneral.h.

◆ Fopr_CloverGeneral() [2/3]

DEPRECATED Fopr_CloverGeneral::Fopr_CloverGeneral ( const std::string  repr)
inline

Definition at line 73 of file fopr_CloverGeneral.h.

◆ Fopr_CloverGeneral() [3/3]

Fopr_CloverGeneral::Fopr_CloverGeneral ( const Parameters params)
inline

Definition at line 79 of file fopr_CloverGeneral.h.

◆ ~Fopr_CloverGeneral()

Fopr_CloverGeneral::~Fopr_CloverGeneral ( )
inline

Definition at line 87 of file fopr_CloverGeneral.h.

Member Function Documentation

◆ D()

void Fopr_CloverGeneral::D ( Field w,
const Field f 
)

Definition at line 156 of file fopr_CloverGeneral.cpp.

◆ Ddag()

void Fopr_CloverGeneral::Ddag ( Field w,
const Field f 
)

Definition at line 169 of file fopr_CloverGeneral.cpp.

◆ DdagD()

void Fopr_CloverGeneral::DdagD ( Field w,
const Field f 
)

Definition at line 178 of file fopr_CloverGeneral.cpp.

◆ DDdag()

void Fopr_CloverGeneral::DDdag ( Field w,
const Field f 
)

Definition at line 188 of file fopr_CloverGeneral.cpp.

◆ field_nex()

int Fopr_CloverGeneral::field_nex ( )
inlinevirtual

returns the external degree of freedom of the fermion field.

Implements AFopr< Field >.

Definition at line 174 of file fopr_CloverGeneral.h.

◆ field_nin()

int Fopr_CloverGeneral::field_nin ( )
inlinevirtual

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

Implements AFopr< Field >.

Definition at line 173 of file fopr_CloverGeneral.h.

◆ field_nvol()

int Fopr_CloverGeneral::field_nvol ( )
inlinevirtual

returns the volume of the fermion field.

Implements AFopr< Field >.

Definition at line 172 of file fopr_CloverGeneral.h.

◆ flop_count()

double Fopr_CloverGeneral::flop_count ( )
virtual

this returns the number of floating point operations.

Reimplemented from AFopr< Field >.

Definition at line 214 of file fopr_CloverGeneral.cpp.

◆ get_mode()

std::string Fopr_CloverGeneral::get_mode ( ) const
inline

Definition at line 109 of file fopr_CloverGeneral.h.

◆ get_parameters()

void Fopr_CloverGeneral::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 89 of file fopr_CloverGeneral.cpp.

◆ H()

void Fopr_CloverGeneral::H ( Field w,
const Field f 
)

Definition at line 198 of file fopr_CloverGeneral.cpp.

◆ init()

void Fopr_CloverGeneral::init ( const std::string  repr)
private

Definition at line 25 of file fopr_CloverGeneral.cpp.

◆ mult()

void Fopr_CloverGeneral::mult ( Field ,
const Field  
)
inlinevirtual

multiplies fermion operator to a given field.

Reimplemented from AFopr< Field >.

Definition at line 114 of file fopr_CloverGeneral.h.

◆ mult_dag()

void Fopr_CloverGeneral::mult_dag ( Field ,
const Field  
)
inlinevirtual

hermitian conjugate of mult.

Reimplemented from AFopr< Field >.

Definition at line 132 of file fopr_CloverGeneral.h.

◆ mult_dn()

void Fopr_CloverGeneral::mult_dn ( const int  mu,
Field ,
const Field  
)
inlinevirtual

downward nearest neighbor hopping term.

Reimplemented from AFopr< Field >.

Definition at line 164 of file fopr_CloverGeneral.h.

◆ mult_gm5()

void Fopr_CloverGeneral::mult_gm5 ( Field ,
const Field  
)
inlinevirtual

multiplies gamma_5 matrix.

Reimplemented from AFopr< Field >.

Definition at line 154 of file fopr_CloverGeneral.h.

◆ mult_isigma()

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

Definition at line 206 of file fopr_CloverGeneral.cpp.

◆ mult_up()

void Fopr_CloverGeneral::mult_up ( const int  mu,
Field ,
const Field  
)
inlinevirtual

upward nearest neighbor hopping term.

Reimplemented from AFopr< Field >.

Definition at line 159 of file fopr_CloverGeneral.h.

◆ set_config()

void Fopr_CloverGeneral::set_config ( Field )
inlinevirtual

sets the gauge configuration.

Implements AFopr< Field >.

Definition at line 100 of file fopr_CloverGeneral.h.

◆ set_mode()

void Fopr_CloverGeneral::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 144 of file fopr_CloverGeneral.cpp.

◆ set_parameters() [1/2]

void Fopr_CloverGeneral::set_parameters ( const double  kappa_s,
const double  kappa_t,
const double  nu_s,
const double  r_s,
const double  cSW_s,
const double  cSW_t,
const std::vector< int >  bc 
)

Definition at line 105 of file fopr_CloverGeneral.cpp.

◆ set_parameters() [2/2]

void Fopr_CloverGeneral::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 56 of file fopr_CloverGeneral.cpp.

◆ tidyup()

void Fopr_CloverGeneral::tidyup ( )
private

Definition at line 48 of file fopr_CloverGeneral.cpp.

Member Data Documentation

◆ class_name

const std::string Fopr_CloverGeneral::class_name = "Fopr_CloverGeneral"
static

Definition at line 40 of file fopr_CloverGeneral.h.

◆ m_boundary

std::vector<int> Fopr_CloverGeneral::m_boundary
private

boundary conditions

Definition at line 51 of file fopr_CloverGeneral.h.

◆ m_cSW_s

double Fopr_CloverGeneral::m_cSW_s
private

spatial clover coefficient

Definition at line 49 of file fopr_CloverGeneral.h.

◆ m_cSW_t

double Fopr_CloverGeneral::m_cSW_t
private

temporal clover coefficient

Definition at line 50 of file fopr_CloverGeneral.h.

◆ m_fopr_csw

Fopr_CloverTerm_General* Fopr_CloverGeneral::m_fopr_csw
private

Clover term operator.

Definition at line 58 of file fopr_CloverGeneral.h.

◆ m_fopr_w

Fopr_WilsonGeneral* Fopr_CloverGeneral::m_fopr_w
private

Wilson fermion kernel.

Definition at line 57 of file fopr_CloverGeneral.h.

◆ m_kappa_s

double Fopr_CloverGeneral::m_kappa_s
private

spatial hopping parameter

Definition at line 45 of file fopr_CloverGeneral.h.

◆ m_kappa_t

double Fopr_CloverGeneral::m_kappa_t
private

temporal hopping parameter

Definition at line 46 of file fopr_CloverGeneral.h.

◆ m_mode

std::string Fopr_CloverGeneral::m_mode
private

mode of multiplication

Definition at line 53 of file fopr_CloverGeneral.h.

◆ m_Nc

int Fopr_CloverGeneral::m_Nc
private

Definition at line 55 of file fopr_CloverGeneral.h.

◆ m_Nd

int Fopr_CloverGeneral::m_Nd
private

Definition at line 55 of file fopr_CloverGeneral.h.

◆ m_Ndim

int Fopr_CloverGeneral::m_Ndim
private

Definition at line 55 of file fopr_CloverGeneral.h.

◆ m_NinF

int Fopr_CloverGeneral::m_NinF
private

internal parameters

Definition at line 55 of file fopr_CloverGeneral.h.

◆ m_nu_s

double Fopr_CloverGeneral::m_nu_s
private

spatial anisotopy parameter

Definition at line 47 of file fopr_CloverGeneral.h.

◆ m_Nvol

int Fopr_CloverGeneral::m_Nvol
private

Definition at line 55 of file fopr_CloverGeneral.h.

◆ m_r_s

double Fopr_CloverGeneral::m_r_s
private

spatial Wilson parameter

Definition at line 48 of file fopr_CloverGeneral.h.

◆ m_repr

std::string Fopr_CloverGeneral::m_repr
private

gamma matrix representation

Definition at line 52 of file fopr_CloverGeneral.h.

◆ m_U

const Field_G* Fopr_CloverGeneral::m_U
private

gauge configuration (pointer)

Definition at line 59 of file fopr_CloverGeneral.h.

◆ m_v1

Field Fopr_CloverGeneral::m_v1
private

Definition at line 62 of file fopr_CloverGeneral.h.

◆ m_v2

Field Fopr_CloverGeneral::m_v2
private

working field.

Definition at line 62 of file fopr_CloverGeneral.h.

◆ m_vl

Bridge::VerboseLevel Fopr_CloverGeneral::m_vl
private

Definition at line 43 of file fopr_CloverGeneral.h.


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