Bridge++
Version 1.5.4
|
#include <fopr_WilsonGeneral_impl.h>
Classes | |
struct | mult_arg |
Public Member Functions | |
Fopr_WilsonGeneral () | |
Fopr_WilsonGeneral (const std::string repr) | |
~Fopr_WilsonGeneral () | |
void | init (const std::string repr) |
void | tidyup () |
void | set_parameters (const Parameters ¶ms) |
void | set_parameters (const double kappa_s, const double kappa_t, const double nu_s, const double r_s, 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_WilsonGeneral" |
Private Member Functions | |
Fopr_WilsonGeneral (const Fopr_WilsonGeneral &) | |
Fopr_WilsonGeneral & | operator= (const Fopr_WilsonGeneral &) |
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_x_plus (Field &, const Field &) |
void | mult_x_minus (Field &, const Field &) |
void | mult_y_plus (Field &, const Field &) |
void | mult_y_minus (Field &, const Field &) |
void | mult_z_plus (Field &, const Field &) |
void | mult_z_minus (Field &, const Field &) |
void | mult_t_plus_dirac (Field &, const Field &) |
void | mult_t_minus_dirac (Field &, const Field &) |
void | mult_t_plus_chiral (Field &, const Field &) |
void | mult_t_minus_chiral (Field &, const Field &) |
void | daxpy (Field &, const double, const Field &) |
void | daypx (Field &, const double, const Field &) |
void | scal (Field &, const double) |
void | clear (Field &) |
void | setup_thread () |
void | mult_x_plus1_thread (const int, double *, const double *) |
void | mult_x_plus2_thread (const int, double *, const double *) |
void | mult_x_plus_bulk_thread (const int, double *, const double *) |
void | mult_x_minus1_thread (const int, double *, const double *) |
void | mult_x_minus2_thread (const int, double *, const double *) |
void | mult_x_minus_bulk_thread (const int, double *, const double *) |
void | mult_y_plus1_thread (const int, double *, const double *) |
void | mult_y_plus2_thread (const int, double *, const double *) |
void | mult_y_plus_bulk_thread (const int, double *, const double *) |
void | mult_y_minus1_thread (const int, double *, const double *) |
void | mult_y_minus2_thread (const int, double *, const double *) |
void | mult_y_minus_bulk_thread (const int, double *, const double *) |
void | mult_z_plus1_thread (const int, double *, const double *) |
void | mult_z_plus2_thread (const int, double *, const double *) |
void | mult_z_plus_bulk_thread (const int, double *, const double *) |
void | mult_z_minus1_thread (const int, double *, const double *) |
void | mult_z_minus2_thread (const int, double *, const double *) |
void | mult_z_minus_bulk_thread (const int, double *, const double *) |
void | mult_t_plus1_dirac_thread (const int, double *, const double *) |
void | mult_t_plus2_dirac_thread (const int, double *, const double *) |
void | mult_t_plus_bulk_dirac_thread (const int, double *, const double *) |
void | mult_t_minus1_dirac_thread (const int, double *, const double *) |
void | mult_t_minus2_dirac_thread (const int, double *, const double *) |
void | mult_t_minus_bulk_dirac_thread (const int, double *, const double *) |
void | mult_t_plus1_chiral_thread (const int, double *, const double *) |
void | mult_t_plus2_chiral_thread (const int, double *, const double *) |
void | mult_t_plus_bulk_chiral_thread (const int, double *, const double *) |
void | mult_t_minus1_chiral_thread (const int, double *, const double *) |
void | mult_t_minus2_chiral_thread (const int, double *, const double *) |
void | mult_t_minus_bulk_chiral_thread (const int, double *, const double *) |
void | daxpy_thread (const int, double *, const double, const double *) |
void | daypx_thread (const int, double *, const double, const double *) |
void | scal_thread (const int, 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 *) |
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_s |
double | m_kappa_t |
double | m_nu_s |
double | m_r_s |
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_x_plus |
arrays for data transfer. More... | |
double * | vcp2_x_plus |
double * | vcp1_x_minus |
double * | vcp2_x_minus |
double * | vcp1_y_plus |
double * | vcp2_y_plus |
double * | vcp1_y_minus |
double * | vcp2_y_minus |
double * | vcp1_z_plus |
double * | vcp2_z_plus |
double * | vcp1_z_minus |
double * | vcp2_z_minus |
double * | vcp1_t_plus |
double * | vcp2_t_plus |
double * | vcp1_t_minus |
double * | vcp2_t_minus |
void(Fopr_WilsonGeneral::* | m_mult )(Field &, const Field &) |
void(Fopr_WilsonGeneral::* | m_mult_dag )(Field &, const Field &) |
void(Fopr_WilsonGeneral::* | m_D )(Field &, const Field &) |
void(Fopr_WilsonGeneral::* | m_gm5 )(Field &, const Field &) |
void(Fopr_WilsonGeneral::* | m_mult_t_plus )(Field &, const Field &) |
void(Fopr_WilsonGeneral::* | m_mult_t_minus )(Field &, const Field &) |
void(Fopr_WilsonGeneral::* | 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 37 of file fopr_WilsonGeneral_impl.h.
|
inline |
Definition at line 71 of file fopr_WilsonGeneral_impl.h.
|
inline |
Definition at line 72 of file fopr_WilsonGeneral_impl.h.
|
inline |
Definition at line 73 of file fopr_WilsonGeneral_impl.h.
|
inlineprivate |
Definition at line 176 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 618 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 182 of file fopr_WilsonGeneral_impl_thread.cpp.
Definition at line 103 of file fopr_WilsonGeneral_impl.h.
Definition at line 276 of file fopr_WilsonGeneral_impl.cpp.
Definition at line 248 of file fopr_WilsonGeneral_impl.cpp.
|
inline |
Definition at line 145 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 427 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 342 of file fopr_WilsonGeneral_impl.cpp.
Definition at line 559 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 116 of file fopr_WilsonGeneral_impl_thread.cpp.
Definition at line 579 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 139 of file fopr_WilsonGeneral_impl_thread.cpp.
Definition at line 106 of file fopr_WilsonGeneral_impl.h.
Definition at line 113 of file fopr_WilsonGeneral_impl.h.
Definition at line 123 of file fopr_WilsonGeneral_impl.h.
|
inlinevirtual |
returns the external d.o.f. for which the fermion operator is defined.
Implements Fopr.
Definition at line 169 of file fopr_WilsonGeneral_impl.h.
|
inlinevirtual |
returns the on-site d.o.f. for which the fermion operator is defined.
Implements Fopr.
Definition at line 167 of file fopr_WilsonGeneral_impl.h.
|
inlinevirtual |
returns the volume for which the fermion operator is defined.
Implements Fopr.
Definition at line 165 of file fopr_WilsonGeneral_impl.h.
|
virtual |
returns the flop in giga unit
Reimplemented from Fopr.
Definition at line 1068 of file fopr_WilsonGeneral_impl.cpp.
|
virtual |
only for Fopr_Overlap
Reimplemented from Fopr.
Definition at line 176 of file fopr_WilsonGeneral_impl.cpp.
Definition at line 655 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 2157 of file fopr_WilsonGeneral_impl_thread.cpp.
Definition at line 636 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 2122 of file fopr_WilsonGeneral_impl_thread.cpp.
Definition at line 133 of file fopr_WilsonGeneral_impl.h.
void Imp::Fopr_WilsonGeneral::init | ( | const std::string | repr | ) |
Definition at line 34 of file fopr_WilsonGeneral_impl.cpp.
multiplies fermion operator to a given field (2nd argument)
Implements Fopr.
Definition at line 94 of file fopr_WilsonGeneral_impl.h.
hermitian conjugate of mult(Field&, const Field&).
Reimplemented from Fopr.
Definition at line 97 of file fopr_WilsonGeneral_impl.h.
Reimplemented from Fopr.
Definition at line 323 of file fopr_WilsonGeneral_impl.cpp.
gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]
Reimplemented from Fopr.
Definition at line 100 of file fopr_WilsonGeneral_impl.h.
Definition at line 149 of file fopr_WilsonGeneral_impl.h.
Definition at line 523 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 1932 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 1579 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 1997 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 1642 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 2052 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 1690 of file fopr_WilsonGeneral_impl_thread.cpp.
Definition at line 1028 of file fopr_WilsonGeneral_impl.cpp.
Definition at line 948 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 1748 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 1421 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 1799 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 1470 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 1862 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 1521 of file fopr_WilsonGeneral_impl_thread.cpp.
Definition at line 988 of file fopr_WilsonGeneral_impl.cpp.
Definition at line 908 of file fopr_WilsonGeneral_impl.cpp.
Definition at line 139 of file fopr_WilsonGeneral_impl.h.
nearest neighbor hopping term: temporary entry [H.Matsufuru]
Reimplemented from Fopr.
Definition at line 304 of file fopr_WilsonGeneral_impl.cpp.
Definition at line 713 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 401 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 474 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 527 of file fopr_WilsonGeneral_impl_thread.cpp.
Definition at line 674 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 203 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 256 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 322 of file fopr_WilsonGeneral_impl_thread.cpp.
Definition at line 791 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 804 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 877 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 930 of file fopr_WilsonGeneral_impl_thread.cpp.
Definition at line 752 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 606 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 659 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 725 of file fopr_WilsonGeneral_impl_thread.cpp.
Definition at line 869 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 1212 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 1287 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 1342 of file fopr_WilsonGeneral_impl_thread.cpp.
Definition at line 830 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 1009 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 1065 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
Definition at line 1133 of file fopr_WilsonGeneral_impl_thread.cpp.
|
private |
void Imp::Fopr_WilsonGeneral::proj_chiral | ( | Field & | w, |
const int | ex1, | ||
const Field & | v, | ||
const int | ex2, | ||
const int | ipm | ||
) |
Definition at line 534 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 599 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 161 of file fopr_WilsonGeneral_impl_thread.cpp.
|
inlinevirtual |
setting pointer to the gauge configuration.
Implements Fopr.
Definition at line 84 of file fopr_WilsonGeneral_impl.h.
|
inlinevirtual |
Implements Fopr.
Definition at line 87 of file fopr_WilsonGeneral_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 124 of file fopr_WilsonGeneral_impl.cpp.
|
virtual |
Implements Fopr.
Definition at line 183 of file fopr_WilsonGeneral_impl.cpp.
void Imp::Fopr_WilsonGeneral::set_parameters | ( | const double | kappa_s, |
const double | kappa_t, | ||
const double | nu_s, | ||
const double | r_s, | ||
const std::vector< int > | bc | ||
) |
Definition at line 211 of file fopr_WilsonGeneral_impl.cpp.
|
private |
Definition at line 28 of file fopr_WilsonGeneral_impl_thread.cpp.
void Imp::Fopr_WilsonGeneral::tidyup | ( | ) |
Definition at line 151 of file fopr_WilsonGeneral_impl.cpp.
|
static |
Definition at line 40 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 227 of file fopr_WilsonGeneral_impl.h.
|
private |
boundary condition.
Definition at line 51 of file fopr_WilsonGeneral_impl.h.
|
private |
b.c. for each node.
Definition at line 52 of file fopr_WilsonGeneral_impl.h.
Definition at line 181 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 185 of file fopr_WilsonGeneral_impl.h.
|
private |
gamma matrices.
Definition at line 55 of file fopr_WilsonGeneral_impl.h.
Definition at line 182 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 49 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 49 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 59 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 217 of file fopr_WilsonGeneral_impl.h.
Definition at line 179 of file fopr_WilsonGeneral_impl.h.
Definition at line 180 of file fopr_WilsonGeneral_impl.h.
Definition at line 184 of file fopr_WilsonGeneral_impl.h.
Definition at line 183 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 217 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 44 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 44 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 44 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 46 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 45 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 218 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 219 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 219 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 218 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 50 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 44 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 46 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 45 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 45 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 45 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 50 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 60 of file fopr_WilsonGeneral_impl.h.
|
private |
gauge configuration.
Definition at line 54 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 57 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 62 of file fopr_WilsonGeneral_impl.h.
|
private |
temporary fields.
Definition at line 62 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 68 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 68 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 65 of file fopr_WilsonGeneral_impl.h.
|
private |
arrays for data transfer.
Definition at line 65 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 66 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 66 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 67 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 67 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 68 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 68 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 65 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 65 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 66 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 66 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 67 of file fopr_WilsonGeneral_impl.h.
|
private |
Definition at line 67 of file fopr_WilsonGeneral_impl.h.