Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Fopr_Wilson Class Reference

#include <fopr_Wilson.h>

Inheritance diagram for Fopr_Wilson:
Fopr

Classes

class  Fopr_Wilson_impl
 Wilson fermion operator. More...
 

Public Member Functions

 Fopr_Wilson ()
 
 Fopr_Wilson (std::string repr)
 
 ~Fopr_Wilson ()
 
void set_parameters (const Parameters &params)
 
void set_parameters (const double kappa, const std::valarray< int > bc)
 
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
 
const Field mult (const Field &f)
 multiplies fermion operator to a given field and returns the resultant field. More...
 
const Field mult_dag (const Field &f)
 hermitian conjugate of mult(const Field&). More...
 
const Field mult_gm5 (const Field &f)
 
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 &w, const Field &v)
 
void proj_chiral (Field &w, const int ex1, const Field &v, const int ex2, const int ipm)
 
void D (Field &w, const Field &v)
 
void Ddag (Field &w, const Field &v)
 
void DdagD (Field &w, const Field &v)
 
void DDdag (Field &w, const Field &v)
 
void H (Field &w, const Field &v)
 
void D_ex (Field &w, const int ex1, const Field &v, const int ex2)
 this function is assumed to be exclusively used from domain-wall fermions. More...
 
const Field_F mult_gm5p (int mu, const Field_F &w)
 this function is used for derivatives in force calculation. More...
 
void mult_gm5p (int mu, Field_F &v, const Field_F &w)
 
void mult_up (int mu, Field &w, const Field &v)
 adding the hopping to nearest neighbor site in mu-th direction. More...
 
void mult_dn (int mu, Field &w, const Field &v)
 
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 number operations. More...
 
- Public Member Functions inherited from Fopr
 Fopr ()
 
virtual ~Fopr ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 

Static Public Attributes

static const std::string class_name = "Fopr_Wilson"
 

Private Attributes

Fopr_Wilson_implm_impl
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

Definition at line 53 of file fopr_Wilson.h.

Constructor & Destructor Documentation

Fopr_Wilson::Fopr_Wilson ( )

Definition at line 75 of file fopr_Wilson.cpp.

Fopr_Wilson::Fopr_Wilson ( std::string  repr)

Definition at line 79 of file fopr_Wilson.cpp.

Fopr_Wilson::~Fopr_Wilson ( )

Definition at line 83 of file fopr_Wilson.cpp.

Member Function Documentation

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

Definition at line 118 of file fopr_Wilson.cpp.

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

this function is assumed to be exclusively used from domain-wall fermions.

Definition at line 150 of file fopr_Wilson.cpp.

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

Definition at line 122 of file fopr_Wilson.cpp.

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

Definition at line 126 of file fopr_Wilson.cpp.

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

Definition at line 130 of file fopr_Wilson.cpp.

int Fopr_Wilson::field_nex ( )
inlinevirtual

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

Implements Fopr.

Definition at line 134 of file fopr_Wilson.h.

int Fopr_Wilson::field_nin ( )
inlinevirtual

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

Implements Fopr.

Definition at line 132 of file fopr_Wilson.h.

int Fopr_Wilson::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr.

Definition at line 130 of file fopr_Wilson.h.

double Fopr_Wilson::flop_count ( )
virtual

this returns the number of floating point number operations.

Reimplemented from Fopr.

Definition at line 164 of file fopr_Wilson.cpp.

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

Reimplemented from Fopr.

Definition at line 95 of file fopr_Wilson.cpp.

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

Definition at line 134 of file fopr_Wilson.cpp.

const Field Fopr_Wilson::mult ( const Field )
inlinevirtual

multiplies fermion operator to a given field and returns the resultant field.

Implements Fopr.

Definition at line 75 of file fopr_Wilson.h.

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

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

Reimplemented from Fopr.

Definition at line 100 of file fopr_Wilson.cpp.

const Field Fopr_Wilson::mult_dag ( const Field )
inlinevirtual

hermitian conjugate of mult(const Field&).

Reimplemented from Fopr.

Definition at line 83 of file fopr_Wilson.h.

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

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

Reimplemented from Fopr.

Definition at line 104 of file fopr_Wilson.cpp.

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

Reimplemented from Fopr.

Definition at line 160 of file fopr_Wilson.cpp.

const Field Fopr_Wilson::mult_gm5 ( const Field f)
inline

Definition at line 91 of file fopr_Wilson.h.

void Fopr_Wilson::mult_gm5 ( Field w,
const Field v 
)

Definition at line 113 of file fopr_Wilson.cpp.

const Field_F Fopr_Wilson::mult_gm5p ( int  mu,
const Field_F w 
)

this function is used for derivatives in force calculation.

Definition at line 138 of file fopr_Wilson.cpp.

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

Definition at line 142 of file fopr_Wilson.cpp.

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

adding the hopping to nearest neighbor site in mu-th direction.

Reimplemented from Fopr.

Definition at line 156 of file fopr_Wilson.cpp.

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

Definition at line 108 of file fopr_Wilson.cpp.

void Fopr_Wilson::set_config ( Field )
virtual

setting pointer to the gauge configuration.

Implements Fopr.

Definition at line 87 of file fopr_Wilson.cpp.

void Fopr_Wilson::set_mode ( 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 91 of file fopr_Wilson.cpp.

void Fopr_Wilson::set_parameters ( const Parameters params)
virtual

Implements Fopr.

Definition at line 48 of file fopr_Wilson.cpp.

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

Definition at line 71 of file fopr_Wilson.cpp.

Member Data Documentation

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

Definition at line 56 of file fopr_Wilson.h.

Fopr_Wilson_impl* Fopr_Wilson::m_impl
private

Definition at line 142 of file fopr_Wilson.h.


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