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

#include <fopr_Wilson_eo_impl.h>

Inheritance diagram for Org::Fopr_Wilson_eo:
AFopr_eo< Field > AFopr< Field >

Public Member Functions

DEPRECATED Fopr_Wilson_eo ()
 
DEPRECATED Fopr_Wilson_eo (const std::string repr)
 
 Fopr_Wilson_eo (const Parameters &params)
 
 ~Fopr_Wilson_eo ()
 
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)
 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
 
void mult (Field &, const Field &)
 multiplies fermion operator to a given field (2nd argument) More...
 
void mult_dag (Field &, const Field &)
 hermitian conjugate of mult(Field&, const Field&). More...
 
void mult (Field &v, const Field &w, const std::string mode)
 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 preProp (Field &Be, Field &bo, const Field &b)
 
void postProp (Field &x, const Field &xe, const Field &bo)
 
void D (Field &, const Field &)
 
void Ddag (Field &, const Field &)
 
void DdagD (Field &, const Field &)
 
void DDdag (Field &, const Field &)
 
void H (Field &, const Field &)
 
void Meo (Field &, const Field &, const int ieo)
 
void Mdageo (Field &, const Field &, const int ieo)
 
void mult_gm5 (Field &, const Field &)
 multiplies gamma_5 matrix. More...
 
void gm5p (const int mu, Field &, const Field &v)
 gamma_5 (1 - gamma_mu) v(x + mu) 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...
 
double flop_count ()
 this returns the number of floating point operations of Meo. More...
 
- Public Member Functions inherited from AFopr_eo< Field >
virtual ~AFopr_eo ()
 
std::string get_mode () const
 returns the current mult mode. More...
 
- Public Member Functions inherited from AFopr< Field >
 AFopr ()
 
virtual ~AFopr ()
 
virtual void mult_up (int mu, Field &, const Field &)
 upward nearest neighbor hopping term. More...
 
virtual void mult_dn (int mu, Field &, const Field &)
 downward nearest neighbor hopping term. 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_eo"
 

Private Member Functions

void init (const Parameters &)
 initial setup (standard) More...
 
void init (const std::string)
 initial setup (obsolete) More...
 
void setup ()
 common setup in initialization. More...
 
void tidyup ()
 final clean-up More...
 
void mult_up (const int mu, Field_F &, const Field_F &, const int ieo)
 
void mult_dn (const int mu, Field_F &, const Field_F &, const int ieo)
 

Private Attributes

double m_kappa
 hopping parameter More...
 
std::vector< int > m_boundary
 boundary condition More...
 
std::string m_repr
 gamma matrix representation More...
 
Bridge::VerboseLevel m_vl
 verbose level More...
 
std::string m_mode
 multiplication mode More...
 
int m_Nvol
 
int m_Nvol2
 
int m_Ndim
 
int m_Nc
 
int m_Nd
 
Field_G m_Ueo
 even-odd configuration More...
 
ShiftField_eom_shift
 even-odd field shifter More...
 
std::vector< GammaMatrixm_GM
 
Index_eo m_index
 
Field_F m_v1
 
Field_F m_v2
 working field (used in D, Ddag) More...
 
Field_F m_v3
 working field (used in DdagD, DDdag, H) More...
 
Field_F m_t1
 
Field_F m_t2
 working field (used in mult_up/dn) More...
 
Field_F m_w1
 
Field_F m_w2
 working field (used in Meo, Mdageo, mult_gm5) More...
 

Additional Inherited Members

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

Detailed Description

Definition at line 39 of file fopr_Wilson_eo_impl.h.

Constructor & Destructor Documentation

◆ Fopr_Wilson_eo() [1/3]

DEPRECATED Org::Fopr_Wilson_eo::Fopr_Wilson_eo ( )
inline

Definition at line 74 of file fopr_Wilson_eo_impl.h.

◆ Fopr_Wilson_eo() [2/3]

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

Definition at line 77 of file fopr_Wilson_eo_impl.h.

◆ Fopr_Wilson_eo() [3/3]

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

Definition at line 79 of file fopr_Wilson_eo_impl.h.

◆ ~Fopr_Wilson_eo()

Org::Fopr_Wilson_eo::~Fopr_Wilson_eo ( )
inline

Definition at line 81 of file fopr_Wilson_eo_impl.h.

Member Function Documentation

◆ D()

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

Definition at line 414 of file fopr_Wilson_eo_impl.cpp.

◆ Ddag()

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

Definition at line 394 of file fopr_Wilson_eo_impl.cpp.

◆ DdagD()

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

Definition at line 370 of file fopr_Wilson_eo_impl.cpp.

◆ DDdag()

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

Definition at line 378 of file fopr_Wilson_eo_impl.cpp.

◆ field_nex()

int Org::Fopr_Wilson_eo::field_nex ( )
inlinevirtual

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

Implements AFopr_eo< Field >.

Definition at line 124 of file fopr_Wilson_eo_impl.h.

◆ field_nin()

int Org::Fopr_Wilson_eo::field_nin ( )
inlinevirtual

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

Implements AFopr_eo< Field >.

Definition at line 123 of file fopr_Wilson_eo_impl.h.

◆ field_nvol()

int Org::Fopr_Wilson_eo::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements AFopr_eo< Field >.

Definition at line 122 of file fopr_Wilson_eo_impl.h.

◆ flop_count()

double Org::Fopr_Wilson_eo::flop_count ( )
virtual

this returns the number of floating point operations of Meo.

Reimplemented from AFopr< Field >.

Definition at line 543 of file fopr_Wilson_eo_impl.cpp.

◆ get_mode()

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

Definition at line 92 of file fopr_Wilson_eo_impl.h.

◆ get_parameters()

void Org::Fopr_Wilson_eo::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 191 of file fopr_Wilson_eo_impl.cpp.

◆ gm5p()

void Org::Fopr_Wilson_eo::gm5p ( const int  mu,
Field v,
const Field v 
)

gamma_5 (1 - gamma_mu) v(x + mu)

Definition at line 480 of file fopr_Wilson_eo_impl.cpp.

◆ H()

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

Definition at line 386 of file fopr_Wilson_eo_impl.cpp.

◆ init() [1/2]

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

initial setup (standard)

Definition at line 28 of file fopr_Wilson_eo_impl.cpp.

◆ init() [2/2]

void Org::Fopr_Wilson_eo::init ( const std::string  repr)
private

initial setup (obsolete)

Definition at line 63 of file fopr_Wilson_eo_impl.cpp.

◆ Mdageo()

void Org::Fopr_Wilson_eo::Mdageo ( Field v,
const Field w,
const int  ieo 
)

Definition at line 455 of file fopr_Wilson_eo_impl.cpp.

◆ Meo()

void Org::Fopr_Wilson_eo::Meo ( Field v,
const Field w,
const int  ieo 
)

Definition at line 434 of file fopr_Wilson_eo_impl.cpp.

◆ mult() [1/2]

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

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

Reimplemented from AFopr_eo< Field >.

Definition at line 225 of file fopr_Wilson_eo_impl.cpp.

◆ mult() [2/2]

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

executes mult with specified mode (unchanging internal mode).

Reimplemented from AFopr_eo< Field >.

Definition at line 263 of file fopr_Wilson_eo_impl.cpp.

◆ mult_dag() [1/2]

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

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

Reimplemented from AFopr_eo< Field >.

Definition at line 244 of file fopr_Wilson_eo_impl.cpp.

◆ mult_dag() [2/2]

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

executes mult_dag with specified mode (unchanging internal mode).

Reimplemented from AFopr_eo< Field >.

Definition at line 279 of file fopr_Wilson_eo_impl.cpp.

◆ mult_dn()

void Org::Fopr_Wilson_eo::mult_dn ( const int  mu,
Field_F v,
const Field_F w,
const int  ieo 
)
private

Definition at line 517 of file fopr_Wilson_eo_impl.cpp.

◆ mult_gm5()

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

multiplies gamma_5 matrix.

Reimplemented from AFopr< Field >.

Definition at line 295 of file fopr_Wilson_eo_impl.cpp.

◆ mult_up()

void Org::Fopr_Wilson_eo::mult_up ( const int  mu,
Field_F v,
const Field_F w,
const int  ieo 
)
private

Definition at line 489 of file fopr_Wilson_eo_impl.cpp.

◆ postProp()

void Org::Fopr_Wilson_eo::postProp ( Field x,
const Field xe,
const Field bo 
)
virtual

Implements AFopr_eo< Field >.

Definition at line 339 of file fopr_Wilson_eo_impl.cpp.

◆ preProp()

void Org::Fopr_Wilson_eo::preProp ( Field Be,
Field bo,
const Field b 
)
virtual

Implements AFopr_eo< Field >.

Definition at line 308 of file fopr_Wilson_eo_impl.cpp.

◆ set_config()

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

setting pointer to the gauge configuration.

Implements AFopr_eo< Field >.

Definition at line 202 of file fopr_Wilson_eo_impl.cpp.

◆ set_mode()

void Org::Fopr_Wilson_eo::set_mode ( std::string  mode)
virtual

setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call.

Reimplemented from AFopr_eo< Field >.

Definition at line 213 of file fopr_Wilson_eo_impl.cpp.

◆ set_parameters() [1/2]

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

Definition at line 165 of file fopr_Wilson_eo_impl.cpp.

◆ set_parameters() [2/2]

void Org::Fopr_Wilson_eo::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 136 of file fopr_Wilson_eo_impl.cpp.

◆ setup()

void Org::Fopr_Wilson_eo::setup ( )
private

common setup in initialization.

Definition at line 92 of file fopr_Wilson_eo_impl.cpp.

◆ tidyup()

void Org::Fopr_Wilson_eo::tidyup ( )
private

final clean-up

Definition at line 129 of file fopr_Wilson_eo_impl.cpp.

Member Data Documentation

◆ class_name

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

Definition at line 42 of file fopr_Wilson_eo_impl.h.

◆ m_boundary

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

boundary condition

Definition at line 47 of file fopr_Wilson_eo_impl.h.

◆ m_GM

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

Definition at line 61 of file fopr_Wilson_eo_impl.h.

◆ m_index

Index_eo Org::Fopr_Wilson_eo::m_index
private

Definition at line 63 of file fopr_Wilson_eo_impl.h.

◆ m_kappa

double Org::Fopr_Wilson_eo::m_kappa
private

hopping parameter

Definition at line 46 of file fopr_Wilson_eo_impl.h.

◆ m_mode

std::string Org::Fopr_Wilson_eo::m_mode
private

multiplication mode

Definition at line 51 of file fopr_Wilson_eo_impl.h.

◆ m_Nc

int Org::Fopr_Wilson_eo::m_Nc
private

Definition at line 55 of file fopr_Wilson_eo_impl.h.

◆ m_Nd

int Org::Fopr_Wilson_eo::m_Nd
private

Definition at line 55 of file fopr_Wilson_eo_impl.h.

◆ m_Ndim

int Org::Fopr_Wilson_eo::m_Ndim
private

Definition at line 54 of file fopr_Wilson_eo_impl.h.

◆ m_Nvol

int Org::Fopr_Wilson_eo::m_Nvol
private

Definition at line 54 of file fopr_Wilson_eo_impl.h.

◆ m_Nvol2

int Org::Fopr_Wilson_eo::m_Nvol2
private

Definition at line 54 of file fopr_Wilson_eo_impl.h.

◆ m_repr

std::string Org::Fopr_Wilson_eo::m_repr
private

gamma matrix representation

Definition at line 48 of file fopr_Wilson_eo_impl.h.

◆ m_shift

ShiftField_eo* Org::Fopr_Wilson_eo::m_shift
private

even-odd field shifter

Definition at line 59 of file fopr_Wilson_eo_impl.h.

◆ m_t1

Field_F Org::Fopr_Wilson_eo::m_t1
private

Definition at line 68 of file fopr_Wilson_eo_impl.h.

◆ m_t2

Field_F Org::Fopr_Wilson_eo::m_t2
private

working field (used in mult_up/dn)

Definition at line 68 of file fopr_Wilson_eo_impl.h.

◆ m_Ueo

Field_G Org::Fopr_Wilson_eo::m_Ueo
private

even-odd configuration

Definition at line 57 of file fopr_Wilson_eo_impl.h.

◆ m_v1

Field_F Org::Fopr_Wilson_eo::m_v1
private

Definition at line 65 of file fopr_Wilson_eo_impl.h.

◆ m_v2

Field_F Org::Fopr_Wilson_eo::m_v2
private

working field (used in D, Ddag)

Definition at line 65 of file fopr_Wilson_eo_impl.h.

◆ m_v3

Field_F Org::Fopr_Wilson_eo::m_v3
private

working field (used in DdagD, DDdag, H)

Definition at line 66 of file fopr_Wilson_eo_impl.h.

◆ m_vl

Bridge::VerboseLevel Org::Fopr_Wilson_eo::m_vl
private

verbose level

Definition at line 49 of file fopr_Wilson_eo_impl.h.

◆ m_w1

Field_F Org::Fopr_Wilson_eo::m_w1
private

Definition at line 69 of file fopr_Wilson_eo_impl.h.

◆ m_w2

Field_F Org::Fopr_Wilson_eo::m_w2
private

working field (used in Meo, Mdageo, mult_gm5)

Definition at line 69 of file fopr_Wilson_eo_impl.h.


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