14 #ifndef FOPR_WILSON_IMPL_IMP_INCLUDED
15 #define FOPR_WILSON_IMPL_IMP_INCLUDED
60 std::vector<GammaMatrix>
m_GM;
81 void init(
const std::string repr);
86 void set_parameters(
const double kappa,
const std::vector<int> bc);
94 void set_mode(
const std::string mode);
105 { (this->*
m_gm5)(v, f); }
108 { (this->*
m_D)(v, f); }
150 const Field& f,
const int ex2)
151 { (this->*
m_D_ex)(v, ex1, f, ex2); }
164 const Field& v,
const int ex2,
const int ipm);
190 const Field&,
const int);
268 void daypx_thread(
const int,
double *,
const double,
const double *);
284 static Fopr *create_object()
289 static Fopr *create_object_with_repr(
const std::string& repr)
295 static bool register_factory()
297 bool init1 = Fopr::Factory_noarg::Register(
"Wilson/Imp", create_object);
298 bool init2 = Fopr::Factory_string::Register(
"Wilson/Imp", create_object_with_repr);
300 return init1 && init2;
void mult_tp_dirac(Field &, const Field &)
void mult_ypb_thread(const int, double *, const double *)
void Ddag(Field &w, const Field &f)
double flop_count()
returns the flop in giga unit
void mult_yp2_thread(const int, double *, const double *)
void mult_zp(Field &, const Field &)
void DDdag(Field &w, const Field &f)
void(Fopr_Wilson::* m_mult_dag)(Field &, const Field &)
int field_nin()
returns the on-site d.o.f. for which the fermion operator is defined.
void set_config(unique_ptr< Field_G > &U)
void init(const std::string repr)
void mult_xmb_thread(const int, double *, const double *)
void(Fopr_Wilson::* m_mult)(Field &, const Field &)
void mult_m(const int mu, Field_F &, const Field_F &)
void proj_chiral(Field &w, const int ex1, const Field &v, const int ex2, const int ipm)
void(Fopr_Wilson::* m_gm5)(Field &, const Field &)
void mult_tmb_chiral_thread(const int, double *, const double *)
void D_dirac(Field &, const Field &)
void(Fopr_Wilson::* m_mult_tp)(Field &, const Field &)
void mult_zpu(Field &, const Field &)
void mult_yp(Field &, const Field &)
void mult_yp1_thread(const int, double *, const double *)
void mult_xpb_thread(const int, double *, const double *)
Container of Field-type object.
void gm5_chiral(Field &, const Field &)
std::vector< double > m_boundary_each_node
b.c. for each node.
void mult_tm_chiral(Field &, const Field &)
void D(Field &v, const Field &f)
void mult_tp1_chiral_thread(const int, double *, const double *)
double * vcp1_xp
arrays for data transfer.
Bridge::VerboseLevel m_vl
void clear_thread(const int, double *)
void gm5_dirac(Field &, const Field &)
void(Fopr_Wilson::* m_D_ex)(Field &, const int, const Field &, const int)
const Field_G * m_U
gauge configuration.
void mult_tpb_chiral_thread(const int, double *, const double *)
void(Fopr_Wilson::* m_D)(Field &, const Field &)
void mult_xm(Field &, const Field &)
void set_parameters(const Parameters ¶ms)
void mult_tpb_dirac_thread(const int, double *, const double *)
void mult_zm2_thread(const int, double *, const double *)
void D_ex(Field &v, const int ex1, const Field &f, const int ex2)
void mult_tpu_dirac(Field &, const Field &)
void mult_tp1_dirac_thread(const int, double *, const double *)
void mult_zp2_thread(const int, double *, const double *)
Wilson-type fermion field.
void mult_xm1_thread(const int, double *, const double *)
void gm5_chiral_thread(const int, double *, const double *)
void mult_xp2_thread(const int, double *, const double *)
void mult_zmb_thread(const int, double *, const double *)
void mult_ymb_thread(const int, double *, const double *)
const Field_F mult_gm5p(const int mu, const Field_F &w)
void mult_tp_chiral(Field &, const Field &)
void daypx_thread(const int, double *, const double, const double *)
std::vector< int > m_boundary
boundary condition.
void D_chiral(Field &, const Field &)
void mult_tm2_dirac_thread(const int, double *, const double *)
void mult_tm1_chiral_thread(const int, double *, const double *)
void mult_xp1_thread(const int, double *, const double *)
void mult(Field &v, const Field &f)
multiplies fermion operator to a given field (2nd argument)
std::vector< mult_arg > m_arg
void mult_tmb_dirac_thread(const int, double *, const double *)
void mult_tm1_dirac_thread(const int, double *, const double *)
void mult_tp2_dirac_thread(const int, double *, const double *)
int field_nex()
returns the external d.o.f. for which the fermion operator is defined.
void gm5_dirac_thread(const int, double *, const double *)
void mult_zm1_thread(const int, double *, const double *)
void mult_ypu(Field &, const Field &)
void D_ex_chiral(Field &, const int ex1, const Field &, const int ex2)
void mult_tm_dirac(Field &, const Field &)
void set_mode(const std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
Fopr_Wilson(const Fopr_Wilson &)
void crucial(const char *format,...)
void mult_p(const int mu, Field_F &, const Field_F &)
void mult_undef(Field &, const Field &f)
void mult_tm2_chiral_thread(const int, double *, const double *)
Fopr_Wilson(const std::string repr)
void set_config(Field *U)
setting pointer to the gauge configuration.
void mult_ym(Field &, const Field &)
void mult_up(const int mu, Field &, const Field &)
nearest neighbor hopping term: temporary entry [H.Matsufuru]
void mult_dn(const int mu, Field &, const Field &)
void mult_ym2_thread(const int, double *, const double *)
void mult_tp2_chiral_thread(const int, double *, const double *)
void D_ex_dirac(Field &, const int ex1, const Field &, const int ex2)
void DdagD(Field &w, const Field &f)
int field_nvol()
returns the volume for which the fermion operator is defined.
void mult_tpu_chiral(Field &, const Field &)
void H(Field &w, const Field &f)
void(Fopr_Wilson::* m_mult_tm)(Field &, const Field &)
std::string get_mode() const
only for Fopr_Overlap
void mult_xm2_thread(const int, double *, const double *)
void mult_zp1_thread(const int, double *, const double *)
Base class of fermion operator family.
void mult_xp(Field &, const Field &)
void mult_dag(Field &v, const Field &f)
hermitian conjugate of mult(Field&, const Field&).
std::vector< GammaMatrix > m_GM
gamma matrices.
void mult_zm(Field &, const Field &)
Fopr_Wilson & operator=(const Fopr_Wilson &)
void mult_zpb_thread(const int, double *, const double *)
Field m_w2
temporary fields.
void mult_ym1_thread(const int, double *, const double *)
void mult_xpu(Field &, const Field &)
void daypx(Field &, const double, const Field &)
void mult_gm5(Field &v, const Field &f)
gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]
static const std::string class_name