Go to the documentation of this file.
20 #ifdef USE_FACTORY_AUTOREGISTER
22 bool init = Fopr_Wilson_SF::register_factory();
92 const std::vector<int> bc)
96 assert(bc.size() ==
m_Ndim);
113 for (
int dir = 0; dir <
m_Ndim; ++dir) {
157 }
else if (
m_mode ==
"DdagD") {
159 }
else if (
m_mode ==
"Ddag") {
161 }
else if (
m_mode ==
"H") {
176 }
else if (
m_mode ==
"DdagD") {
178 }
else if (
m_mode ==
"Ddag") {
180 }
else if (
m_mode ==
"H") {
192 const std::string mode)
196 }
else if (mode ==
"DdagD") {
198 }
else if (mode ==
"Ddag") {
200 }
else if (mode ==
"H") {
212 const std::string mode)
216 }
else if (mode ==
"DdagD") {
218 }
else if (mode ==
"Ddag") {
220 }
else if (mode ==
"H") {
236 if (ith == 0)
m_mode = mode;
314 vout.
general(
m_vl,
"Warning at %s: flop_count() has not been implemented.\n",
317 const double gflop = 0;
void set_string(const string &key, const string &value)
void H(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...
double flop_count()
this returns the number of floating point operations.
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
void set_double(const string &key, const double value)
void set_config(Field *U)
sets the gauge configuration.
void DdagD(Field &, const Field &)
void copy(Field &y, const Field &x)
copy(y, x): y = x
void mult_gm5p(const int mu, Field &v, const Field &w)
void set_boundary_zero(Field_G &u)
int fetch_int_vector(const string &key, vector< int > &value) const
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
void mult_gm5(Field &v, const Field &w)
multiplies gamma_5 matrix.
void mult_gm5p(const int mu, Field &v, const Field &w)
void mult(Field &v, const Field &f)
multiplies fermion operator to a given field.
Bridge::VerboseLevel m_vl
std::vector< int > m_boundary
void reset(const int Nin, const int Nvol, const int Nex, const element_type cmpl=Element_type::COMPLEX)
void set_int_vector(const string &key, const vector< int > &value)
void get_parameters(Parameters ¶ms) const
gets parameters by a Parameter object: to be implemented in a subclass.
void mult_gm5(Field &v, const Field &w)
multiplies gamma_5 matrix.
void Ddag(Field &, const Field &)
void D(Field &, const Field &)
static Bridge::VerboseLevel Vlevel()
static const std::string class_name
static VerboseLevel set_verbose_level(const std::string &str)
void mult_dag(Field &v, const Field &f)
hermitian conjugate of mult.
void set_config(Field *U)
sets the gauge configuration.
int fetch_string(const string &key, string &value) const
int fetch_double(const string &key, double &value) const
void D(Field &, const Field &)
void crucial(const char *format,...)
Container of Field-type object.
static int get_thread_id()
returns thread id.
void general(const char *format,...)
static void assert_single_thread(const std::string &class_name)
assert currently running on single thread.
static std::string get_verbose_level(const VerboseLevel vl)
Org::Fopr_Wilson Fopr_Wilson
Wilson fermion operator.