Go to the documentation of this file.
14 #ifndef FOPR_WILSON_GENERAL_IMPL_IMP_INCLUDED
15 #define FOPR_WILSON_GENERAL_IMPL_IMP_INCLUDED
85 const double nu_s,
const double r_s,
86 const std::vector<int> bc);
92 void set_mode(
const std::string mode);
132 void init(
const std::string repr);
169 static Fopr *create_object_with_repr(
const std::string& repr)
176 static bool register_factory()
179 init &= Fopr::Factory_noarg::Register(
"WilsonGeneral/Imp", create_object);
180 init &= Fopr::Factory_string::Register(
"WilsonFeneral/Imp",
181 create_object_with_repr);
182 init &= Fopr::Factory_params::Register(
"WilsonGeneral/Imp",
183 create_object_with_params);
void tidyup()
final clean-up.
int field_nex()
returns the external degree of freedom of the fermion field.
std::vector< double > m_boundary_each_node
b.c. on each node.
void H(Field &v, const Field &w)
void mult_tp_chiral(Field &, const Field &)
const Field_G * m_U
gauge configuration.
void DDdag(Field &v, const Field &w)
Fopr_WilsonGeneral(const Parameters ¶ms)
standard constructor.
void get_parameters(Parameters ¶ms) const
gets parameters by a Parameter object: to be implemented in a subclass.
int field_nvol()
returns the volume of the fermion field.
double * vcp1_xp
arrays for communication buffer.
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
int field_nin()
returns the on-site degree of freedom of the fermion field.
Bridge::VerboseLevel m_vl
verbose level
void mult_dag(Field &v, const Field &w)
hermitian conjugate of mult.
void mult_tm_dirac(Field &, const Field &)
static const std::string class_name
std::string get_mode() const
void mult_dn(const int mu, Field &, const Field &)
downward nearest neighbor hopping term.
void D_dirac(Field &, const int ex1, const Field &, const int ex2)
void mult_xm(Field &, const Field &)
void setup()
initial setup main.
std::string m_repr
gamma-matrix representation
DEPRECATED Fopr_WilsonGeneral()
void mult_ym(Field &, const Field &)
Fopr_WilsonGeneral(const Fopr_WilsonGeneral &)
void Ddag(Field &v, const Field &w)
void D_chiral(Field &, const int ex1, const Field &, const int ex2)
void mult_zm(Field &, const Field &)
void D(Field &v, const Field &w)
void mult_xp(Field &, const Field &)
std::string m_mode
mult mode
void DdagD(Field &v, const Field &w)
DEPRECATED Fopr_WilsonGeneral(const std::string repr)
void mult_yp(Field &, const Field &)
Fopr_WilsonGeneral & operator=(const Fopr_WilsonGeneral &)
void mult_tm_chiral(Field &, const Field &)
void mult_gm5_chiral(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...
void mult_gm5_dirac(Field &, const Field &)
void mult_gm5(Field &v, const Field &w)
multiplies gamma_5 matrix.
void daxpy(Field &, const double, const Field &)
void set_config(Field *U)
sets the gauge configuration.
double flop_count()
returns the number of floating point operations.
void mult_zp(Field &, const Field &)
void mult_up(const int mu, Field &, const Field &)
upward nearest neighbor hopping term.
void mult_tp_dirac(Field &, const Field &)
Container of Field-type object.
void mult(Field &v, const Field &w)
multiplies fermion operator to a given field.
std::vector< int > m_boundary
boundary condition
void init(const std::string repr)
obsolete initial setup.