16 #ifdef USE_PARAMETERS_FACTORY
31 #ifdef USE_PARAMETERS_FACTORY
46 const string str_vlevel = params.
get_string(
"verbose_level");
141 std::vector<int> Nsize(Ndim);
152 assert(
id < m_Nd / 2);
153 assert(src.
nvol() == Nvol);
154 assert(src.
nex() == 1);
161 for (
int z = 0; z < Nsize[2]; ++z) {
162 for (
int y = 0; y < Nsize[1]; ++y) {
163 for (
int x = 0; x < Nsize[0]; ++x) {
169 for (
int ac = 0; ac < m_Nc; ++ac) {
170 src.
set_ri(ac,
id, site, 0, u0dag.r(ac, ic), u0dag.i(ac, ic));
201 std::vector<int> Nsize(Ndim);
212 assert(
id > m_Nd / 2 - 1);
214 assert(src.
nvol() == Nvol);
215 assert(src.
nex() == 1);
221 int t = Nsize[3] - 1;
222 for (
int z = 0; z < Nsize[2]; ++z) {
223 for (
int y = 0; y < Nsize[1]; ++y) {
224 for (
int x = 0; x < Nsize[0]; ++x) {
227 for (
int ac = 0; ac < m_Nc; ++ac) {
228 src.
set_ri(ac,
id, site, 0, u0.r(ac, ic), u0.i(ac, ic));
void scal(Field &x, const double a)
scal(x, a): x = a * x
Bridge::VerboseLevel m_vl
static const std::string class_name
void Register_string(const string &, const string &)
void set(const int jin, const int site, const int jex, double v)
int site(const int &x, const int &y, const int &z, const int &t) const
Parameters_Source_Wall_SF()
void general(const char *format,...)
static int ipe(const int dir)
logical coordinate of current proc.
void set_tT(Field_F &src, int ic, int id)
Set the 3D wall source at t=T-1.
Wilson-type fermion field.
Field * getptr_smearedConfig(int i_smear)
get pointer to i-th smeared config (0th is original thin link)
void set_t0(Field_F &src, int ic, int id)
Set the 3D wall source at t=1.
void set_ri(const int cc, const int s, const int site, const int e, const double re, const double im)
void set_parameters(const Parameters ¶ms)
void set_config(Field *U)
set pointer to original thin link variable
int get_Nsmear()
get number of applied smearing operation
Field_G * m_U
Pointer to gauge field.
void crucial(const char *format,...)
Manager of smeared configurations.
static bool Register(const std::string &realm, const creator_callback &cb)
Mat_SU_N mat_dag(const int site, const int mn=0) const
void Register_double(const string &, const double)
int fetch_double(const string &key, double &val) const
string get_string(const string &key) const
Mat_SU_N mat(const int site, const int mn=0) const
static VerboseLevel set_verbose_level(const std::string &str)
double m_ct_tilde
Boundary O(a) improvement factor for the Wilson (clover) fermion.