Bridge++
Ver. 2.0.2
|
Clover fermion operator with chemical potential. More...
#include <afopr_Clover_Chemical.h>
Public Types | |
typedef AFIELD::real_t | real_t |
Public Member Functions | |
DEPRECATED | AFopr_Clover_Chemical () |
DEPRECATED | AFopr_Clover_Chemical (const std::string repr) |
AFopr_Clover_Chemical (const Parameters ¶ms) | |
~AFopr_Clover_Chemical () | |
void | set_parameters (const Parameters ¶ms) |
sets parameters by a Parameter object: to be implemented in a subclass. More... | |
void | get_parameters (Parameters ¶ms) const |
gets parameters by a Parameter object: to be implemented in a subclass. More... | |
void | set_config (Field *U) |
sets the gauge configuration. 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... | |
void | mult (AFIELD &v, const AFIELD &w) |
multiplies fermion operator to a given field. More... | |
void | mult_dag (AFIELD &v, const AFIELD &w) |
hermitian conjugate of mult. More... | |
std::string | get_mode () const |
returns the current mult mode. More... | |
void | mult_gm5p (const int mu, AFIELD &v, const AFIELD &w) |
void | mult_gm5 (AFIELD &, const AFIELD &) |
multiplies gamma_5 matrix. More... | |
void | D (AFIELD &, const AFIELD &) |
void | Dminmu (AFIELD &, const AFIELD &) |
void | DdagD (AFIELD &, const AFIELD &) |
void | Ddag (AFIELD &, const AFIELD &) |
void | H (AFIELD &, const AFIELD &) |
void | Hdag (AFIELD &, const AFIELD &) |
void | mult_up (const int mu, AFIELD &v, const AFIELD &w) |
upward nearest neighbor hopping term. More... | |
void | mult_dn (const int mu, AFIELD &v, const AFIELD &w) |
downward nearest neighbor hopping term. More... | |
virtual bool | needs_convert () |
returns true if additional field conversion is needed. More... | |
virtual void | convert (AFIELD &v, const Field &w) |
converts a Field object into other format if necessary. More... | |
virtual void | reverse (Field &v, const AFIELD &w) |
reverses to a Field object from other format if necessary. More... | |
int | field_nin () |
returns the on-site degree of freedom of the fermion field. More... | |
int | field_nvol () |
returns the volume of the fermion field. More... | |
int | field_nex () |
returns the external degree of freedom of the fermion field. More... | |
double | flop_count () |
this returns the number of floating point operations. More... | |
Public Member Functions inherited from AFopr< AFIELD > | |
AFopr () | |
virtual | ~AFopr () |
virtual void | mult (AFIELD &, const AFIELD &, const std::string mode) |
executes mult with specified mode (unchanging internal mode). More... | |
virtual void | mult_dag (AFIELD &, const AFIELD &, const std::string mode) |
executes mult_dag with specified mode (unchanging internal mode). More... | |
virtual void | normalize_fprop (AFIELD &) |
normalize propagator if necessary (default: do nothing) More... | |
virtual void | normalize_fopr (AFIELD &) |
normalize propagator if necessary (default: do nothing) More... | |
virtual double | flop_count (const std::string mode) |
returns the flops per site for specified mode. More... | |
Static Public Attributes | |
static const std::string | class_name = "AFopr_Clover_Chemical<AFIELD>" |
Private Member Functions | |
void | init (const std::string repr) |
void | init (const Parameters ¶ms) |
void | tidyup () |
void | set_parameters_impl (const real_t kappa, const real_t cSW, const real_t mu, const std::vector< int > bc) |
sets parameters given as values: private for composite operator. More... | |
Private Attributes | |
real_t | m_kappa |
hopping parameter More... | |
real_t | m_cSW |
clover coefficient More... | |
real_t | m_mu |
isospin chemical potential More... | |
std::vector< int > | m_boundary |
boundary conditions More... | |
Bridge::VerboseLevel | m_vl |
verbose level More... | |
std::string | m_repr |
gamma-matrix representation More... | |
std::string | m_kernel_type |
kernel type More... | |
std::string | m_mode |
int | m_Nvol |
int | m_Ndim |
int | m_Nc |
int | m_Nd |
int | m_NinF |
real_t | m_exp_mu |
exp(mu) More... | |
AFopr< AFIELD > * | m_fopr_w |
AFopr< AFIELD > * | m_fopr_csw |
const Field_G * | m_U |
AFIELD | m_v1 |
AFIELD | m_v2 |
working field. More... | |
bool | m_is_initial_step |
to avoid redundant setup More... | |
Additional Inherited Members | |
Static Protected Attributes inherited from AFopr< AFIELD > | |
static const std::string | class_name |
Clover fermion operator with chemical potential.
This class implements the Clover fermion operator at finite chemical potential. Former Fopr_Clover_Isochemical class was converted to a template class and renamed. The first version was implemented by H.M. [22 Aug 2012] and has been improved by Y.Namekawa and H.M. [27 Feb 2022 H.Matsufuru]
Definition at line 35 of file afopr_Clover_Chemical.h.
typedef AFIELD::real_t AFopr_Clover_Chemical< AFIELD >::real_t |
Definition at line 39 of file afopr_Clover_Chemical.h.
|
inline |
Definition at line 70 of file afopr_Clover_Chemical.h.
|
inline |
Definition at line 73 of file afopr_Clover_Chemical.h.
|
inline |
Definition at line 75 of file afopr_Clover_Chemical.h.
|
inline |
Definition at line 77 of file afopr_Clover_Chemical.h.
|
inlinevirtual |
converts a Field object into other format if necessary.
Reimplemented from AFopr< AFIELD >.
Definition at line 115 of file afopr_Clover_Chemical.h.
void AFopr_Clover_Chemical< AFIELD >::D | ( | AFIELD & | v, |
const AFIELD & | w | ||
) |
Definition at line 302 of file afopr_Clover_Chemical-tmpl.h.
void AFopr_Clover_Chemical< AFIELD >::Ddag | ( | AFIELD & | v, |
const AFIELD & | w | ||
) |
Definition at line 378 of file afopr_Clover_Chemical-tmpl.h.
void AFopr_Clover_Chemical< AFIELD >::DdagD | ( | AFIELD & | v, |
const AFIELD & | w | ||
) |
Definition at line 367 of file afopr_Clover_Chemical-tmpl.h.
void AFopr_Clover_Chemical< AFIELD >::Dminmu | ( | AFIELD & | v, |
const AFIELD & | w | ||
) |
Definition at line 324 of file afopr_Clover_Chemical-tmpl.h.
|
inlinevirtual |
returns the external degree of freedom of the fermion field.
Implements AFopr< AFIELD >.
Definition at line 124 of file afopr_Clover_Chemical.h.
|
inlinevirtual |
returns the on-site degree of freedom of the fermion field.
Implements AFopr< AFIELD >.
Definition at line 122 of file afopr_Clover_Chemical.h.
|
inlinevirtual |
returns the volume of the fermion field.
Implements AFopr< AFIELD >.
Definition at line 123 of file afopr_Clover_Chemical.h.
|
virtual |
this returns the number of floating point operations.
Reimplemented from AFopr< AFIELD >.
Definition at line 406 of file afopr_Clover_Chemical-tmpl.h.
|
inlinevirtual |
returns the current mult mode.
Reimplemented from AFopr< AFIELD >.
Definition at line 91 of file afopr_Clover_Chemical.h.
|
virtual |
gets parameters by a Parameter object: to be implemented in a subclass.
Reimplemented from AFopr< AFIELD >.
Definition at line 217 of file afopr_Clover_Chemical-tmpl.h.
void AFopr_Clover_Chemical< AFIELD >::H | ( | AFIELD & | v, |
const AFIELD & | w | ||
) |
Definition at line 388 of file afopr_Clover_Chemical-tmpl.h.
void AFopr_Clover_Chemical< AFIELD >::Hdag | ( | AFIELD & | v, |
const AFIELD & | w | ||
) |
Definition at line 397 of file afopr_Clover_Chemical-tmpl.h.
|
private |
Definition at line 29 of file afopr_Clover_Chemical-tmpl.h.
|
private |
Definition at line 89 of file afopr_Clover_Chemical-tmpl.h.
|
virtual |
multiplies fermion operator to a given field.
Reimplemented from AFopr< AFIELD >.
Definition at line 262 of file afopr_Clover_Chemical-tmpl.h.
|
virtual |
hermitian conjugate of mult.
Reimplemented from AFopr< AFIELD >.
Definition at line 282 of file afopr_Clover_Chemical-tmpl.h.
|
inlinevirtual |
downward nearest neighbor hopping term.
Reimplemented from AFopr< AFIELD >.
Definition at line 107 of file afopr_Clover_Chemical.h.
|
virtual |
multiplies gamma_5 matrix.
Reimplemented from AFopr< AFIELD >.
Definition at line 346 of file afopr_Clover_Chemical-tmpl.h.
void AFopr_Clover_Chemical< AFIELD >::mult_gm5p | ( | const int | mu, |
AFIELD & | v, | ||
const AFIELD & | w | ||
) |
Definition at line 354 of file afopr_Clover_Chemical-tmpl.h.
|
inlinevirtual |
upward nearest neighbor hopping term.
Reimplemented from AFopr< AFIELD >.
Definition at line 104 of file afopr_Clover_Chemical.h.
|
inlinevirtual |
returns true if additional field conversion is needed.
Reimplemented from AFopr< AFIELD >.
Definition at line 111 of file afopr_Clover_Chemical.h.
|
inlinevirtual |
reverses to a Field object from other format if necessary.
Reimplemented from AFopr< AFIELD >.
Definition at line 119 of file afopr_Clover_Chemical.h.
|
virtual |
sets the gauge configuration.
Implements AFopr< AFIELD >.
Definition at line 234 of file afopr_Clover_Chemical-tmpl.h.
|
virtual |
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call.
Reimplemented from AFopr< AFIELD >.
Definition at line 248 of file afopr_Clover_Chemical-tmpl.h.
|
virtual |
sets parameters by a Parameter object: to be implemented in a subclass.
Reimplemented from AFopr< AFIELD >.
Definition at line 145 of file afopr_Clover_Chemical-tmpl.h.
|
private |
sets parameters given as values: private for composite operator.
Definition at line 184 of file afopr_Clover_Chemical-tmpl.h.
|
private |
Definition at line 137 of file afopr_Clover_Chemical-tmpl.h.
|
static |
Definition at line 38 of file afopr_Clover_Chemical.h.
|
private |
boundary conditions
Definition at line 45 of file afopr_Clover_Chemical.h.
|
private |
clover coefficient
Definition at line 43 of file afopr_Clover_Chemical.h.
|
private |
exp(mu)
Definition at line 56 of file afopr_Clover_Chemical.h.
|
private |
Definition at line 59 of file afopr_Clover_Chemical.h.
|
private |
Definition at line 58 of file afopr_Clover_Chemical.h.
|
private |
to avoid redundant setup
Definition at line 65 of file afopr_Clover_Chemical.h.
|
private |
hopping parameter
Definition at line 42 of file afopr_Clover_Chemical.h.
|
private |
kernel type
Definition at line 49 of file afopr_Clover_Chemical.h.
|
private |
Definition at line 51 of file afopr_Clover_Chemical.h.
|
private |
isospin chemical potential
Definition at line 44 of file afopr_Clover_Chemical.h.
|
private |
Definition at line 55 of file afopr_Clover_Chemical.h.
|
private |
Definition at line 55 of file afopr_Clover_Chemical.h.
|
private |
Definition at line 54 of file afopr_Clover_Chemical.h.
|
private |
Definition at line 55 of file afopr_Clover_Chemical.h.
|
private |
Definition at line 54 of file afopr_Clover_Chemical.h.
|
private |
gamma-matrix representation
Definition at line 47 of file afopr_Clover_Chemical.h.
|
private |
Definition at line 61 of file afopr_Clover_Chemical.h.
|
private |
Definition at line 63 of file afopr_Clover_Chemical.h.
|
private |
working field.
Definition at line 63 of file afopr_Clover_Chemical.h.
|
private |
verbose level
Definition at line 46 of file afopr_Clover_Chemical.h.