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

#include <fopr_CloverTerm_eo_impl.h>

Inheritance diagram for Imp::Fopr_CloverTerm_eo:
Fopr

Public Member Functions

 Fopr_CloverTerm_eo (std::string repr)
 
 ~Fopr_CloverTerm_eo ()
 
void set_parameters (const Parameters &params)
 
void set_parameters (const double kappa, const double cSW, const std::vector< int > bc)
 
void set_config (Field *Ueo)
 setting pointer to the gauge configuration. More...
 
void set_config (unique_ptr< Field_G > &Ueo)
 
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...
 
const Field mult (const Field &f)
 return D = D^dag = 1-f_ee or 1-f_oo More...
 
const Field mult_dag (const Field &f)
 
void mult (Field &v, const Field &f)
 return D = D^dag = 1-f_ee or 1-f_oo More...
 
void mult_dag (Field &v, const Field &f)
 hermitian conjugate of mult(Field&, const Field&). More...
 
void mult_isigma (Field_F &, const Field_F &, const int mu, const int nu)
 
void D (Field &v, const Field &f, const int ieo)
 
void D_dirac (Field &v, const Field &f, const int ieo)
 explicit implementation for Dirac representation (for Imp-version). More...
 
void D_chiral (Field &v, const Field &f, const int ieo)
 explicit implementation for Chiral representation (for Imp-version). More...
 
void trSigmaInv (Field_G &, const int mu, const int nu)
 
void mult_csw_inv (Field &, const Field &, const int ieo)
 
void mult_csw_inv_dirac (Field &, const Field &, const int ieo)
 
void mult_csw_inv_chiral (Field &, const Field &, const int ieo)
 
std::vector< double > csmatrix (const int &)
 
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 ()
 returns 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_gm5 (Field &, const Field &)
 gamma_5 multiplication. [31 Mar 2017 H.Matsufuru] More...
 
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_eo"
 

Private Member Functions

void init (const std::string repr)
 
void tidyup ()
 
void solve_csw_inv ()
 
void set_csw ()
 
void set_csw_dirac ()
 explicit implementation for Dirac representation (for Imp-version). More...
 
void set_csw_chiral ()
 explicit implementation for Chiral representation (for Imp-version). More...
 
void mult_csw (Field_F &, const Field_F &, const int ieo)
 
void set_fieldstrength (Field_G &, const int, const int)
 
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
 
int m_Nvol
 
int m_Nvol2
 
int m_Ndim
 
int m_Nc
 
int m_Nd
 
int m_Ndm2
 
int m_NinF
 
std::vector< GammaMatrixm_GM
 Gamma Matrix and Sigma_{mu,nu} = -i [Gamma_mu, Gamma_nu] /2. More...
 
std::vector< GammaMatrixm_SG
 
void(Fopr_CloverTerm_eo::* m_mult )(Field &, const Field &)
 
const Field_Gm_Ueo
 
Index_eo m_idx
 
ShiftField_eo m_shift_eo
 
Field_Fm_fee_inv
 
Field_Fm_foo_inv
 
Field_F m_vf
 
Field_F m_ff
 
Vec_SU_N v1
 
Vec_SU_N v2
 
Field_G m_T
 m_T = 1 - kappa c_SW sigma F / 2 More...
 
std::vector< Field_Gm_T2
 m_T2 is used in Org-version. More...
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

Definition at line 60 of file fopr_CloverTerm_eo_impl.h.

Constructor & Destructor Documentation

Imp::Fopr_CloverTerm_eo::Fopr_CloverTerm_eo ( std::string  repr)
inline

Definition at line 100 of file fopr_CloverTerm_eo_impl.h.

Imp::Fopr_CloverTerm_eo::~Fopr_CloverTerm_eo ( )
inline

Definition at line 112 of file fopr_CloverTerm_eo_impl.h.

Member Function Documentation

std::vector< double > Imp::Fopr_CloverTerm_eo::csmatrix ( const int &  site)

Definition at line 385 of file fopr_CloverTerm_eo_impl.cpp.

void Imp::Fopr_CloverTerm_eo::D ( Field v,
const Field f,
const int  ieo 
)

Definition at line 424 of file fopr_CloverTerm_eo_impl.cpp.

void Imp::Fopr_CloverTerm_eo::D_chiral ( Field v,
const Field f,
const int  ieo 
)

explicit implementation for Chiral representation (for Imp-version).

Definition at line 494 of file fopr_CloverTerm_eo_impl.cpp.

void Imp::Fopr_CloverTerm_eo::D_dirac ( Field v,
const Field f,
const int  ieo 
)

explicit implementation for Dirac representation (for Imp-version).

Definition at line 436 of file fopr_CloverTerm_eo_impl.cpp.

int Imp::Fopr_CloverTerm_eo::field_nex ( )
inlinevirtual

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

Implements Fopr.

Definition at line 203 of file fopr_CloverTerm_eo_impl.h.

int Imp::Fopr_CloverTerm_eo::field_nin ( )
inlinevirtual

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

Implements Fopr.

Definition at line 202 of file fopr_CloverTerm_eo_impl.h.

int Imp::Fopr_CloverTerm_eo::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr.

Definition at line 201 of file fopr_CloverTerm_eo_impl.h.

double Imp::Fopr_CloverTerm_eo::flop_count ( )
virtual

returns number of floating point operations.

Reimplemented from Fopr.

Definition at line 804 of file fopr_CloverTerm_eo_impl.cpp.

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

only for Fopr_Overlap

Reimplemented from Fopr.

Definition at line 134 of file fopr_CloverTerm_eo_impl.h.

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

Definition at line 33 of file fopr_CloverTerm_eo_impl.cpp.

const Field Imp::Fopr_CloverTerm_eo::mult ( const Field f)
inline

return D = D^dag = 1-f_ee or 1-f_oo

Definition at line 140 of file fopr_CloverTerm_eo_impl.h.

void Imp::Fopr_CloverTerm_eo::mult ( Field v,
const Field f 
)
inlinevirtual

return D = D^dag = 1-f_ee or 1-f_oo

Implements Fopr.

Definition at line 157 of file fopr_CloverTerm_eo_impl.h.

void Imp::Fopr_CloverTerm_eo::mult_csw ( Field_F ,
const Field_F ,
const int  ieo 
)
private
void Imp::Fopr_CloverTerm_eo::mult_csw_inv ( Field v,
const Field f,
const int  ieo 
)

Definition at line 241 of file fopr_CloverTerm_eo_impl.cpp.

void Imp::Fopr_CloverTerm_eo::mult_csw_inv_chiral ( Field v,
const Field f,
const int  ieo 
)

Definition at line 319 of file fopr_CloverTerm_eo_impl.cpp.

void Imp::Fopr_CloverTerm_eo::mult_csw_inv_dirac ( Field v,
const Field f,
const int  ieo 
)

Definition at line 254 of file fopr_CloverTerm_eo_impl.cpp.

const Field Imp::Fopr_CloverTerm_eo::mult_dag ( const Field f)
inline

Definition at line 148 of file fopr_CloverTerm_eo_impl.h.

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

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

Reimplemented from Fopr.

Definition at line 170 of file fopr_CloverTerm_eo_impl.h.

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

Definition at line 547 of file fopr_CloverTerm_eo_impl.cpp.

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

setting pointer to the gauge configuration.

Implements Fopr.

Definition at line 146 of file fopr_CloverTerm_eo_impl.cpp.

void Imp::Fopr_CloverTerm_eo::set_config ( unique_ptr< Field_G > &  Ueo)
inlinevirtual

Implements Fopr.

Definition at line 124 of file fopr_CloverTerm_eo_impl.h.

void Imp::Fopr_CloverTerm_eo::set_csw ( )
private

Definition at line 556 of file fopr_CloverTerm_eo_impl.cpp.

void Imp::Fopr_CloverTerm_eo::set_csw_chiral ( )
private

explicit implementation for Chiral representation (for Imp-version).

Definition at line 635 of file fopr_CloverTerm_eo_impl.cpp.

void Imp::Fopr_CloverTerm_eo::set_csw_dirac ( )
private

explicit implementation for Dirac representation (for Imp-version).

Definition at line 571 of file fopr_CloverTerm_eo_impl.cpp.

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

Definition at line 717 of file fopr_CloverTerm_eo_impl.cpp.

void Imp::Fopr_CloverTerm_eo::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 129 of file fopr_CloverTerm_eo_impl.h.

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

Implements Fopr.

Definition at line 96 of file fopr_CloverTerm_eo_impl.cpp.

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

Definition at line 121 of file fopr_CloverTerm_eo_impl.cpp.

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

Definition at line 225 of file fopr_CloverTerm_eo_impl.h.

void Imp::Fopr_CloverTerm_eo::solve_csw_inv ( )
private

Definition at line 156 of file fopr_CloverTerm_eo_impl.cpp.

void Imp::Fopr_CloverTerm_eo::tidyup ( )
private

Definition at line 88 of file fopr_CloverTerm_eo_impl.cpp.

void Imp::Fopr_CloverTerm_eo::trSigmaInv ( Field_G tr_sigma_inv,
const int  mu,
const int  nu 
)

Definition at line 768 of file fopr_CloverTerm_eo_impl.cpp.

Member Data Documentation

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

Definition at line 63 of file fopr_CloverTerm_eo_impl.h.

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

Definition at line 69 of file fopr_CloverTerm_eo_impl.h.

double Imp::Fopr_CloverTerm_eo::m_cSW
private

Definition at line 68 of file fopr_CloverTerm_eo_impl.h.

Field_F* Imp::Fopr_CloverTerm_eo::m_fee_inv
private

Definition at line 88 of file fopr_CloverTerm_eo_impl.h.

Field_F Imp::Fopr_CloverTerm_eo::m_ff
private

Definition at line 90 of file fopr_CloverTerm_eo_impl.h.

Field_F* Imp::Fopr_CloverTerm_eo::m_foo_inv
private

Definition at line 89 of file fopr_CloverTerm_eo_impl.h.

std::vector<GammaMatrix> Imp::Fopr_CloverTerm_eo::m_GM
private

Gamma Matrix and Sigma_{mu,nu} = -i [Gamma_mu, Gamma_nu] /2.

Definition at line 79 of file fopr_CloverTerm_eo_impl.h.

Index_eo Imp::Fopr_CloverTerm_eo::m_idx
private

Definition at line 85 of file fopr_CloverTerm_eo_impl.h.

double Imp::Fopr_CloverTerm_eo::m_kappa
private

Definition at line 67 of file fopr_CloverTerm_eo_impl.h.

std::string Imp::Fopr_CloverTerm_eo::m_mode
private

Definition at line 71 of file fopr_CloverTerm_eo_impl.h.

void(Fopr_CloverTerm_eo::* Imp::Fopr_CloverTerm_eo::m_mult)(Field &, const Field &)
private

Definition at line 81 of file fopr_CloverTerm_eo_impl.h.

int Imp::Fopr_CloverTerm_eo::m_Nc
private

Definition at line 75 of file fopr_CloverTerm_eo_impl.h.

int Imp::Fopr_CloverTerm_eo::m_Nd
private

Definition at line 75 of file fopr_CloverTerm_eo_impl.h.

int Imp::Fopr_CloverTerm_eo::m_Ndim
private

Definition at line 74 of file fopr_CloverTerm_eo_impl.h.

int Imp::Fopr_CloverTerm_eo::m_Ndm2
private

Definition at line 75 of file fopr_CloverTerm_eo_impl.h.

int Imp::Fopr_CloverTerm_eo::m_NinF
private

Definition at line 76 of file fopr_CloverTerm_eo_impl.h.

int Imp::Fopr_CloverTerm_eo::m_Nvol
private

Definition at line 73 of file fopr_CloverTerm_eo_impl.h.

int Imp::Fopr_CloverTerm_eo::m_Nvol2
private

Definition at line 73 of file fopr_CloverTerm_eo_impl.h.

std::string Imp::Fopr_CloverTerm_eo::m_repr
private

Definition at line 70 of file fopr_CloverTerm_eo_impl.h.

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

Definition at line 79 of file fopr_CloverTerm_eo_impl.h.

ShiftField_eo Imp::Fopr_CloverTerm_eo::m_shift_eo
private

Definition at line 86 of file fopr_CloverTerm_eo_impl.h.

Field_G Imp::Fopr_CloverTerm_eo::m_T
private

m_T = 1 - kappa c_SW sigma F / 2

Definition at line 94 of file fopr_CloverTerm_eo_impl.h.

std::vector<Field_G> Imp::Fopr_CloverTerm_eo::m_T2
private

m_T2 is used in Org-version.

Definition at line 97 of file fopr_CloverTerm_eo_impl.h.

const Field_G* Imp::Fopr_CloverTerm_eo::m_Ueo
private

Definition at line 83 of file fopr_CloverTerm_eo_impl.h.

Field_F Imp::Fopr_CloverTerm_eo::m_vf
private

Definition at line 90 of file fopr_CloverTerm_eo_impl.h.

Vec_SU_N Imp::Fopr_CloverTerm_eo::v1
private

Definition at line 91 of file fopr_CloverTerm_eo_impl.h.

Vec_SU_N Imp::Fopr_CloverTerm_eo::v2
private

Definition at line 91 of file fopr_CloverTerm_eo_impl.h.


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