Bridge++
Version 1.5.4
|
#include <fopr_Wilson_impl.h>
Classes | |
struct | mult_arg |
Public Member Functions | |
Fopr_Wilson () | |
Fopr_Wilson (const std::string repr) | |
~Fopr_Wilson () | |
void | init (const std::string repr) |
void | tidyup () |
void | set_parameters (const Parameters ¶ms) |
void | set_parameters (const double kappa, 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 | mult_gm5 (Field &v, const Field &f) |
gamma_5 multiplication. [31 Mar 2017 H.Matsufuru] More... | |
void | D (Field &v, const Field &f) |
void | Ddag (Field &w, const Field &f) |
void | DdagD (Field &w, const Field &f) |
void | DDdag (Field &w, const Field &f) |
void | H (Field &w, const Field &f) |
void | mult_undef (Field &, const Field &f) |
void | D_ex (Field &v, const int ex1, const Field &f, const int ex2) |
const Field_F | mult_gm5p (const int mu, const Field_F &w) |
void | mult_gm5p (const int mu, Field &, const Field &) |
void | proj_chiral (Field &w, const int ex1, const Field &v, const int ex2, const int ipm) |
void | mult_up (const int mu, Field &, const Field &) |
nearest neighbor hopping term: temporary entry [H.Matsufuru] More... | |
void | mult_dn (const int mu, Field &, const Field &) |
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 () |
returns the flop in giga unit 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 = "Imp::Fopr_Wilson" |
Private Member Functions | |
Fopr_Wilson (const Fopr_Wilson &) | |
Fopr_Wilson & | operator= (const Fopr_Wilson &) |
void | D_chiral (Field &, const Field &) |
void | D_dirac (Field &, const Field &) |
void | gm5_chiral (Field &, const Field &) |
void | gm5_dirac (Field &, const Field &) |
void | D_ex_chiral (Field &, const int ex1, const Field &, const int ex2) |
void | D_ex_dirac (Field &, const int ex1, const Field &, const int ex2) |
void | mult_p (const int mu, Field_F &, const Field_F &) |
void | mult_m (const int mu, Field_F &, const Field_F &) |
void | mult_xp (Field &, const Field &) |
void | mult_xm (Field &, const Field &) |
void | mult_yp (Field &, const Field &) |
void | mult_ym (Field &, const Field &) |
void | mult_zp (Field &, const Field &) |
void | mult_zm (Field &, const Field &) |
void | mult_tp_dirac (Field &, const Field &) |
void | mult_tm_dirac (Field &, const Field &) |
void | mult_tp_chiral (Field &, const Field &) |
void | mult_tm_chiral (Field &, const Field &) |
void | daypx (Field &, const double, const Field &) |
void | clear (Field &) |
void | setup_thread () |
void | mult_xp1_thread (const int, double *, const double *) |
void | mult_xp2_thread (const int, double *, const double *) |
void | mult_xpb_thread (const int, double *, const double *) |
void | mult_xm1_thread (const int, double *, const double *) |
void | mult_xm2_thread (const int, double *, const double *) |
void | mult_xmb_thread (const int, double *, const double *) |
void | mult_yp1_thread (const int, double *, const double *) |
void | mult_yp2_thread (const int, double *, const double *) |
void | mult_ypb_thread (const int, double *, const double *) |
void | mult_ym1_thread (const int, double *, const double *) |
void | mult_ym2_thread (const int, double *, const double *) |
void | mult_ymb_thread (const int, double *, const double *) |
void | mult_zp1_thread (const int, double *, const double *) |
void | mult_zp2_thread (const int, double *, const double *) |
void | mult_zpb_thread (const int, double *, const double *) |
void | mult_zm1_thread (const int, double *, const double *) |
void | mult_zm2_thread (const int, double *, const double *) |
void | mult_zmb_thread (const int, double *, const double *) |
void | mult_tp1_dirac_thread (const int, double *, const double *) |
void | mult_tp2_dirac_thread (const int, double *, const double *) |
void | mult_tpb_dirac_thread (const int, double *, const double *) |
void | mult_tm1_dirac_thread (const int, double *, const double *) |
void | mult_tm2_dirac_thread (const int, double *, const double *) |
void | mult_tmb_dirac_thread (const int, double *, const double *) |
void | mult_tp1_chiral_thread (const int, double *, const double *) |
void | mult_tp2_chiral_thread (const int, double *, const double *) |
void | mult_tpb_chiral_thread (const int, double *, const double *) |
void | mult_tm1_chiral_thread (const int, double *, const double *) |
void | mult_tm2_chiral_thread (const int, double *, const double *) |
void | mult_tmb_chiral_thread (const int, double *, const double *) |
void | daypx_thread (const int, double *, const double, const double *) |
void | clear_thread (const int, double *) |
void | gm5_dirac_thread (const int, double *, const double *) |
void | gm5_chiral_thread (const int, double *, const double *) |
void | mult_xpu (Field &, const Field &) |
void | mult_ypu (Field &, const Field &) |
void | mult_zpu (Field &, const Field &) |
void | mult_tpu_dirac (Field &, const Field &) |
void | mult_tpu_chiral (Field &, const Field &) |
Private Attributes | |
int | m_Nc |
int | m_Nd |
int | m_Nvc |
int | m_Ndf |
int | m_Nx |
int | m_Ny |
int | m_Nz |
int | m_Nt |
int | m_Nvol |
int | m_Ndim |
double | m_kappa |
std::vector< int > | m_boundary |
boundary condition. More... | |
std::vector< double > | m_boundary_each_node |
b.c. for each node. More... | |
const Field_G * | m_U |
gauge configuration. More... | |
std::vector< GammaMatrix > | m_GM |
gamma matrices. More... | |
Bridge::VerboseLevel | m_vl |
std::string | m_mode |
std::string | m_repr |
Field | m_w1 |
Field | m_w2 |
temporary fields. More... | |
double * | vcp1_xp |
arrays for data transfer. More... | |
double * | vcp2_xp |
double * | vcp1_xm |
double * | vcp2_xm |
double * | vcp1_yp |
double * | vcp2_yp |
double * | vcp1_ym |
double * | vcp2_ym |
double * | vcp1_zp |
double * | vcp2_zp |
double * | vcp1_zm |
double * | vcp2_zm |
double * | vcp1_tp |
double * | vcp2_tp |
double * | vcp1_tm |
double * | vcp2_tm |
void(Fopr_Wilson::* | m_mult )(Field &, const Field &) |
void(Fopr_Wilson::* | m_mult_dag )(Field &, const Field &) |
void(Fopr_Wilson::* | m_D )(Field &, const Field &) |
void(Fopr_Wilson::* | m_gm5 )(Field &, const Field &) |
void(Fopr_Wilson::* | m_mult_tp )(Field &, const Field &) |
void(Fopr_Wilson::* | m_mult_tm )(Field &, const Field &) |
void(Fopr_Wilson::* | m_D_ex )(Field &, const int, const Field &, const int) |
int | m_Mz |
int | m_Mt |
int | m_Nthread |
int | m_Ntask |
int | m_Ntask_z |
int | m_Ntask_t |
std::vector< mult_arg > | m_arg |
Additional Inherited Members | |
Protected Attributes inherited from Fopr | |
Bridge::VerboseLevel | m_vl |
Definition at line 43 of file fopr_Wilson_impl.h.
|
inline |
Definition at line 76 of file fopr_Wilson_impl.h.
|
inline |
Definition at line 77 of file fopr_Wilson_impl.h.
|
inline |
Definition at line 79 of file fopr_Wilson_impl.h.
|
inlineprivate |
Definition at line 180 of file fopr_Wilson_impl.h.
|
private |
Definition at line 522 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 143 of file fopr_Wilson_impl_thread.cpp.
Definition at line 107 of file fopr_Wilson_impl.h.
Definition at line 241 of file fopr_Wilson_impl.cpp.
Definition at line 234 of file fopr_Wilson_impl.cpp.
Definition at line 149 of file fopr_Wilson_impl.h.
|
private |
Definition at line 369 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 285 of file fopr_Wilson_impl.cpp.
Definition at line 502 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 119 of file fopr_Wilson_impl_thread.cpp.
Definition at line 110 of file fopr_Wilson_impl.h.
Definition at line 117 of file fopr_Wilson_impl.h.
Definition at line 127 of file fopr_Wilson_impl.h.
|
inlinevirtual |
returns the external d.o.f. for which the fermion operator is defined.
Implements Fopr.
Definition at line 173 of file fopr_Wilson_impl.h.
|
inlinevirtual |
returns the on-site d.o.f. for which the fermion operator is defined.
Implements Fopr.
Definition at line 171 of file fopr_Wilson_impl.h.
|
inlinevirtual |
returns the volume for which the fermion operator is defined.
Implements Fopr.
Definition at line 169 of file fopr_Wilson_impl.h.
|
virtual |
returns the flop in giga unit
Reimplemented from Fopr.
Definition at line 958 of file fopr_Wilson_impl.cpp.
|
virtual |
Definition at line 559 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 1996 of file fopr_Wilson_impl_thread.cpp.
Definition at line 540 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 1962 of file fopr_Wilson_impl_thread.cpp.
Definition at line 137 of file fopr_Wilson_impl.h.
void Imp::Fopr_Wilson::init | ( | const std::string | repr | ) |
Definition at line 36 of file fopr_Wilson_impl.cpp.
multiplies fermion operator to a given field (2nd argument)
Implements Fopr.
Definition at line 98 of file fopr_Wilson_impl.h.
hermitian conjugate of mult(Field&, const Field&).
Reimplemented from Fopr.
Definition at line 101 of file fopr_Wilson_impl.h.
Reimplemented from Fopr.
Definition at line 267 of file fopr_Wilson_impl.cpp.
gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]
Reimplemented from Fopr.
Definition at line 104 of file fopr_Wilson_impl.h.
Definition at line 153 of file fopr_Wilson_impl.h.
Definition at line 467 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 1772 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 1420 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 1837 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 1483 of file fopr_Wilson_impl_thread.cpp.
Definition at line 920 of file fopr_Wilson_impl.cpp.
Definition at line 844 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 1892 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 1531 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 1589 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 1263 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 1639 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 1311 of file fopr_Wilson_impl_thread.cpp.
Definition at line 882 of file fopr_Wilson_impl.cpp.
Definition at line 806 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 1702 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 1362 of file fopr_Wilson_impl_thread.cpp.
Definition at line 143 of file fopr_Wilson_impl.h.
nearest neighbor hopping term: temporary entry [H.Matsufuru]
Reimplemented from Fopr.
Definition at line 248 of file fopr_Wilson_impl.cpp.
Definition at line 616 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 344 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 407 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 460 of file fopr_Wilson_impl_thread.cpp.
Definition at line 578 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 166 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 214 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 275 of file fopr_Wilson_impl_thread.cpp.
Definition at line 692 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 707 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 770 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 823 of file fopr_Wilson_impl_thread.cpp.
Definition at line 654 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 529 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 577 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 638 of file fopr_Wilson_impl_thread.cpp.
Definition at line 768 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 1074 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 1139 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 1194 of file fopr_Wilson_impl_thread.cpp.
Definition at line 730 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 892 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 942 of file fopr_Wilson_impl_thread.cpp.
|
private |
Definition at line 1005 of file fopr_Wilson_impl_thread.cpp.
|
private |
void Imp::Fopr_Wilson::proj_chiral | ( | Field & | w, |
const int | ex1, | ||
const Field & | v, | ||
const int | ex2, | ||
const int | ipm | ||
) |
Definition at line 478 of file fopr_Wilson_impl.cpp.
|
inlinevirtual |
setting pointer to the gauge configuration.
Implements Fopr.
Definition at line 88 of file fopr_Wilson_impl.h.
|
inlinevirtual |
Implements Fopr.
Definition at line 91 of file fopr_Wilson_impl.h.
|
virtual |
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call.
Reimplemented from Fopr.
Definition at line 125 of file fopr_Wilson_impl.cpp.
|
virtual |
Implements Fopr.
Definition at line 184 of file fopr_Wilson_impl.cpp.
void Imp::Fopr_Wilson::set_parameters | ( | const double | kappa, |
const std::vector< int > | bc | ||
) |
Definition at line 208 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 30 of file fopr_Wilson_impl_thread.cpp.
void Imp::Fopr_Wilson::tidyup | ( | ) |
Definition at line 152 of file fopr_Wilson_impl.cpp.
|
static |
Definition at line 46 of file fopr_Wilson_impl.h.
|
private |
Definition at line 229 of file fopr_Wilson_impl.h.
|
private |
boundary condition.
Definition at line 56 of file fopr_Wilson_impl.h.
|
private |
b.c. for each node.
Definition at line 57 of file fopr_Wilson_impl.h.
Definition at line 185 of file fopr_Wilson_impl.h.
Definition at line 189 of file fopr_Wilson_impl.h.
|
private |
gamma matrices.
Definition at line 60 of file fopr_Wilson_impl.h.
Definition at line 186 of file fopr_Wilson_impl.h.
|
private |
Definition at line 55 of file fopr_Wilson_impl.h.
|
private |
Definition at line 64 of file fopr_Wilson_impl.h.
|
private |
Definition at line 219 of file fopr_Wilson_impl.h.
Definition at line 183 of file fopr_Wilson_impl.h.
Definition at line 184 of file fopr_Wilson_impl.h.
Definition at line 188 of file fopr_Wilson_impl.h.
Definition at line 187 of file fopr_Wilson_impl.h.
|
private |
Definition at line 219 of file fopr_Wilson_impl.h.
|
private |
Definition at line 50 of file fopr_Wilson_impl.h.
|
private |
Definition at line 50 of file fopr_Wilson_impl.h.
|
private |
Definition at line 50 of file fopr_Wilson_impl.h.
|
private |
Definition at line 52 of file fopr_Wilson_impl.h.
|
private |
Definition at line 51 of file fopr_Wilson_impl.h.
|
private |
Definition at line 220 of file fopr_Wilson_impl.h.
|
private |
Definition at line 221 of file fopr_Wilson_impl.h.
|
private |
Definition at line 221 of file fopr_Wilson_impl.h.
|
private |
Definition at line 220 of file fopr_Wilson_impl.h.
|
private |
Definition at line 50 of file fopr_Wilson_impl.h.
|
private |
Definition at line 52 of file fopr_Wilson_impl.h.
|
private |
Definition at line 51 of file fopr_Wilson_impl.h.
|
private |
Definition at line 51 of file fopr_Wilson_impl.h.
|
private |
Definition at line 51 of file fopr_Wilson_impl.h.
|
private |
Definition at line 65 of file fopr_Wilson_impl.h.
|
private |
gauge configuration.
Definition at line 59 of file fopr_Wilson_impl.h.
|
private |
Definition at line 62 of file fopr_Wilson_impl.h.
|
private |
Definition at line 67 of file fopr_Wilson_impl.h.
|
private |
temporary fields.
Definition at line 67 of file fopr_Wilson_impl.h.
|
private |
Definition at line 73 of file fopr_Wilson_impl.h.
|
private |
Definition at line 73 of file fopr_Wilson_impl.h.
|
private |
Definition at line 70 of file fopr_Wilson_impl.h.
|
private |
arrays for data transfer.
Definition at line 70 of file fopr_Wilson_impl.h.
|
private |
Definition at line 71 of file fopr_Wilson_impl.h.
|
private |
Definition at line 71 of file fopr_Wilson_impl.h.
|
private |
Definition at line 72 of file fopr_Wilson_impl.h.
|
private |
Definition at line 72 of file fopr_Wilson_impl.h.
|
private |
Definition at line 73 of file fopr_Wilson_impl.h.
|
private |
Definition at line 73 of file fopr_Wilson_impl.h.
|
private |
Definition at line 70 of file fopr_Wilson_impl.h.
|
private |
Definition at line 70 of file fopr_Wilson_impl.h.
|
private |
Definition at line 71 of file fopr_Wilson_impl.h.
|
private |
Definition at line 71 of file fopr_Wilson_impl.h.
|
private |
Definition at line 72 of file fopr_Wilson_impl.h.
|
private |
Definition at line 72 of file fopr_Wilson_impl.h.