14 #ifndef FOPR_WILSON_GENERAL_IMPL_IMP_INCLUDED
15 #define FOPR_WILSON_GENERAL_IMPL_IMP_INCLUDED
55 std::vector<GammaMatrix>
m_GM;
75 void init(
const std::string repr);
81 const double nu_s,
const double r_s,
82 const std::vector<int> bc);
90 void set_mode(
const std::string mode);
101 { (this->*
m_gm5)(v, f); }
104 { (this->*
m_D)(v, f); }
146 const Field& f,
const int ex2)
147 { (this->*
m_D_ex)(v, ex1, f, ex2); }
160 const Field& v,
const int ex2,
const int ipm);
186 const Field&,
const int);
267 void daxpy_thread(
const int,
double *,
const double,
const double *);
268 void daypx_thread(
const int,
double *,
const double,
const double *);
269 void scal_thread(
const int,
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(
"WilsonGeneral/Imp", create_object);
298 bool init2 = Fopr::Factory_string::Register(
"WilsonGeneral/Imp", create_object_with_repr);
300 return init1 && init2;
void(Fopr_WilsonGeneral::* m_mult_t_plus)(Field &, const Field &)
void mult_x_minus2_thread(const int, double *, const double *)
void mult_z_minus_bulk_thread(const int, double *, const double *)
void DDdag(Field &w, const Field &f)
void mult_dag(Field &v, const Field &f)
hermitian conjugate of mult(Field&, const Field&).
void mult_x_plus_bulk_thread(const int, double *, const double *)
int field_nin()
returns the on-site d.o.f. for which the fermion operator is defined.
double * vcp1_x_plus
arrays for data transfer.
void clear_thread(const int, double *)
void D_dirac(Field &, const Field &)
void mult_x_plus2_thread(const int, double *, const double *)
void mult_z_minus1_thread(const int, double *, const double *)
void D_ex_chiral(Field &, const int ex1, const Field &, const int ex2)
int field_nvol()
returns the volume for which the fermion operator is defined.
void mult_t_minus2_chiral_thread(const int, double *, const double *)
Bridge::VerboseLevel m_vl
void(Fopr_WilsonGeneral::* m_mult)(Field &, const Field &)
void mult_m(const int mu, Field_F &, const Field_F &)
void mult_z_minus2_thread(const int, double *, const double *)
Container of Field-type object.
void H(Field &w, const Field &f)
void mult_t_plus1_dirac_thread(const int, double *, const double *)
void mult_t_plus_dirac(Field &, const Field &)
std::string get_mode() const
only for Fopr_Overlap
void mult_t_plus2_dirac_thread(const int, double *, const double *)
void mult_x_plus(Field &, const Field &)
void set_config(Field *U)
setting pointer to the gauge configuration.
void mult_dn(const int mu, Field &, const Field &)
void mult_y_plus2_thread(const int, double *, const double *)
void set_mode(const std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
void mult_x_minus_bulk_thread(const int, double *, const double *)
void mult_x_plus1_thread(const int, double *, const double *)
double flop_count()
returns the flop in giga unit
void mult_t_minus2_dirac_thread(const int, double *, const double *)
Fopr_WilsonGeneral(const Fopr_WilsonGeneral &)
void D_ex(Field &v, const int ex1, const Field &f, const int ex2)
void gm5_dirac_thread(const int, double *, const double *)
Wilson-type fermion field.
void mult_y_minus2_thread(const int, double *, const double *)
std::vector< GammaMatrix > m_GM
gamma matrices.
void mult_t_minus_dirac(Field &, const Field &)
void mult_t_minus1_dirac_thread(const int, double *, const double *)
void init(const std::string repr)
void mult_z_plus2_thread(const int, double *, const double *)
void set_config(unique_ptr< Field_G > &U)
void DdagD(Field &w, const Field &f)
void daypx_thread(const int, double *, const double, const double *)
void mult_y_minus(Field &, const Field &)
void daxpy_thread(const int, double *, const double, const double *)
void mult_p(const int mu, Field_F &, const Field_F &)
void scal_thread(const int, double *, const double)
void mult_undef(Field &, const Field &f)
void gm5_chiral_thread(const int, double *, const double *)
void mult_gm5(Field &v, const Field &f)
gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]
void mult_z_plus_bulk_thread(const int, double *, const double *)
const Field_G * m_U
gauge configuration.
void mult_y_minus1_thread(const int, double *, const double *)
Field m_w2
temporary fields.
void mult_z_plus1_thread(const int, double *, const double *)
void mult_x_minus(Field &, const Field &)
Fopr_WilsonGeneral(const std::string repr)
void mult_t_plus_chiral(Field &, const Field &)
void mult_t_minus_chiral(Field &, const Field &)
void daypx(Field &, const double, const Field &)
void mult_t_minus1_chiral_thread(const int, double *, const double *)
void(Fopr_WilsonGeneral::* m_mult_dag)(Field &, const Field &)
void mult_x_minus1_thread(const int, double *, const double *)
const Field_F mult_gm5p(const int mu, const Field_F &w)
void mult_y_plus(Field &, const Field &)
void mult_t_plus_bulk_chiral_thread(const int, double *, const double *)
void crucial(const char *format,...)
std::vector< double > m_boundary_each_node
b.c. for each node.
void mult_y_plus_bulk_thread(const int, double *, const double *)
void daxpy(Field &, const double, 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)
void mult_t_minus_bulk_dirac_thread(const int, double *, const double *)
void mult_t_minus_bulk_chiral_thread(const int, double *, const double *)
static const std::string class_name
void gm5_chiral(Field &, const Field &)
void set_parameters(const Parameters ¶ms)
void mult_t_plus1_chiral_thread(const int, double *, const double *)
void proj_chiral(Field &w, const int ex1, const Field &v, const int ex2, const int ipm)
void Ddag(Field &w, const Field &f)
void mult_t_plus2_chiral_thread(const int, double *, const double *)
std::vector< mult_arg > m_arg
int field_nex()
returns the external d.o.f. for which the fermion operator is defined.
void(Fopr_WilsonGeneral::* m_gm5)(Field &, const Field &)
void D_ex_dirac(Field &, const int ex1, const Field &, const int ex2)
void D(Field &v, const Field &f)
void mult_z_minus(Field &, const Field &)
Base class of fermion operator family.
void scal(Field &, const double)
Fopr_WilsonGeneral & operator=(const Fopr_WilsonGeneral &)
void mult_t_plus_bulk_dirac_thread(const int, double *, const double *)
std::vector< int > m_boundary
boundary condition.
void mult_z_plus(Field &, const Field &)
void gm5_dirac(Field &, const Field &)
void(Fopr_WilsonGeneral::* m_D)(Field &, const Field &)
void mult_y_minus_bulk_thread(const int, double *, const double *)
void mult_up(const int mu, Field &, const Field &)
nearest neighbor hopping term: temporary entry [H.Matsufuru]
void mult(Field &v, const Field &f)
multiplies fermion operator to a given field (2nd argument)
void mult_y_plus1_thread(const int, double *, const double *)
void D_chiral(Field &, const Field &)