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

#include <fopr_WilsonGeneral_impl.h>

Inheritance diagram for Org::Fopr_WilsonGeneral:
Fopr

Public Member Functions

 Fopr_WilsonGeneral ()
 
 Fopr_WilsonGeneral (std::string repr)
 
 ~Fopr_WilsonGeneral ()
 
void init (const std::string repr)
 
void set_parameters (const Parameters &params)
 
void set_parameters (const double kappa_s, const double kappa_t, const double nu_s, const double r_s)
 
void set_parameters (const double kappa_s, const double kappa_t, const double nu_s, const double r_s, 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_WilsonGeneral"
 

Private Member Functions

 Fopr_WilsonGeneral (const Fopr_WilsonGeneral &)
 
Fopr_WilsonGeneraloperator= (const Fopr_WilsonGeneral &)
 

Private Attributes

int m_Nvol
 
int m_Ndim
 
int m_Nc
 
int m_Nd
 
double m_kappa_s
 
double m_kappa_t
 
double m_nu_s
 
double m_r_s
 
std::vector< int > m_boundary
 
std::string m_mode
 
std::string m_repr
 
void(Fopr_WilsonGeneral::* m_mult )(Field &, const Field &)
 
void(Fopr_WilsonGeneral::* 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
 
Bridge::VerboseLevel m_vl
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

Definition at line 36 of file fopr_WilsonGeneral_impl.h.

Constructor & Destructor Documentation

Org::Fopr_WilsonGeneral::Fopr_WilsonGeneral ( )
inline

Definition at line 69 of file fopr_WilsonGeneral_impl.h.

Org::Fopr_WilsonGeneral::Fopr_WilsonGeneral ( std::string  repr)
inline

Definition at line 70 of file fopr_WilsonGeneral_impl.h.

Org::Fopr_WilsonGeneral::~Fopr_WilsonGeneral ( )
inline

Definition at line 71 of file fopr_WilsonGeneral_impl.h.

Org::Fopr_WilsonGeneral::Fopr_WilsonGeneral ( const Fopr_WilsonGeneral )
inlineprivate

Definition at line 170 of file fopr_WilsonGeneral_impl.h.

Member Function Documentation

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

Definition at line 151 of file fopr_WilsonGeneral_impl.cpp.

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

Definition at line 170 of file fopr_WilsonGeneral_impl.cpp.

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

Definition at line 106 of file fopr_WilsonGeneral_impl.h.

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

Definition at line 115 of file fopr_WilsonGeneral_impl.h.

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

Definition at line 125 of file fopr_WilsonGeneral_impl.h.

int Org::Fopr_WilsonGeneral::field_nex ( )
inlinevirtual

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

Implements Fopr.

Definition at line 162 of file fopr_WilsonGeneral_impl.h.

int Org::Fopr_WilsonGeneral::field_nin ( )
inlinevirtual

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

Implements Fopr.

Definition at line 160 of file fopr_WilsonGeneral_impl.h.

int Org::Fopr_WilsonGeneral::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr.

Definition at line 158 of file fopr_WilsonGeneral_impl.h.

double Org::Fopr_WilsonGeneral::flop_count ( )
virtual

this returns the number of floating point operations.

Reimplemented from Fopr.

Definition at line 320 of file fopr_WilsonGeneral_impl.cpp.

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

only for Fopr_Overlap

Reimplemented from Fopr.

Definition at line 84 of file fopr_WilsonGeneral_impl.cpp.

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

Definition at line 135 of file fopr_WilsonGeneral_impl.h.

void Org::Fopr_WilsonGeneral::init ( const std::string  repr)

Definition at line 26 of file fopr_WilsonGeneral_impl.cpp.

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

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

Implements Fopr.

Definition at line 92 of file fopr_WilsonGeneral_impl.h.

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

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

Reimplemented from Fopr.

Definition at line 95 of file fopr_WilsonGeneral_impl.h.

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

Reimplemented from Fopr.

Definition at line 289 of file fopr_WilsonGeneral_impl.cpp.

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

gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]

Reimplemented from Fopr.

Definition at line 188 of file fopr_WilsonGeneral_impl.cpp.

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

Definition at line 242 of file fopr_WilsonGeneral_impl.cpp.

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

Definition at line 143 of file fopr_WilsonGeneral_impl.h.

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

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

Reimplemented from Fopr.

Definition at line 256 of file fopr_WilsonGeneral_impl.cpp.

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

Definition at line 202 of file fopr_WilsonGeneral_impl.cpp.

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

setting pointer to the gauge configuration.

Implements Fopr.

Definition at line 82 of file fopr_WilsonGeneral_impl.h.

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

Implements Fopr.

Definition at line 85 of file fopr_WilsonGeneral_impl.h.

void Org::Fopr_WilsonGeneral::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_WilsonGeneral_impl.cpp.

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

Implements Fopr.

Definition at line 91 of file fopr_WilsonGeneral_impl.cpp.

void Org::Fopr_WilsonGeneral::set_parameters ( const double  kappa_s,
const double  kappa_t,
const double  nu_s,
const double  r_s 
)
void Org::Fopr_WilsonGeneral::set_parameters ( const double  kappa_s,
const double  kappa_t,
const double  nu_s,
const double  r_s,
const std::vector< int >  bc 
)

Definition at line 119 of file fopr_WilsonGeneral_impl.cpp.

Member Data Documentation

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

Definition at line 39 of file fopr_WilsonGeneral_impl.h.

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

Definition at line 50 of file fopr_WilsonGeneral_impl.h.

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

Definition at line 60 of file fopr_WilsonGeneral_impl.h.

double Org::Fopr_WilsonGeneral::m_kappa_s
private

Definition at line 48 of file fopr_WilsonGeneral_impl.h.

double Org::Fopr_WilsonGeneral::m_kappa_t
private

Definition at line 48 of file fopr_WilsonGeneral_impl.h.

std::string Org::Fopr_WilsonGeneral::m_mode
private

Definition at line 52 of file fopr_WilsonGeneral_impl.h.

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

Definition at line 55 of file fopr_WilsonGeneral_impl.h.

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

Definition at line 56 of file fopr_WilsonGeneral_impl.h.

int Org::Fopr_WilsonGeneral::m_Nc
private

Definition at line 45 of file fopr_WilsonGeneral_impl.h.

int Org::Fopr_WilsonGeneral::m_Nd
private

Definition at line 46 of file fopr_WilsonGeneral_impl.h.

int Org::Fopr_WilsonGeneral::m_Ndim
private

Definition at line 44 of file fopr_WilsonGeneral_impl.h.

double Org::Fopr_WilsonGeneral::m_nu_s
private

Definition at line 49 of file fopr_WilsonGeneral_impl.h.

int Org::Fopr_WilsonGeneral::m_Nvol
private

Definition at line 43 of file fopr_WilsonGeneral_impl.h.

double Org::Fopr_WilsonGeneral::m_r_s
private

Definition at line 49 of file fopr_WilsonGeneral_impl.h.

std::string Org::Fopr_WilsonGeneral::m_repr
private

Definition at line 53 of file fopr_WilsonGeneral_impl.h.

ShiftField_lex Org::Fopr_WilsonGeneral::m_shift
private

Definition at line 62 of file fopr_WilsonGeneral_impl.h.

Field_F Org::Fopr_WilsonGeneral::m_trf
private

Definition at line 63 of file fopr_WilsonGeneral_impl.h.

Field_F Org::Fopr_WilsonGeneral::m_trf2
private

Definition at line 63 of file fopr_WilsonGeneral_impl.h.

const Field_G* Org::Fopr_WilsonGeneral::m_U
private

Definition at line 58 of file fopr_WilsonGeneral_impl.h.

Bridge::VerboseLevel Org::Fopr_WilsonGeneral::m_vl
private

Definition at line 65 of file fopr_WilsonGeneral_impl.h.


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