Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Fopr_Clover_Isochemical Class Reference

Clover fermion operator with isospin chemical potential. More...

#include <fopr_Clover_Isochemical.h>

Inheritance diagram for Fopr_Clover_Isochemical:
Fopr

Public Member Functions

 Fopr_Clover_Isochemical ()
 
 Fopr_Clover_Isochemical (const std::string repr)
 
 ~Fopr_Clover_Isochemical ()
 
void set_parameters (const Parameters &params)
 
void set_parameters (const double kappa, const double cSW, const double mu, const std::vector< int > bc)
 
void set_config (Field *U)
 setting pointer to the gauge configuration. More...
 
void set_config (unique_ptr< Field_G > &U)
 
void set_mode (const 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
 only for Fopr_Overlap 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 DdagD (Field &, const Field &)
 
void D (Field &, const Field &)
 
void Ddag (Field &, const Field &)
 
void H (Field &, const Field &)
 
void Hdag (Field &, const Field &)
 
void mult_gm5 (Field &v, const Field &w)
 gamma_5 multiplication. [31 Mar 2017 H.Matsufuru] More...
 
void mult_up (const int mu, Field &v, const Field &w)
 nearest neighbor hopping term: temporary entry [H.Matsufuru] More...
 
void mult_dn (const int mu, Field &v, const Field &w)
 
void mult_isigma (Field_F &, const Field_F &, const int mu, const int nu)
 
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. More...
 
- Public Member Functions inherited from Fopr
 Fopr ()
 
virtual ~Fopr ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 
virtual void mult (Field &, const Field &, const std::string mode)
 execute mult with specified mode (unchanging internal mode). [23 May 2016 H.Matsufuru]. More...
 
virtual void mult_dag (Field &, const Field &, const std::string mode)
 execute mult_dag with specified mode (unchanging internal mode). [23 May 2016 H.Matsufuru]. More...
 
virtual double flop_count (const std::string mode)
 returns the flop in giga unit for a specified mode. [23 May 2016 H.Matsufuru] More...
 

Static Public Attributes

static const std::string class_name = "Fopr_Clover_Isochemical"
 

Private Member Functions

void init (const std::string repr)
 
void tidyup ()
 

Private Attributes

double m_kappa
 hopping parameter More...
 
double m_cSW
 clover coefficient More...
 
double m_mu
 isospin chemical potential More...
 
std::vector< int > m_boundary
 boundary conditions More...
 
std::string m_repr
 gamma matrix representation More...
 
std::string m_mode
 mode of multiplication More...
 
int m_Nvol
 
int m_Ndim
 
int m_Nc
 
int m_Nd
 
int m_NinF
 internal parameters More...
 
Fopr_Wilson_Isochemicalm_fopr_w
 Wilson fermion kernel. More...
 
Fopr_CloverTermm_fopr_csw
 Clover term operator. More...
 
const Field_Gm_U
 gauge configuration (pointer) More...
 
Field m_w1
 working field. More...
 
Field m_w2
 working field. More...
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

Clover fermion operator with isospin chemical potential.

This class implements the clover (improved Wilson) fermion operator with isospin chemical potential. 29 Aug 2012 H.Matsufuru YAML is implemented. [14 Nov 2012 Y.Namekawa] Multi-threaded. [12 Sep 2014 H.Matsufuru] unique_ptr is introduced to avoid memory leaks [21 Mar 2015 Y.Namekawa]

Definition at line 36 of file fopr_Clover_Isochemical.h.

Constructor & Destructor Documentation

Fopr_Clover_Isochemical::Fopr_Clover_Isochemical ( )
inline

Definition at line 60 of file fopr_Clover_Isochemical.h.

Fopr_Clover_Isochemical::Fopr_Clover_Isochemical ( const std::string  repr)
inline

Definition at line 66 of file fopr_Clover_Isochemical.h.

Fopr_Clover_Isochemical::~Fopr_Clover_Isochemical ( )
inline

Definition at line 72 of file fopr_Clover_Isochemical.h.

Member Function Documentation

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

Definition at line 124 of file fopr_Clover_Isochemical.cpp.

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

Definition at line 137 of file fopr_Clover_Isochemical.cpp.

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

Definition at line 150 of file fopr_Clover_Isochemical.cpp.

int Fopr_Clover_Isochemical::field_nex ( )
inlinevirtual

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

Implements Fopr.

Definition at line 155 of file fopr_Clover_Isochemical.h.

int Fopr_Clover_Isochemical::field_nin ( )
inlinevirtual

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

Implements Fopr.

Definition at line 154 of file fopr_Clover_Isochemical.h.

int Fopr_Clover_Isochemical::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr.

Definition at line 153 of file fopr_Clover_Isochemical.h.

double Fopr_Clover_Isochemical::flop_count ( )
virtual

this returns the number of floating point operations.

Reimplemented from Fopr.

Definition at line 188 of file fopr_Clover_Isochemical.cpp.

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

only for Fopr_Overlap

Reimplemented from Fopr.

Definition at line 92 of file fopr_Clover_Isochemical.h.

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

Definition at line 160 of file fopr_Clover_Isochemical.cpp.

void Fopr_Clover_Isochemical::Hdag ( Field w,
const Field f 
)

Definition at line 170 of file fopr_Clover_Isochemical.cpp.

void Fopr_Clover_Isochemical::init ( const std::string  repr)
private

Definition at line 83 of file fopr_Clover_Isochemical.cpp.

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

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

Implements Fopr.

Definition at line 97 of file fopr_Clover_Isochemical.h.

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

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

Reimplemented from Fopr.

Definition at line 113 of file fopr_Clover_Isochemical.h.

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

Reimplemented from Fopr.

Definition at line 145 of file fopr_Clover_Isochemical.h.

void Fopr_Clover_Isochemical::mult_gm5 ( Field ,
const Field  
)
inlinevirtual

gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]

Reimplemented from Fopr.

Definition at line 135 of file fopr_Clover_Isochemical.h.

void Fopr_Clover_Isochemical::mult_isigma ( Field_F v,
const Field_F w,
const int  mu,
const int  nu 
)

Definition at line 180 of file fopr_Clover_Isochemical.cpp.

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

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

Reimplemented from Fopr.

Definition at line 140 of file fopr_Clover_Isochemical.h.

void Fopr_Clover_Isochemical::set_config ( Field )
virtual

setting pointer to the gauge configuration.

Implements Fopr.

Definition at line 114 of file fopr_Clover_Isochemical.cpp.

void Fopr_Clover_Isochemical::set_config ( unique_ptr< Field_G > &  U)
inlinevirtual

Implements Fopr.

Definition at line 82 of file fopr_Clover_Isochemical.h.

void Fopr_Clover_Isochemical::set_mode ( const 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 87 of file fopr_Clover_Isochemical.h.

void Fopr_Clover_Isochemical::set_parameters ( const Parameters params)
virtual

Implements Fopr.

Definition at line 25 of file fopr_Clover_Isochemical.cpp.

void Fopr_Clover_Isochemical::set_parameters ( const double  kappa,
const double  cSW,
const double  mu,
const std::vector< int >  bc 
)

Definition at line 52 of file fopr_Clover_Isochemical.cpp.

void Fopr_Clover_Isochemical::tidyup ( )
private

Definition at line 106 of file fopr_Clover_Isochemical.cpp.

Member Data Documentation

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

Definition at line 39 of file fopr_Clover_Isochemical.h.

std::vector<int> Fopr_Clover_Isochemical::m_boundary
private

boundary conditions

Definition at line 45 of file fopr_Clover_Isochemical.h.

double Fopr_Clover_Isochemical::m_cSW
private

clover coefficient

Definition at line 43 of file fopr_Clover_Isochemical.h.

Fopr_CloverTerm* Fopr_Clover_Isochemical::m_fopr_csw
private

Clover term operator.

Definition at line 52 of file fopr_Clover_Isochemical.h.

Fopr_Wilson_Isochemical* Fopr_Clover_Isochemical::m_fopr_w
private

Wilson fermion kernel.

Definition at line 51 of file fopr_Clover_Isochemical.h.

double Fopr_Clover_Isochemical::m_kappa
private

hopping parameter

Definition at line 42 of file fopr_Clover_Isochemical.h.

std::string Fopr_Clover_Isochemical::m_mode
private

mode of multiplication

Definition at line 47 of file fopr_Clover_Isochemical.h.

double Fopr_Clover_Isochemical::m_mu
private

isospin chemical potential

Definition at line 44 of file fopr_Clover_Isochemical.h.

int Fopr_Clover_Isochemical::m_Nc
private

Definition at line 49 of file fopr_Clover_Isochemical.h.

int Fopr_Clover_Isochemical::m_Nd
private

Definition at line 49 of file fopr_Clover_Isochemical.h.

int Fopr_Clover_Isochemical::m_Ndim
private

Definition at line 49 of file fopr_Clover_Isochemical.h.

int Fopr_Clover_Isochemical::m_NinF
private

internal parameters

Definition at line 49 of file fopr_Clover_Isochemical.h.

int Fopr_Clover_Isochemical::m_Nvol
private

Definition at line 49 of file fopr_Clover_Isochemical.h.

std::string Fopr_Clover_Isochemical::m_repr
private

gamma matrix representation

Definition at line 46 of file fopr_Clover_Isochemical.h.

const Field_G* Fopr_Clover_Isochemical::m_U
private

gauge configuration (pointer)

Definition at line 54 of file fopr_Clover_Isochemical.h.

Field Fopr_Clover_Isochemical::m_w1
private

working field.

Definition at line 56 of file fopr_Clover_Isochemical.h.

Field Fopr_Clover_Isochemical::m_w2
private

working field.

Definition at line 57 of file fopr_Clover_Isochemical.h.


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