Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Fopr_Clover_SF Class Reference

#include <fopr_Clover_SF.h>

Inheritance diagram for Fopr_Clover_SF:
Fopr

Public Member Functions

 Fopr_Clover_SF ()
 
 ~Fopr_Clover_SF ()
 
void set_parameters (const Parameters &params)
 
void set_parameters (double kappa, double cSW, std::valarray< int > bc, double *phi, double *phipr)
 
void set_config (Field *U)
 setting pointer to the gauge configuration. More...
 
void set_mode (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
 
const Field mult (const Field &f)
 multiplies fermion operator to a given field and returns the resultant field. More...
 
const Field mult_dag (const Field &f)
 hermitian conjugate of mult(const Field&). 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...
 
const Field_F DdagD (const Field_F &)
 
const Field_F D (const Field_F &)
 
const Field_F Ddag (const Field_F &)
 
const Field_F H (const Field_F &)
 
const Field mult_gm5 (const Field &w)
 
void DdagD (Field &, const Field &)
 
void D (Field &, const Field &)
 
void Ddag (Field &, const Field &)
 
void H (Field &, const Field &)
 
void mult_gm5 (Field &v, const Field &w)
 
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...
 
- Public Member Functions inherited from Fopr
 Fopr ()
 
virtual ~Fopr ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 
virtual void mult_up (int mu, Field &, const Field &)
 nearest neighbor hopping term: temporary entry [H.Matsufuru] More...
 
virtual void mult_dn (int mu, Field &, const Field &)
 
virtual double flop_count ()
 returns the flops per site. More...
 

Static Public Attributes

static const std::string class_name = "Fopr_Clover_SF"
 

Private Member Functions

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

Private Attributes

int m_Nvol
 
int m_Ndim
 
int m_Nc
 
int m_Nd
 
int m_NinF
 
double m_kappa
 
double m_cSW
 
std::valarray< int > m_boundary
 
std::string m_repr
 
std::string m_mode
 
void(Fopr_Clover_SF::* m_csw )(Field_F &, const Field_F &)
 
Fopr_Wilson_SFm_fopr_w
 
const Field_Gm_U
 
ShiftField_lex m_shift
 
Field_G m_Bx
 
Field_G m_By
 
Field_G m_Bz
 
Field_G m_Ex
 
Field_G m_Ey
 
Field_G m_Ez
 
std::valarray< GammaMatrixm_GM
 
std::valarray< GammaMatrixm_SG
 
double m_phi [3]
 SF boundary condition at t=0. More...
 
double m_phipr [3]
 SF boundary condition at t=Nt. More...
 
Field_F_SF setzero
 In order to set the boundary field to zero. More...
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

Definition at line 48 of file fopr_Clover_SF.h.

Constructor & Destructor Documentation

Fopr_Clover_SF::Fopr_Clover_SF ( )
inline

Definition at line 82 of file fopr_Clover_SF.h.

Fopr_Clover_SF::~Fopr_Clover_SF ( )
inline

Definition at line 93 of file fopr_Clover_SF.h.

Member Function Documentation

const Field_F Fopr_Clover_SF::D ( const Field_F f)

Definition at line 300 of file fopr_Clover_SF.cpp.

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

Definition at line 247 of file fopr_Clover_SF.cpp.

const Field_F Fopr_Clover_SF::Ddag ( const Field_F f)

Definition at line 278 of file fopr_Clover_SF.cpp.

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

Definition at line 224 of file fopr_Clover_SF.cpp.

const Field_F Fopr_Clover_SF::DdagD ( const Field_F f)

Definition at line 267 of file fopr_Clover_SF.cpp.

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

Definition at line 211 of file fopr_Clover_SF.cpp.

int Fopr_Clover_SF::field_nex ( )
inlinevirtual

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

Implements Fopr.

Definition at line 193 of file fopr_Clover_SF.h.

int Fopr_Clover_SF::field_nin ( )
inlinevirtual

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

Implements Fopr.

Definition at line 192 of file fopr_Clover_SF.h.

int Fopr_Clover_SF::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr.

Definition at line 191 of file fopr_Clover_SF.h.

std::string Fopr_Clover_SF::get_mode ( ) const
inlinevirtual

Reimplemented from Fopr.

Definition at line 115 of file fopr_Clover_SF.h.

const Field_F Fopr_Clover_SF::H ( const Field_F f)

Definition at line 289 of file fopr_Clover_SF.cpp.

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

Definition at line 236 of file fopr_Clover_SF.cpp.

void Fopr_Clover_SF::init ( std::string  repr)
private

Definition at line 144 of file fopr_Clover_SF.cpp.

const Field Fopr_Clover_SF::mult ( const Field )
inlinevirtual

multiplies fermion operator to a given field and returns the resultant field.

Implements Fopr.

Definition at line 120 of file fopr_Clover_SF.h.

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

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

Reimplemented from Fopr.

Definition at line 136 of file fopr_Clover_SF.h.

void Fopr_Clover_SF::mult_csw ( Field_F v,
const Field_F w 
)
private

Definition at line 320 of file fopr_Clover_SF.cpp.

void Fopr_Clover_SF::mult_csw_chiral ( Field_F v,
const Field_F w 
)
private

Definition at line 327 of file fopr_Clover_SF.cpp.

void Fopr_Clover_SF::mult_csw_dirac ( Field_F v,
const Field_F w 
)
private

Definition at line 436 of file fopr_Clover_SF.cpp.

const Field Fopr_Clover_SF::mult_dag ( const Field )
inlinevirtual

hermitian conjugate of mult(const Field&).

Reimplemented from Fopr.

Definition at line 128 of file fopr_Clover_SF.h.

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

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

Reimplemented from Fopr.

Definition at line 152 of file fopr_Clover_SF.h.

const Field Fopr_Clover_SF::mult_gm5 ( const Field w)
inline

Definition at line 173 of file fopr_Clover_SF.h.

void Fopr_Clover_SF::mult_gm5 ( Field v,
const Field w 
)
inline

Definition at line 183 of file fopr_Clover_SF.h.

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

Definition at line 311 of file fopr_Clover_SF.cpp.

void Fopr_Clover_SF::set_config ( Field )
inlinevirtual

setting pointer to the gauge configuration.

Implements Fopr.

Definition at line 102 of file fopr_Clover_SF.h.

void Fopr_Clover_SF::set_csw ( )
private

Definition at line 545 of file fopr_Clover_SF.cpp.

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

The field strength defined by clover with the SF BC.

  • The field strength is set to zero at t=0 boundary.
  • This is performed automatically by a use of Staples_SF.

Definition at line 564 of file fopr_Clover_SF.cpp.

void Fopr_Clover_SF::set_mode ( 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_Clover_SF.h.

void Fopr_Clover_SF::set_parameters ( const Parameters params)
virtual

Implements Fopr.

Definition at line 51 of file fopr_Clover_SF.cpp.

void Fopr_Clover_SF::set_parameters ( double  kappa,
double  cSW,
std::valarray< int >  bc,
double *  phi,
double *  phipr 
)
int Fopr_Clover_SF::sg_index ( int  mu,
int  nu 
)
inlineprivate

Definition at line 206 of file fopr_Clover_SF.h.

void Fopr_Clover_SF::tidyup ( )
private

Definition at line 204 of file fopr_Clover_SF.cpp.

Member Data Documentation

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

Definition at line 51 of file fopr_Clover_SF.h.

std::valarray<int> Fopr_Clover_SF::m_boundary
private

Definition at line 56 of file fopr_Clover_SF.h.

Field_G Fopr_Clover_SF::m_Bx
private

Definition at line 67 of file fopr_Clover_SF.h.

Field_G Fopr_Clover_SF::m_By
private

Definition at line 67 of file fopr_Clover_SF.h.

Field_G Fopr_Clover_SF::m_Bz
private

Definition at line 67 of file fopr_Clover_SF.h.

double Fopr_Clover_SF::m_cSW
private

Definition at line 55 of file fopr_Clover_SF.h.

void(Fopr_Clover_SF::* Fopr_Clover_SF::m_csw)(Field_F &, const Field_F &)
private

Definition at line 60 of file fopr_Clover_SF.h.

Field_G Fopr_Clover_SF::m_Ex
private

Definition at line 67 of file fopr_Clover_SF.h.

Field_G Fopr_Clover_SF::m_Ey
private

Definition at line 67 of file fopr_Clover_SF.h.

Field_G Fopr_Clover_SF::m_Ez
private

Definition at line 67 of file fopr_Clover_SF.h.

Fopr_Wilson_SF* Fopr_Clover_SF::m_fopr_w
private

Definition at line 63 of file fopr_Clover_SF.h.

std::valarray<GammaMatrix> Fopr_Clover_SF::m_GM
private

Definition at line 71 of file fopr_Clover_SF.h.

double Fopr_Clover_SF::m_kappa
private

Definition at line 55 of file fopr_Clover_SF.h.

std::string Fopr_Clover_SF::m_mode
private

Definition at line 58 of file fopr_Clover_SF.h.

int Fopr_Clover_SF::m_Nc
private

Definition at line 54 of file fopr_Clover_SF.h.

int Fopr_Clover_SF::m_Nd
private

Definition at line 54 of file fopr_Clover_SF.h.

int Fopr_Clover_SF::m_Ndim
private

Definition at line 54 of file fopr_Clover_SF.h.

int Fopr_Clover_SF::m_NinF
private

Definition at line 54 of file fopr_Clover_SF.h.

int Fopr_Clover_SF::m_Nvol
private

Definition at line 54 of file fopr_Clover_SF.h.

double Fopr_Clover_SF::m_phi[3]
private

SF boundary condition at t=0.

Definition at line 74 of file fopr_Clover_SF.h.

double Fopr_Clover_SF::m_phipr[3]
private

SF boundary condition at t=Nt.

Definition at line 76 of file fopr_Clover_SF.h.

std::string Fopr_Clover_SF::m_repr
private

Definition at line 57 of file fopr_Clover_SF.h.

std::valarray<GammaMatrix> Fopr_Clover_SF::m_SG
private

Definition at line 71 of file fopr_Clover_SF.h.

ShiftField_lex Fopr_Clover_SF::m_shift
private

Definition at line 65 of file fopr_Clover_SF.h.

const Field_G* Fopr_Clover_SF::m_U
private

Definition at line 64 of file fopr_Clover_SF.h.

Field_F_SF Fopr_Clover_SF::setzero
private

In order to set the boundary field to zero.

Definition at line 79 of file fopr_Clover_SF.h.


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