Bridge++  Ver. 2.0.2
Org::Fopr_WilsonGeneral Class Reference

#include <fopr_WilsonGeneral_impl.h>

Inheritance diagram for Org::Fopr_WilsonGeneral:
AFopr< Field >

Public Member Functions

DEPRECATED Fopr_WilsonGeneral ()
 
DEPRECATED Fopr_WilsonGeneral (std::string repr)
 
 Fopr_WilsonGeneral (const Parameters &params)
 
 ~Fopr_WilsonGeneral ()
 
void init (const std::string repr)
 
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)
 
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 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 mult_gm5 (Field &v, const Field &f)
 multiplies gamma_5 matrix. 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 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...
 
void mult_up (const int mu, Field &w, const Field &f)
 upward nearest neighbor hopping term. More...
 
void mult_dn (const int mu, Field &w, const Field &f)
 downward nearest neighbor hopping term. 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 = "Org::Fopr_WilsonGeneral"
 

Private Member Functions

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

Private Attributes

Bridge::VerboseLevel m_vl
 
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
 

Additional Inherited Members

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

Detailed Description

Definition at line 36 of file fopr_WilsonGeneral_impl.h.

Constructor & Destructor Documentation

◆ Fopr_WilsonGeneral() [1/4]

DEPRECATED Org::Fopr_WilsonGeneral::Fopr_WilsonGeneral ( )
inline

Definition at line 69 of file fopr_WilsonGeneral_impl.h.

◆ Fopr_WilsonGeneral() [2/4]

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

Definition at line 72 of file fopr_WilsonGeneral_impl.h.

◆ Fopr_WilsonGeneral() [3/4]

Org::Fopr_WilsonGeneral::Fopr_WilsonGeneral ( const Parameters params)
inline

Definition at line 75 of file fopr_WilsonGeneral_impl.h.

◆ ~Fopr_WilsonGeneral()

Org::Fopr_WilsonGeneral::~Fopr_WilsonGeneral ( )
inline

Definition at line 83 of file fopr_WilsonGeneral_impl.h.

◆ Fopr_WilsonGeneral() [4/4]

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

Definition at line 181 of file fopr_WilsonGeneral_impl.h.

Member Function Documentation

◆ D()

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

Definition at line 167 of file fopr_WilsonGeneral_impl.cpp.

◆ D_ex()

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

Definition at line 186 of file fopr_WilsonGeneral_impl.cpp.

◆ Ddag()

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

Definition at line 117 of file fopr_WilsonGeneral_impl.h.

◆ DdagD()

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

Definition at line 126 of file fopr_WilsonGeneral_impl.h.

◆ DDdag()

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

Definition at line 136 of file fopr_WilsonGeneral_impl.h.

◆ field_nex()

int Org::Fopr_WilsonGeneral::field_nex ( )
inlinevirtual

returns the external degree of freedom of the fermion field.

Implements AFopr< Field >.

Definition at line 173 of file fopr_WilsonGeneral_impl.h.

◆ field_nin()

int Org::Fopr_WilsonGeneral::field_nin ( )
inlinevirtual

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

Implements AFopr< Field >.

Definition at line 171 of file fopr_WilsonGeneral_impl.h.

◆ field_nvol()

int Org::Fopr_WilsonGeneral::field_nvol ( )
inlinevirtual

returns the volume of the fermion field.

Implements AFopr< Field >.

Definition at line 169 of file fopr_WilsonGeneral_impl.h.

◆ flop_count()

double Org::Fopr_WilsonGeneral::flop_count ( )
virtual

this returns the number of floating point operations.

Reimplemented from AFopr< Field >.

Definition at line 336 of file fopr_WilsonGeneral_impl.cpp.

◆ get_mode()

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

Definition at line 86 of file fopr_WilsonGeneral_impl.cpp.

◆ get_parameters()

void Org::Fopr_WilsonGeneral::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 122 of file fopr_WilsonGeneral_impl.cpp.

◆ H()

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

Definition at line 146 of file fopr_WilsonGeneral_impl.h.

◆ init()

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

Definition at line 26 of file fopr_WilsonGeneral_impl.cpp.

◆ mult()

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

multiplies fermion operator to a given field.

Reimplemented from AFopr< Field >.

Definition at line 103 of file fopr_WilsonGeneral_impl.h.

◆ mult_dag()

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

hermitian conjugate of mult.

Reimplemented from AFopr< Field >.

Definition at line 106 of file fopr_WilsonGeneral_impl.h.

◆ mult_dn()

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

downward nearest neighbor hopping term.

Reimplemented from AFopr< Field >.

Definition at line 305 of file fopr_WilsonGeneral_impl.cpp.

◆ mult_gm5()

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

multiplies gamma_5 matrix.

Reimplemented from AFopr< Field >.

Definition at line 204 of file fopr_WilsonGeneral_impl.cpp.

◆ mult_gm5p() [1/2]

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

◆ mult_gm5p() [2/2]

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

Definition at line 258 of file fopr_WilsonGeneral_impl.cpp.

◆ mult_undef()

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

Definition at line 154 of file fopr_WilsonGeneral_impl.h.

◆ mult_up()

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

upward nearest neighbor hopping term.

Reimplemented from AFopr< Field >.

Definition at line 272 of file fopr_WilsonGeneral_impl.cpp.

◆ operator=()

Fopr_WilsonGeneral& Org::Fopr_WilsonGeneral::operator= ( const Fopr_WilsonGeneral )
private

◆ proj_chiral()

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

Definition at line 218 of file fopr_WilsonGeneral_impl.cpp.

◆ set_config()

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

sets the gauge configuration.

Implements AFopr< Field >.

Definition at line 96 of file fopr_WilsonGeneral_impl.h.

◆ set_mode()

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 AFopr< Field >.

Definition at line 59 of file fopr_WilsonGeneral_impl.cpp.

◆ set_parameters() [1/3]

void Org::Fopr_WilsonGeneral::set_parameters ( const double  kappa_s,
const double  kappa_t,
const double  nu_s,
const double  r_s 
)

◆ set_parameters() [2/3]

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 135 of file fopr_WilsonGeneral_impl.cpp.

◆ set_parameters() [3/3]

void Org::Fopr_WilsonGeneral::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 93 of file fopr_WilsonGeneral_impl.cpp.

Member Data Documentation

◆ class_name

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

Definition at line 39 of file fopr_WilsonGeneral_impl.h.

◆ m_boundary

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

Definition at line 52 of file fopr_WilsonGeneral_impl.h.

◆ m_GM

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

Definition at line 62 of file fopr_WilsonGeneral_impl.h.

◆ m_kappa_s

double Org::Fopr_WilsonGeneral::m_kappa_s
private

Definition at line 50 of file fopr_WilsonGeneral_impl.h.

◆ m_kappa_t

double Org::Fopr_WilsonGeneral::m_kappa_t
private

Definition at line 50 of file fopr_WilsonGeneral_impl.h.

◆ m_mode

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

Definition at line 54 of file fopr_WilsonGeneral_impl.h.

◆ m_mult

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

Definition at line 57 of file fopr_WilsonGeneral_impl.h.

◆ m_mult_dag

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

Definition at line 58 of file fopr_WilsonGeneral_impl.h.

◆ m_Nc

int Org::Fopr_WilsonGeneral::m_Nc
private

Definition at line 47 of file fopr_WilsonGeneral_impl.h.

◆ m_Nd

int Org::Fopr_WilsonGeneral::m_Nd
private

Definition at line 48 of file fopr_WilsonGeneral_impl.h.

◆ m_Ndim

int Org::Fopr_WilsonGeneral::m_Ndim
private

Definition at line 46 of file fopr_WilsonGeneral_impl.h.

◆ m_nu_s

double Org::Fopr_WilsonGeneral::m_nu_s
private

Definition at line 51 of file fopr_WilsonGeneral_impl.h.

◆ m_Nvol

int Org::Fopr_WilsonGeneral::m_Nvol
private

Definition at line 45 of file fopr_WilsonGeneral_impl.h.

◆ m_r_s

double Org::Fopr_WilsonGeneral::m_r_s
private

Definition at line 51 of file fopr_WilsonGeneral_impl.h.

◆ m_repr

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

Definition at line 55 of file fopr_WilsonGeneral_impl.h.

◆ m_shift

ShiftField_lex Org::Fopr_WilsonGeneral::m_shift
private

Definition at line 64 of file fopr_WilsonGeneral_impl.h.

◆ m_trf

Field_F Org::Fopr_WilsonGeneral::m_trf
private

Definition at line 65 of file fopr_WilsonGeneral_impl.h.

◆ m_trf2

Field_F Org::Fopr_WilsonGeneral::m_trf2
private

Definition at line 65 of file fopr_WilsonGeneral_impl.h.

◆ m_U

const Field_G* Org::Fopr_WilsonGeneral::m_U
private

Definition at line 60 of file fopr_WilsonGeneral_impl.h.

◆ m_vl

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

Definition at line 42 of file fopr_WilsonGeneral_impl.h.


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