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

#include <fopr_Wilson_impl.h>

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

Public Member Functions

 Fopr_Wilson (const Parameters &params)
 standard constructor with input parameters. More...
 
DEPRECATED Fopr_Wilson ()
 
DEPRECATED Fopr_Wilson (const std::string repr)
 
 ~Fopr_Wilson ()
 
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, 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 &w)
 multiplies fermion operator to a given field. More...
 
void mult_dag (Field &v, const Field &w)
 hermitian conjugate of mult. More...
 
void mult (Field &v, const Field &w, const std::string mod)
 executes mult with specified mode (unchanging internal mode). More...
 
void mult_dag (Field &v, const Field &w, const std::string mode)
 executes mult_dag with specified mode (unchanging internal mode). More...
 
void mult_gm5 (Field &v, const Field &w)
 multiplies gamma_5 matrix. More...
 
void mult_up (const int mu, Field &v, const Field &w)
 upward nearest neighbor hopping term. More...
 
void mult_dn (const int mu, Field &v, const Field &w)
 downward nearest neighbor hopping term. More...
 
void D (Field &, const Field &)
 
void D_ex (Field &v, const int ex1, const Field &w, const int ex2)
 
void Ddag (Field &, const Field &)
 
void DdagD (Field &, const Field &)
 
void DDdag (Field &, const Field &)
 
void H (Field &, const Field &)
 
void proj_chiral (Field &w, const int ex1, const Field &v, const int ex2, const int ipm)
 
void mult_gm5p (const int mu, Field &v, const Field &w)
 
int field_nin ()
 returns the on-site degree of freedom of the fermion field. More...
 
int field_nvol ()
 returns the volume of the fermion field. More...
 
int field_nex ()
 returns the external degree of freedom of the fermion field. More...
 
double flop_count ()
 this returns the number of floating point operations. 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 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_Wilson"
 

Private Member Functions

 Fopr_Wilson (const Fopr_Wilson &)
 
Fopr_Wilsonoperator= (const Fopr_Wilson &)
 
void init (const Parameters &params)
 standard initial setup. More...
 
void init (std::string repr)
 obsolete initial setup. More...
 
void setup ()
 common parts of setup. More...
 
void tidyup ()
 final clean-up. More...
 

Private Attributes

double m_kappa
 hopping parameter More...
 
std::vector< int > m_boundary
 boundary condition More...
 
std::string m_repr
 Dirac matrix representation. More...
 
Bridge::VerboseLevel m_vl
 verbose level More...
 
std::string m_mode
 matrix multiplcation mode More...
 
int m_Nc
 
int m_Nd
 
int m_Nvol
 
int m_Ndim
 
const Field_Gm_U
 pointer ot gauge configuration More...
 
std::vector< GammaMatrixm_GM
 
ShiftField_lexm_shift
 
Field m_w1
 
Field m_w2
 
Field m_w3
 working fields More...
 
Field_F m_v1
 
Field_F m_v2
 working fields with spinor structure More...
 

Additional Inherited Members

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

Detailed Description

Definition at line 38 of file fopr_Wilson_impl.h.

Constructor & Destructor Documentation

◆ Fopr_Wilson() [1/4]

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

standard constructor with input parameters.

Definition at line 68 of file fopr_Wilson_impl.h.

◆ Fopr_Wilson() [2/4]

DEPRECATED Org::Fopr_Wilson::Fopr_Wilson ( )
inline

Definition at line 71 of file fopr_Wilson_impl.h.

◆ Fopr_Wilson() [3/4]

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

Definition at line 74 of file fopr_Wilson_impl.h.

◆ ~Fopr_Wilson()

Org::Fopr_Wilson::~Fopr_Wilson ( )
inline

Definition at line 76 of file fopr_Wilson_impl.h.

◆ Fopr_Wilson() [4/4]

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

Definition at line 130 of file fopr_Wilson_impl.h.

Member Function Documentation

◆ D()

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

Definition at line 333 of file fopr_Wilson_impl.cpp.

◆ D_ex()

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

Definition at line 349 of file fopr_Wilson_impl.cpp.

◆ Ddag()

void Org::Fopr_Wilson::Ddag ( Field v,
const Field w 
)

Definition at line 306 of file fopr_Wilson_impl.cpp.

◆ DdagD()

void Org::Fopr_Wilson::DdagD ( Field v,
const Field w 
)

Definition at line 296 of file fopr_Wilson_impl.cpp.

◆ DDdag()

void Org::Fopr_Wilson::DDdag ( Field v,
const Field w 
)

Definition at line 315 of file fopr_Wilson_impl.cpp.

◆ field_nex()

int Org::Fopr_Wilson::field_nex ( )
inlinevirtual

returns the external degree of freedom of the fermion field.

Implements AFopr< Field >.

Definition at line 123 of file fopr_Wilson_impl.h.

◆ field_nin()

int Org::Fopr_Wilson::field_nin ( )
inlinevirtual

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

Implements AFopr< Field >.

Definition at line 121 of file fopr_Wilson_impl.h.

◆ field_nvol()

int Org::Fopr_Wilson::field_nvol ( )
inlinevirtual

returns the volume of the fermion field.

Implements AFopr< Field >.

Definition at line 122 of file fopr_Wilson_impl.h.

◆ flop_count()

double Org::Fopr_Wilson::flop_count ( )
virtual

this returns the number of floating point operations.

Reimplemented from AFopr< Field >.

Definition at line 449 of file fopr_Wilson_impl.cpp.

◆ get_mode()

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

Definition at line 88 of file fopr_Wilson_impl.h.

◆ get_parameters()

void Org::Fopr_Wilson::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 177 of file fopr_Wilson_impl.cpp.

◆ H()

void Org::Fopr_Wilson::H ( Field v,
const Field w 
)

Definition at line 325 of file fopr_Wilson_impl.cpp.

◆ init() [1/2]

void Org::Fopr_Wilson::init ( const Parameters params)
private

standard initial setup.

Definition at line 26 of file fopr_Wilson_impl.cpp.

◆ init() [2/2]

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

obsolete initial setup.

Definition at line 61 of file fopr_Wilson_impl.cpp.

◆ mult() [1/2]

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

multiplies fermion operator to a given field.

Reimplemented from AFopr< Field >.

Definition at line 210 of file fopr_Wilson_impl.cpp.

◆ mult() [2/2]

void Org::Fopr_Wilson::mult ( Field ,
const Field ,
const std::string  mode 
)
virtual

executes mult with specified mode (unchanging internal mode).

Reimplemented from AFopr< Field >.

Definition at line 252 of file fopr_Wilson_impl.cpp.

◆ mult_dag() [1/2]

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

hermitian conjugate of mult.

Reimplemented from AFopr< Field >.

Definition at line 231 of file fopr_Wilson_impl.cpp.

◆ mult_dag() [2/2]

void Org::Fopr_Wilson::mult_dag ( Field ,
const Field ,
const std::string  mode 
)
virtual

executes mult_dag with specified mode (unchanging internal mode).

Reimplemented from AFopr< Field >.

Definition at line 274 of file fopr_Wilson_impl.cpp.

◆ mult_dn()

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

downward nearest neighbor hopping term.

Reimplemented from AFopr< Field >.

Definition at line 433 of file fopr_Wilson_impl.cpp.

◆ mult_gm5()

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

multiplies gamma_5 matrix.

Reimplemented from AFopr< Field >.

Definition at line 370 of file fopr_Wilson_impl.cpp.

◆ mult_gm5p()

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

Definition at line 406 of file fopr_Wilson_impl.cpp.

◆ mult_up()

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

upward nearest neighbor hopping term.

Reimplemented from AFopr< Field >.

Definition at line 417 of file fopr_Wilson_impl.cpp.

◆ operator=()

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

◆ proj_chiral()

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

Definition at line 387 of file fopr_Wilson_impl.cpp.

◆ set_config()

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

sets the gauge configuration.

Implements AFopr< Field >.

Definition at line 188 of file fopr_Wilson_impl.cpp.

◆ set_mode()

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

Definition at line 200 of file fopr_Wilson_impl.cpp.

◆ set_parameters() [1/2]

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

Definition at line 153 of file fopr_Wilson_impl.cpp.

◆ set_parameters() [2/2]

void Org::Fopr_Wilson::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 127 of file fopr_Wilson_impl.cpp.

◆ setup()

void Org::Fopr_Wilson::setup ( )
private

common parts of setup.

Definition at line 84 of file fopr_Wilson_impl.cpp.

◆ tidyup()

void Org::Fopr_Wilson::tidyup ( )
private

final clean-up.

Definition at line 120 of file fopr_Wilson_impl.cpp.

Member Data Documentation

◆ class_name

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

Definition at line 41 of file fopr_Wilson_impl.h.

◆ m_boundary

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

boundary condition

Definition at line 47 of file fopr_Wilson_impl.h.

◆ m_GM

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

Definition at line 58 of file fopr_Wilson_impl.h.

◆ m_kappa

double Org::Fopr_Wilson::m_kappa
private

hopping parameter

Definition at line 46 of file fopr_Wilson_impl.h.

◆ m_mode

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

matrix multiplcation mode

Definition at line 51 of file fopr_Wilson_impl.h.

◆ m_Nc

int Org::Fopr_Wilson::m_Nc
private

Definition at line 54 of file fopr_Wilson_impl.h.

◆ m_Nd

int Org::Fopr_Wilson::m_Nd
private

Definition at line 54 of file fopr_Wilson_impl.h.

◆ m_Ndim

int Org::Fopr_Wilson::m_Ndim
private

Definition at line 54 of file fopr_Wilson_impl.h.

◆ m_Nvol

int Org::Fopr_Wilson::m_Nvol
private

Definition at line 54 of file fopr_Wilson_impl.h.

◆ m_repr

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

Dirac matrix representation.

Definition at line 48 of file fopr_Wilson_impl.h.

◆ m_shift

ShiftField_lex* Org::Fopr_Wilson::m_shift
private

Definition at line 60 of file fopr_Wilson_impl.h.

◆ m_U

const Field_G* Org::Fopr_Wilson::m_U
private

pointer ot gauge configuration

Definition at line 56 of file fopr_Wilson_impl.h.

◆ m_v1

Field_F Org::Fopr_Wilson::m_v1
private

Definition at line 63 of file fopr_Wilson_impl.h.

◆ m_v2

Field_F Org::Fopr_Wilson::m_v2
private

working fields with spinor structure

Definition at line 63 of file fopr_Wilson_impl.h.

◆ m_vl

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

verbose level

Definition at line 49 of file fopr_Wilson_impl.h.

◆ m_w1

Field Org::Fopr_Wilson::m_w1
private

Definition at line 62 of file fopr_Wilson_impl.h.

◆ m_w2

Field Org::Fopr_Wilson::m_w2
private

Definition at line 62 of file fopr_Wilson_impl.h.

◆ m_w3

Field Org::Fopr_Wilson::m_w3
private

working fields

Definition at line 62 of file fopr_Wilson_impl.h.


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