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

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

#include <fopr_Wilson_Isochemical.h>

Inheritance diagram for Fopr_Wilson_Isochemical:
Fopr

Public Member Functions

 Fopr_Wilson_Isochemical ()
 
 Fopr_Wilson_Isochemical (const std::string repr)
 
 ~Fopr_Wilson_Isochemical ()
 
void set_parameters (const Parameters &params)
 
void set_parameters (const double kappa, 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 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 (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_gm5p (const int mu, Field_F &v, const Field_F &w)
 
void mult_gm5 (Field &, const Field &)
 gamma_5 multiplication. [31 Mar 2017 H.Matsufuru] More...
 
void D (Field &, const Field &)
 
void Dminmu (Field &, const Field &)
 
void Dspc (Field &, const Field &)
 
void DdagD (Field &, const Field &)
 
void Ddag (Field &, const Field &)
 
void H (Field &, const Field &)
 
void Hdag (Field &, const Field &)
 
void mult_undef (Field &, const Field &)
 
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)
 
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_Wilson_Isochemical"
 

Private Member Functions

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

Private Attributes

int m_Nvol
 
int m_Ndim
 
double m_kappa
 hopping parameter More...
 
double m_mu
 isospin chemical potential More...
 
std::vector< int > m_boundary
 
std::string m_mode
 
Fopr_Wilsonm_fopr_w
 
double m_exp_mu
 exp(mu) More...
 
std::string m_repr
 
void(Fopr_Wilson_Isochemical::* m_mult )(Field &, const Field &)
 
void(Fopr_Wilson_Isochemical::* m_mult_dag )(Field &, const Field &)
 
void(Fopr_Wilson_Isochemical::* m_D )(Field &, const Field &)
 
void(Fopr_Wilson_Isochemical::* m_gm5 )(Field &, const Field &)
 
const Field_Gm_U
 
Field m_vt
 working field. More...
 
Field m_w2
 working field. More...
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

Wilson fermion operator with isospin chemical potential.

22 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 33 of file fopr_Wilson_Isochemical.h.

Constructor & Destructor Documentation

Fopr_Wilson_Isochemical::Fopr_Wilson_Isochemical ( )
inline

Definition at line 61 of file fopr_Wilson_Isochemical.h.

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

Definition at line 66 of file fopr_Wilson_Isochemical.h.

Fopr_Wilson_Isochemical::~Fopr_Wilson_Isochemical ( )
inline

Definition at line 71 of file fopr_Wilson_Isochemical.h.

Member Function Documentation

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

Definition at line 108 of file fopr_Wilson_Isochemical.cpp.

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

Definition at line 202 of file fopr_Wilson_Isochemical.cpp.

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

Definition at line 192 of file fopr_Wilson_Isochemical.cpp.

void Fopr_Wilson_Isochemical::Dminmu ( Field w,
const Field f 
)

Definition at line 131 of file fopr_Wilson_Isochemical.cpp.

void Fopr_Wilson_Isochemical::Dspc ( Field w,
const Field f 
)

Definition at line 154 of file fopr_Wilson_Isochemical.cpp.

int Fopr_Wilson_Isochemical::field_nex ( )
inlinevirtual

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

Implements Fopr.

Definition at line 161 of file fopr_Wilson_Isochemical.h.

int Fopr_Wilson_Isochemical::field_nin ( )
inlinevirtual

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

Implements Fopr.

Definition at line 160 of file fopr_Wilson_Isochemical.h.

int Fopr_Wilson_Isochemical::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr.

Definition at line 159 of file fopr_Wilson_Isochemical.h.

double Fopr_Wilson_Isochemical::flop_count ( )
virtual

this returns the number of floating point operations.

Reimplemented from Fopr.

Definition at line 227 of file fopr_Wilson_Isochemical.cpp.

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

only for Fopr_Overlap

Reimplemented from Fopr.

Definition at line 126 of file fopr_Wilson_Isochemical.h.

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

Definition at line 211 of file fopr_Wilson_Isochemical.cpp.

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

Definition at line 219 of file fopr_Wilson_Isochemical.cpp.

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

Definition at line 81 of file fopr_Wilson_Isochemical.cpp.

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

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

Implements Fopr.

Definition at line 94 of file fopr_Wilson_Isochemical.h.

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

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

Reimplemented from Fopr.

Definition at line 99 of file fopr_Wilson_Isochemical.h.

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

Reimplemented from Fopr.

Definition at line 154 of file fopr_Wilson_Isochemical.h.

void Fopr_Wilson_Isochemical::mult_gm5 ( Field ,
const Field  
)
virtual

gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]

Reimplemented from Fopr.

Definition at line 175 of file fopr_Wilson_Isochemical.cpp.

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

Definition at line 182 of file fopr_Wilson_Isochemical.cpp.

void Fopr_Wilson_Isochemical::mult_undef ( Field ,
const Field  
)
inline

Definition at line 143 of file fopr_Wilson_Isochemical.h.

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

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

Reimplemented from Fopr.

Definition at line 149 of file fopr_Wilson_Isochemical.h.

void Fopr_Wilson_Isochemical::set_config ( Field )
inlinevirtual

setting pointer to the gauge configuration.

Implements Fopr.

Definition at line 82 of file fopr_Wilson_Isochemical.h.

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

Implements Fopr.

Definition at line 88 of file fopr_Wilson_Isochemical.h.

void Fopr_Wilson_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 104 of file fopr_Wilson_Isochemical.h.

void Fopr_Wilson_Isochemical::set_parameters ( const Parameters params)
virtual

Implements Fopr.

Definition at line 25 of file fopr_Wilson_Isochemical.cpp.

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

Definition at line 51 of file fopr_Wilson_Isochemical.cpp.

void Fopr_Wilson_Isochemical::tidyup ( )
private

Definition at line 101 of file fopr_Wilson_Isochemical.cpp.

Member Data Documentation

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

Definition at line 36 of file fopr_Wilson_Isochemical.h.

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

Definition at line 42 of file fopr_Wilson_Isochemical.h.

void(Fopr_Wilson_Isochemical::* Fopr_Wilson_Isochemical::m_D)(Field &, const Field &)
private

Definition at line 51 of file fopr_Wilson_Isochemical.h.

double Fopr_Wilson_Isochemical::m_exp_mu
private

exp(mu)

Definition at line 46 of file fopr_Wilson_Isochemical.h.

Fopr_Wilson* Fopr_Wilson_Isochemical::m_fopr_w
private

Definition at line 44 of file fopr_Wilson_Isochemical.h.

void(Fopr_Wilson_Isochemical::* Fopr_Wilson_Isochemical::m_gm5)(Field &, const Field &)
private

Definition at line 52 of file fopr_Wilson_Isochemical.h.

double Fopr_Wilson_Isochemical::m_kappa
private

hopping parameter

Definition at line 40 of file fopr_Wilson_Isochemical.h.

std::string Fopr_Wilson_Isochemical::m_mode
private

Definition at line 43 of file fopr_Wilson_Isochemical.h.

double Fopr_Wilson_Isochemical::m_mu
private

isospin chemical potential

Definition at line 41 of file fopr_Wilson_Isochemical.h.

void(Fopr_Wilson_Isochemical::* Fopr_Wilson_Isochemical::m_mult)(Field &, const Field &)
private

Definition at line 49 of file fopr_Wilson_Isochemical.h.

void(Fopr_Wilson_Isochemical::* Fopr_Wilson_Isochemical::m_mult_dag)(Field &, const Field &)
private

Definition at line 50 of file fopr_Wilson_Isochemical.h.

int Fopr_Wilson_Isochemical::m_Ndim
private

Definition at line 39 of file fopr_Wilson_Isochemical.h.

int Fopr_Wilson_Isochemical::m_Nvol
private

Definition at line 39 of file fopr_Wilson_Isochemical.h.

std::string Fopr_Wilson_Isochemical::m_repr
private

Definition at line 48 of file fopr_Wilson_Isochemical.h.

const Field_G* Fopr_Wilson_Isochemical::m_U
private

Definition at line 54 of file fopr_Wilson_Isochemical.h.

Field Fopr_Wilson_Isochemical::m_vt
private

working field.

Definition at line 56 of file fopr_Wilson_Isochemical.h.

Field Fopr_Wilson_Isochemical::m_w2
private

working field.

Definition at line 57 of file fopr_Wilson_Isochemical.h.


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