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

Wilson fermion operator with SF BC. More...

#include <fopr_Wilson_SF.h>

Inheritance diagram for Fopr_Wilson_SF:
Fopr

Public Member Functions

 Fopr_Wilson_SF ()
 
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...
 
 ~Fopr_Wilson_SF ()
 
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...
 
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 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_F DdagD (const Field_F &)
 
const Field_F D (const Field_F &)
 
const Field_F Ddag (const Field_F &)
 
const Field_F H (const Field_F &)
 
const Field mult_gm5 (const Field &w)
 
void DdagD (Field &, const Field &)
 
void D (Field &, const Field &)
 
void Ddag (Field &, const Field &)
 
void H (Field &, const Field &)
 
void mult_gm5 (Field &v, const Field &w)
 
const Field_F mult_gm5p (int mu, const Field_F &w)
 
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 &)
 
virtual double flop_count ()
 returns the flops per site. More...
 

Static Public Attributes

static const std::string class_name = "Fopr_Wilson_SF"
 

Private Attributes

int m_Nvol
 
int m_Ndim
 
int m_Nc
 
int m_Nd
 
int m_NinF
 
double m_kappa
 
std::valarray< int > m_boundary
 
std::string m_mode
 
Fopr_Wilsonm_fopr_w
 
const Field_Gm_U
 
Field_F_SF set_zero
 In order to set the boundary field to zero. More...
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

Wilson fermion operator with SF BC.

This class implements the Wilson fermion operator with the SF BC.

  • The SF BC for the fermion field is:
    • The fermion field at t=0 is always set to zero (Dirichlet BC).
    • The field at t=1,...,Lt-1 is active.
  • Implemented by delegation of the Fopr_Wilson class like Fopr_Clover.
  • The modification is only in Fopr_Wilson_SF::D to set the boundary fermion field to zero before and after multiplication of the standard Wilson Dirac operator.
    • By this manipulation the SF BC is introduced in the fermion field.
  • A private function set_boundary_zero(Field&) is introduced for this bounadry manipulation.
  • A few private members are added for this function.
  • [04 Apr 2012 Y.Taniguchi]

(Coding history will be recovered from trac.) YAML is implemented. [14 Nov 2012 Y.Namekawa]

Definition at line 58 of file fopr_Wilson_SF.h.

Constructor & Destructor Documentation

Fopr_Wilson_SF::Fopr_Wilson_SF ( )
inline

Definition at line 89 of file fopr_Wilson_SF.h.

Fopr_Wilson_SF::~Fopr_Wilson_SF ( )
inline

Definition at line 118 of file fopr_Wilson_SF.h.

Member Function Documentation

const Field_F Fopr_Wilson_SF::D ( const Field_F f)

Definition at line 173 of file fopr_Wilson_SF.cpp.

void Fopr_Wilson_SF::D ( Field w,
const Field f 
)

Definition at line 130 of file fopr_Wilson_SF.cpp.

const Field_F Fopr_Wilson_SF::Ddag ( const Field_F f)

Definition at line 150 of file fopr_Wilson_SF.cpp.

void Fopr_Wilson_SF::Ddag ( Field w,
const Field f 
)

Definition at line 109 of file fopr_Wilson_SF.cpp.

const Field_F Fopr_Wilson_SF::DdagD ( const Field_F f)

Definition at line 141 of file fopr_Wilson_SF.cpp.

void Fopr_Wilson_SF::DdagD ( Field w,
const Field f 
)

Definition at line 97 of file fopr_Wilson_SF.cpp.

int Fopr_Wilson_SF::field_nex ( )
inlinevirtual

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

Implements Fopr.

Definition at line 209 of file fopr_Wilson_SF.h.

int Fopr_Wilson_SF::field_nin ( )
inlinevirtual

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

Implements Fopr.

Definition at line 204 of file fopr_Wilson_SF.h.

int Fopr_Wilson_SF::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr.

Definition at line 203 of file fopr_Wilson_SF.h.

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

Reimplemented from Fopr.

Definition at line 176 of file fopr_Wilson_SF.h.

const Field_F Fopr_Wilson_SF::H ( const Field_F f)

Definition at line 162 of file fopr_Wilson_SF.cpp.

void Fopr_Wilson_SF::H ( Field w,
const Field f 
)

Definition at line 120 of file fopr_Wilson_SF.cpp.

const Field Fopr_Wilson_SF::mult ( const Field )
inlinevirtual

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

Implements Fopr.

Definition at line 123 of file fopr_Wilson_SF.h.

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

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

Reimplemented from Fopr.

Definition at line 139 of file fopr_Wilson_SF.h.

const Field Fopr_Wilson_SF::mult_dag ( const Field )
inlinevirtual

hermitian conjugate of mult(const Field&).

Reimplemented from Fopr.

Definition at line 131 of file fopr_Wilson_SF.h.

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

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

Reimplemented from Fopr.

Definition at line 155 of file fopr_Wilson_SF.h.

const Field Fopr_Wilson_SF::mult_gm5 ( const Field w)
inline

Definition at line 186 of file fopr_Wilson_SF.h.

void Fopr_Wilson_SF::mult_gm5 ( Field v,
const Field w 
)
inline

Definition at line 196 of file fopr_Wilson_SF.h.

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

Definition at line 193 of file fopr_Wilson_SF.cpp.

void Fopr_Wilson_SF::set_config ( Field )
inlinevirtual

setting pointer to the gauge configuration.

Implements Fopr.

Definition at line 112 of file fopr_Wilson_SF.h.

void Fopr_Wilson_SF::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 171 of file fopr_Wilson_SF.h.

void Fopr_Wilson_SF::set_parameters ( const Parameters params)
virtual

Implements Fopr.

Definition at line 46 of file fopr_Wilson_SF.cpp.

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

Definition at line 70 of file fopr_Wilson_SF.cpp.

Member Data Documentation

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

Definition at line 61 of file fopr_Wilson_SF.h.

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

Definition at line 66 of file fopr_Wilson_SF.h.

Fopr_Wilson* Fopr_Wilson_SF::m_fopr_w
private

Definition at line 69 of file fopr_Wilson_SF.h.

double Fopr_Wilson_SF::m_kappa
private

Definition at line 65 of file fopr_Wilson_SF.h.

std::string Fopr_Wilson_SF::m_mode
private

Definition at line 67 of file fopr_Wilson_SF.h.

int Fopr_Wilson_SF::m_Nc
private

Definition at line 64 of file fopr_Wilson_SF.h.

int Fopr_Wilson_SF::m_Nd
private

Definition at line 64 of file fopr_Wilson_SF.h.

int Fopr_Wilson_SF::m_Ndim
private

Definition at line 64 of file fopr_Wilson_SF.h.

int Fopr_Wilson_SF::m_NinF
private

Definition at line 64 of file fopr_Wilson_SF.h.

int Fopr_Wilson_SF::m_Nvol
private

Definition at line 64 of file fopr_Wilson_SF.h.

const Field_G* Fopr_Wilson_SF::m_U
private

Definition at line 70 of file fopr_Wilson_SF.h.

Field_F_SF Fopr_Wilson_SF::set_zero
private

In order to set the boundary field to zero.

Definition at line 85 of file fopr_Wilson_SF.h.


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