Go to the documentation of this file.
14 =
"Force_F_Domainwall";
39 const double kappa = 1.0 / (8.0 - 2.0 *
m_M0);
42 params_kernel.
set_double(
"hopping_parameter", kappa);
134 const double kappa = 1.0 / (8.0 - 2.0 *
m_M0);
137 params_kernel.
set_double(
"hopping_parameter", kappa);
147 const string str_vlevel = params.
get_string(
"verbose_level");
160 err += params.
fetch_int(
"extent_of_5th_dimension", Ns);
171 std::vector<double> b_vec(Ns);
172 std::vector<double> c_vec(Ns);
173 for(
int is = 0; is < Ns; ++is){
178 int err3 = params.
fetch_double(
"parameter_alpha", alpha);
193 const std::vector<int> bc,
194 const std::vector<double> b_vec,
195 const std::vector<double> c_vec,
204 const double kappa = 1.0 / (8.0 - 2.0 *
m_M0);
215 const std::vector<int> bc,
216 const std::vector<double> b_vec,
217 const std::vector<double> c_vec,
236 assert(bc.size() == Ndim);
249 for(
int mu = 0; mu < Ndim; ++mu){
257 for(
int is = 0; is <
m_Ns; ++is){
281 for (
int mu = 0; mu < Ndim; ++mu) {
285 for (
int is = 0; is <
m_Ns; ++is) {
287 is,
m_b[is], is,
m_c[is]);
328 if (ith == 0)
m_mode = mode;
394 for(
int is = 0; is <
m_Ns; ++is){
426 for(
int is = 0; is <
m_Ns; ++is){
452 for(
int is = 0; is <
m_Ns; ++is){
453 int isR =
m_Ns - 1 - is;
457 int is_up = (is+1) %
m_Ns;
468 if(is == 0) Fdn =
m_mq/2.0;
static const std::string class_name
void force_udiv1_Hdag(Field &force_, const Field &zeta, const Field &eta)
int m_Ns
size of fifth-dimension
void set_string(const string &key, const string &value)
std::vector< double > m_c
coefficient parameter
void force_udiv1(Field &force, const Field &zeta, const Field &eta)
void set(const int jin, const int site, const int jex, double v)
double m_alpha
Neff's improving parameter.
void set_double(const string &key, const double value)
Field_F * m_zeta
5d working field
std::vector< double > m_b
coefficient parameter
void force_udiv1(Field &force, const Field &zeta, const Field &eta)
double m_M0
domain-wall height
void axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
void set_double_vector(const string &key, const vector< double > &value)
void mult(AFIELD &v, const AFIELD &w)
multiplies fermion operator to a given field.
void set_mode(const std::string &mode)
in Force, setting the mode is optional when H is nonhermitian.
void copy(Field &y, const Field &x)
copy(y, x): y = x
void init()
initial setup.
Field_F * m_w4t2
4d working field
void force_udiv(Field &force, const Field &eta)
void force_Himpl(Field &eta2, const Field &eta)
int fetch_int_vector(const string &key, vector< int > &value) const
Field_F * m_zeta4
4d working field
AFopr_Domainwall< Field > Fopr_Domainwall
Domain-wall fermion operator.
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
Fopr_Domainwall * m_fopr_dw
void force_udiv1_H(Field &force_, const Field &zeta, const Field &eta)
Field_F * m_eta4
4d working field
Bridge::VerboseLevel m_vl
verbose level
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
void set_int_vector(const string &key, const vector< int > &value)
void mult_gm5(Field &v, const Field &w)
multiplies gamma_5 matrix.
void tidyup()
final tidyup.
std::string m_repr
gamma matrix representation
void get_parameters(Parameters ¶ms) const
void set_config(Field *U)
sets the gauge configuration.
Field_F * m_w4t1
4d working field
void force_core1(Field &force, const Field &zeta, const Field &eta)
force_core1 overrides default implementation in the base class.
Field_F * m_eta2
5d working field
static Bridge::VerboseLevel Vlevel()
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
Field_G * m_U
Gauge configuration.
static VerboseLevel set_verbose_level(const std::string &str)
Field_F * m_Lw4
4d working field
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
void set_parameters_impl(const Parameters ¶ms)
int non_zero(const double v)
void set_int(const string &key, const int value)
void scal(Field &x, const double a)
scal(x, a): x = a * x
void set_config(Field *U)
sets the gauge configuration.
int fetch_string(const string &key, string &value) const
Force for the standard Wilson fermion operator.
Wilson-type fermion field.
int fetch_double(const string &key, double &value) const
void set_config(Field *U)
sets verbose level.
string get_string(const string &key) const
std::vector< int > m_boundary
boundary conditions
void crucial(const char *format,...)
void set_mode(std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
Container of Field-type object.
static int get_thread_id()
returns thread id.
int fetch_int(const string &key, int &value) const
void general(const char *format,...)
void set_config(Field *U)
sets verbose level.
Force_F_Wilson_Nf2 * m_force_w
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.