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

Domain-wall fermion operator. More...

#include <fopr_Domainwall.h>

Inheritance diagram for Fopr_Domainwall:
Fopr

Public Member Functions

 Fopr_Domainwall (Fopr_Wilson *fopr_w)
 
void set_parameters (const Parameters &params)
 
void set_parameters (const double mq, const double M0, const int Ns, 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
 
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...
 
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 DdagD (const Field &)
 
const Field D (const Field &)
 
const Field Ddag (const Field &)
 
const Field H (const Field &)
 
const Field mult_gm5R (const Field &)
 
const Field mult_chproj_4d (const Field &, int ipm)
 
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...
 
- Public Member Functions inherited from Fopr
 Fopr ()
 
virtual ~Fopr ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 
virtual void mult_up (int mu, Field &, const Field &)
 nearest neighbor hopping term: temporary entry [H.Matsufuru] More...
 
virtual void mult_dn (int mu, Field &, const Field &)
 

Private Attributes

double m_mq
 
double m_M0
 
int m_Ns
 
std::valarray< int > m_boundary
 
std::string m_mode
 
Fopr_Wilsonm_fopr_w
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

Domain-wall fermion operator.

This class implements domain-wall fermion operator. At present, only the standard domain-wall fermion is ready. 24 Dec 2011 H.Matsufuru YAML is implemented. [14 Nov 2012 Y.Namekawa]

Definition at line 44 of file fopr_Domainwall.h.

Constructor & Destructor Documentation

Fopr_Domainwall::Fopr_Domainwall ( Fopr_Wilson fopr_w)
inline

Definition at line 59 of file fopr_Domainwall.h.

Member Function Documentation

const Field Fopr_Domainwall::D ( const Field w)

Definition at line 189 of file fopr_Domainwall.cpp.

const Field Fopr_Domainwall::Ddag ( const Field w)

Definition at line 150 of file fopr_Domainwall.cpp.

const Field Fopr_Domainwall::DdagD ( const Field w)

Definition at line 123 of file fopr_Domainwall.cpp.

int Fopr_Domainwall::field_nex ( )
inlinevirtual

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

Implements Fopr.

Definition at line 136 of file fopr_Domainwall.h.

int Fopr_Domainwall::field_nin ( )
inlinevirtual

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

Implements Fopr.

Definition at line 135 of file fopr_Domainwall.h.

int Fopr_Domainwall::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr.

Definition at line 134 of file fopr_Domainwall.h.

std::string Fopr_Domainwall::get_mode ( ) const
inlinevirtual

Reimplemented from Fopr.

Definition at line 76 of file fopr_Domainwall.h.

const Field Fopr_Domainwall::H ( const Field w)

Definition at line 157 of file fopr_Domainwall.cpp.

void Fopr_Domainwall::mult ( Field ,
const Field  
)
inlinevirtual

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

Reimplemented from Fopr.

Definition at line 81 of file fopr_Domainwall.h.

const Field Fopr_Domainwall::mult ( const Field )
inlinevirtual

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

Implements Fopr.

Definition at line 91 of file fopr_Domainwall.h.

const Field Fopr_Domainwall::mult_chproj_4d ( const Field w,
int  ipm 
)

chiral projection of 4D field. ipm = 1: positive - (1+gm5)/2 multiplied -1: negative - (1-gm5)/2

Definition at line 130 of file fopr_Domainwall.cpp.

void Fopr_Domainwall::mult_dag ( Field ,
const Field  
)
inlinevirtual

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

Reimplemented from Fopr.

Definition at line 86 of file fopr_Domainwall.h.

const Field Fopr_Domainwall::mult_dag ( const Field )
inlinevirtual

hermitian conjugate of mult(const Field&).

Reimplemented from Fopr.

Definition at line 107 of file fopr_Domainwall.h.

const Field Fopr_Domainwall::mult_gm5R ( const Field w)

Definition at line 164 of file fopr_Domainwall.cpp.

void Fopr_Domainwall::set_config ( Field )
inlinevirtual

setting pointer to the gauge configuration.

Implements Fopr.

Definition at line 66 of file fopr_Domainwall.h.

void Fopr_Domainwall::set_mode ( std::string  mode)
inlinevirtual

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

Reimplemented from Fopr.

Definition at line 71 of file fopr_Domainwall.h.

void Fopr_Domainwall::set_parameters ( const Parameters params)
virtual

Implements Fopr.

Definition at line 48 of file fopr_Domainwall.cpp.

void Fopr_Domainwall::set_parameters ( const double  mq,
const double  M0,
const int  Ns,
const std::valarray< int >  bc 
)

Member Data Documentation

std::valarray<int> Fopr_Domainwall::m_boundary
private

Definition at line 51 of file fopr_Domainwall.h.

Fopr_Wilson* Fopr_Domainwall::m_fopr_w
private

Definition at line 55 of file fopr_Domainwall.h.

double Fopr_Domainwall::m_M0
private

Definition at line 49 of file fopr_Domainwall.h.

std::string Fopr_Domainwall::m_mode
private

Definition at line 53 of file fopr_Domainwall.h.

double Fopr_Domainwall::m_mq
private

Definition at line 48 of file fopr_Domainwall.h.

int Fopr_Domainwall::m_Ns
private

Definition at line 50 of file fopr_Domainwall.h.


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