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

#include <fopr_Wilson_impl.h>

Inheritance diagram for Org::Fopr_Wilson:
Fopr

Public Member Functions

 Fopr_Wilson ()
 
 Fopr_Wilson (const std::string repr)
 
 ~Fopr_Wilson ()
 
void init (std::string repr)
 
void set_parameters (const Parameters &params)
 
void set_parameters (const double kappa)
 
void set_parameters (const double kappa, const std::vector< int > bc)
 
void set_config (Field *U)
 setting pointer to the gauge configuration. More...
 
void set_config (unique_ptr< Field_G > &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
 only for Fopr_Overlap 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...
 
void mult_gm5 (Field &v, const Field &f)
 gamma_5 multiplication. [31 Mar 2017 H.Matsufuru] More...
 
void proj_chiral (Field &w, const int ex1, const Field &v, const int ex2, const int ipm)
 
void D (Field &v, const Field &f)
 
void D_ex (Field &v, const int ex1, const Field &f, const int ex2)
 
void Ddag (Field &w, const Field &f)
 
void DdagD (Field &w, const Field &f)
 
void DDdag (Field &w, const Field &f)
 
void H (Field &w, const Field &f)
 
void mult_undef (Field &, const Field &f)
 
const Field_F mult_gm5p (const int mu, const Field_F &w)
 
void mult_gm5p (const int mu, Field_F &v, const Field_F &w)
 
double flop_count ()
 this returns the number of floating point operations. More...
 
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...
 
void mult_up (const int mu, Field &w, const Field &f)
 nearest neighbor hopping term: temporary entry [H.Matsufuru] More...
 
void mult_dn (const int mu, Field &w, const Field &f)
 
- Public Member Functions inherited from Fopr
 Fopr ()
 
virtual ~Fopr ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 
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 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 = "Org::Fopr_Wilson"
 

Private Member Functions

 Fopr_Wilson (const Fopr_Wilson &)
 
Fopr_Wilsonoperator= (const Fopr_Wilson &)
 

Private Attributes

Bridge::VerboseLevel m_vl
 
int m_Nvol
 
int m_Ndim
 
int m_Nc
 
int m_Nd
 
double m_kappa
 
std::vector< int > m_boundary
 
std::string m_mode
 
std::string m_repr
 
void(Fopr_Wilson::* m_mult )(Field &, const Field &)
 
void(Fopr_Wilson::* m_mult_dag )(Field &, const Field &)
 
const Field_Gm_U
 
std::vector< GammaMatrixm_GM
 
ShiftField_lex m_shift
 
Field_F m_trf
 
Field_F m_trf2
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

Definition at line 42 of file fopr_Wilson_impl.h.

Constructor & Destructor Documentation

Org::Fopr_Wilson::Fopr_Wilson ( )
inline

Definition at line 73 of file fopr_Wilson_impl.h.

Org::Fopr_Wilson::Fopr_Wilson ( const std::string  repr)
inline

Definition at line 74 of file fopr_Wilson_impl.h.

Org::Fopr_Wilson::~Fopr_Wilson ( )
inline

Definition at line 75 of file fopr_Wilson_impl.h.

Org::Fopr_Wilson::Fopr_Wilson ( const Fopr_Wilson )
inlineprivate

Definition at line 171 of file fopr_Wilson_impl.h.

Member Function Documentation

void Org::Fopr_Wilson::D ( Field v,
const Field f 
)

Definition at line 137 of file fopr_Wilson_impl.cpp.

void Org::Fopr_Wilson::D_ex ( Field v,
const int  ex1,
const Field f,
const int  ex2 
)

Definition at line 154 of file fopr_Wilson_impl.cpp.

void Org::Fopr_Wilson::Ddag ( Field w,
const Field f 
)
inline

Definition at line 107 of file fopr_Wilson_impl.h.

void Org::Fopr_Wilson::DdagD ( Field w,
const Field f 
)
inline

Definition at line 116 of file fopr_Wilson_impl.h.

void Org::Fopr_Wilson::DDdag ( Field w,
const Field f 
)
inline

Definition at line 126 of file fopr_Wilson_impl.h.

int Org::Fopr_Wilson::field_nex ( )
inlinevirtual

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

Implements Fopr.

Definition at line 163 of file fopr_Wilson_impl.h.

int Org::Fopr_Wilson::field_nin ( )
inlinevirtual

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

Implements Fopr.

Definition at line 161 of file fopr_Wilson_impl.h.

int Org::Fopr_Wilson::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr.

Definition at line 159 of file fopr_Wilson_impl.h.

double Org::Fopr_Wilson::flop_count ( )
virtual

this returns the number of floating point operations.

Reimplemented from Fopr.

Definition at line 272 of file fopr_Wilson_impl.cpp.

std::string Org::Fopr_Wilson::get_mode ( ) const
virtual

only for Fopr_Overlap

Reimplemented from Fopr.

Definition at line 84 of file fopr_Wilson_impl.cpp.

void Org::Fopr_Wilson::H ( Field w,
const Field f 
)
inline

Definition at line 136 of file fopr_Wilson_impl.h.

void Org::Fopr_Wilson::init ( std::string  repr)

Definition at line 26 of file fopr_Wilson_impl.cpp.

void Org::Fopr_Wilson::mult ( Field ,
const Field  
)
inlinevirtual

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

Implements Fopr.

Definition at line 93 of file fopr_Wilson_impl.h.

void Org::Fopr_Wilson::mult_dag ( Field ,
const Field  
)
inlinevirtual

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

Reimplemented from Fopr.

Definition at line 96 of file fopr_Wilson_impl.h.

void Org::Fopr_Wilson::mult_dn ( const int  mu,
Field w,
const Field f 
)
virtual

Reimplemented from Fopr.

Definition at line 257 of file fopr_Wilson_impl.cpp.

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

gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]

Reimplemented from Fopr.

Definition at line 174 of file fopr_Wilson_impl.cpp.

const Field_F Org::Fopr_Wilson::mult_gm5p ( const int  mu,
const Field_F w 
)
void Org::Fopr_Wilson::mult_gm5p ( const int  mu,
Field_F v,
const Field_F w 
)

Definition at line 228 of file fopr_Wilson_impl.cpp.

void Org::Fopr_Wilson::mult_undef ( Field ,
const Field f 
)
inline

Definition at line 144 of file fopr_Wilson_impl.h.

void Org::Fopr_Wilson::mult_up ( const int  mu,
Field ,
const Field  
)
virtual

nearest neighbor hopping term: temporary entry [H.Matsufuru]

Reimplemented from Fopr.

Definition at line 240 of file fopr_Wilson_impl.cpp.

Fopr_Wilson& Org::Fopr_Wilson::operator= ( const Fopr_Wilson )
private
void Org::Fopr_Wilson::proj_chiral ( Field w,
const int  ex1,
const Field v,
const int  ex2,
const int  ipm 
)

Definition at line 187 of file fopr_Wilson_impl.cpp.

void Org::Fopr_Wilson::set_config ( Field )
inlinevirtual

setting pointer to the gauge configuration.

Implements Fopr.

Definition at line 83 of file fopr_Wilson_impl.h.

void Org::Fopr_Wilson::set_config ( unique_ptr< Field_G > &  U)
inlinevirtual

Implements Fopr.

Definition at line 86 of file fopr_Wilson_impl.h.

void Org::Fopr_Wilson::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 Fopr.

Definition at line 57 of file fopr_Wilson_impl.cpp.

void Org::Fopr_Wilson::set_parameters ( const Parameters params)
virtual

Implements Fopr.

Definition at line 91 of file fopr_Wilson_impl.cpp.

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

Definition at line 115 of file fopr_Wilson_impl.cpp.

Member Data Documentation

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

Definition at line 45 of file fopr_Wilson_impl.h.

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

Definition at line 57 of file fopr_Wilson_impl.h.

std::vector<GammaMatrix> Org::Fopr_Wilson::m_GM
private

Definition at line 67 of file fopr_Wilson_impl.h.

double Org::Fopr_Wilson::m_kappa
private

Definition at line 56 of file fopr_Wilson_impl.h.

std::string Org::Fopr_Wilson::m_mode
private

Definition at line 59 of file fopr_Wilson_impl.h.

void(Fopr_Wilson::* Org::Fopr_Wilson::m_mult)(Field &, const Field &)
private

Definition at line 62 of file fopr_Wilson_impl.h.

void(Fopr_Wilson::* Org::Fopr_Wilson::m_mult_dag)(Field &, const Field &)
private

Definition at line 63 of file fopr_Wilson_impl.h.

int Org::Fopr_Wilson::m_Nc
private

Definition at line 53 of file fopr_Wilson_impl.h.

int Org::Fopr_Wilson::m_Nd
private

Definition at line 54 of file fopr_Wilson_impl.h.

int Org::Fopr_Wilson::m_Ndim
private

Definition at line 52 of file fopr_Wilson_impl.h.

int Org::Fopr_Wilson::m_Nvol
private

Definition at line 51 of file fopr_Wilson_impl.h.

std::string Org::Fopr_Wilson::m_repr
private

Definition at line 60 of file fopr_Wilson_impl.h.

ShiftField_lex Org::Fopr_Wilson::m_shift
private

Definition at line 69 of file fopr_Wilson_impl.h.

Field_F Org::Fopr_Wilson::m_trf
private

Definition at line 70 of file fopr_Wilson_impl.h.

Field_F Org::Fopr_Wilson::m_trf2
private

Definition at line 70 of file fopr_Wilson_impl.h.

const Field_G* Org::Fopr_Wilson::m_U
private

Definition at line 65 of file fopr_Wilson_impl.h.

Bridge::VerboseLevel Org::Fopr_Wilson::m_vl
private

Definition at line 48 of file fopr_Wilson_impl.h.


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