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

smeared fermion operator. More...

#include <fopr_Smeared.h>

Inheritance diagram for Fopr_Smeared:
Fopr

Public Member Functions

 Fopr_Smeared (Fopr *fopr, Director_Smear *dr_smear)
 constructor requires Fopr and Director_Smear objects More...
 
void set_parameters (const Parameters &)
 
void set_config (Field *U)
 set pointer to original thin link variable More...
 
void mult (Field &v, const Field &f)
 multiply smeared fermion operator More...
 
const Field mult (const Field &f)
 multiply smeared fermion operator More...
 
void mult_dag (Field &v, const Field &f)
 multiply smeared fermion operator More...
 
const Field mult_dag (const Field &f)
 multiply smeared fermion operator More...
 
void set_mode (std::string mode)
 set the mode of fermion operator More...
 
std::string get_mode () const
 
void mult_up (int mu, Field &v, const Field &w)
 nearest neighbor hopping term: temporary entry [H.Matsufuru] More...
 
void mult_dn (int mu, Field &v, const Field &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 double flop_count ()
 returns the flops per site. More...
 

Static Public Attributes

static const std::string class_name = "Fopr_Smeared"
 

Private Attributes

Foprm_fopr
 
Director_Smearm_dr_smear
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

smeared fermion operator.

This class construct a smeared fermon operator for a given base fermion operator together with smearing director. Both of them must be constructed beforehand outside this class and given to the constructor. Smearing of link configuration is triggered by call of set_config(), which calls set_config() of the smearing director and then gets the pointer to the smeared config. to set it as the config. of base fermion operator. When mult() is called, this class just call the mult() of base class. [24 Dec 2011 H.Matsufuru]

Definition at line 40 of file fopr_Smeared.h.

Constructor & Destructor Documentation

Fopr_Smeared::Fopr_Smeared ( Fopr fopr,
Director_Smear dr_smear 
)
inline

constructor requires Fopr and Director_Smear objects

Definition at line 52 of file fopr_Smeared.h.

Member Function Documentation

int Fopr_Smeared::field_nex ( )
inlinevirtual

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

Implements Fopr.

Definition at line 107 of file fopr_Smeared.h.

int Fopr_Smeared::field_nin ( )
inlinevirtual

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

Implements Fopr.

Definition at line 106 of file fopr_Smeared.h.

int Fopr_Smeared::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr.

Definition at line 105 of file fopr_Smeared.h.

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

Reimplemented from Fopr.

Definition at line 90 of file fopr_Smeared.h.

void Fopr_Smeared::mult ( Field v,
const Field f 
)
inlinevirtual

multiply smeared fermion operator

Reimplemented from Fopr.

Definition at line 61 of file fopr_Smeared.h.

const Field Fopr_Smeared::mult ( const Field f)
inlinevirtual

multiply smeared fermion operator

Implements Fopr.

Definition at line 67 of file fopr_Smeared.h.

void Fopr_Smeared::mult_dag ( Field v,
const Field f 
)
inlinevirtual

multiply smeared fermion operator

Reimplemented from Fopr.

Definition at line 73 of file fopr_Smeared.h.

const Field Fopr_Smeared::mult_dag ( const Field f)
inlinevirtual

multiply smeared fermion operator

Reimplemented from Fopr.

Definition at line 79 of file fopr_Smeared.h.

void Fopr_Smeared::mult_dn ( int  mu,
Field v,
const Field w 
)
inlinevirtual

Reimplemented from Fopr.

Definition at line 100 of file fopr_Smeared.h.

void Fopr_Smeared::mult_up ( int  mu,
Field ,
const Field  
)
inlinevirtual

nearest neighbor hopping term: temporary entry [H.Matsufuru]

Reimplemented from Fopr.

Definition at line 95 of file fopr_Smeared.h.

void Fopr_Smeared::set_config ( Field U)
virtual

set pointer to original thin link variable

Implements Fopr.

Definition at line 28 of file fopr_Smeared.cpp.

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

set the mode of fermion operator

Reimplemented from Fopr.

Definition at line 85 of file fopr_Smeared.h.

void Fopr_Smeared::set_parameters ( const Parameters params)
virtual

Implements Fopr.

Definition at line 19 of file fopr_Smeared.cpp.

Member Data Documentation

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

Definition at line 43 of file fopr_Smeared.h.

Director_Smear* Fopr_Smeared::m_dr_smear
private

Definition at line 47 of file fopr_Smeared.h.

Fopr* Fopr_Smeared::m_fopr
private

Definition at line 46 of file fopr_Smeared.h.


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