Go to the documentation of this file.
30 err += params.
fetch_int(
"source_position", source_position);
98 const int tl_src =
m_t_src % Nt;
102 for (
int z = 0; z < Nz; ++z) {
103 int z_global = z + ipe_z * Nz;
105 for (
int y = 0; y < Ny; ++y) {
106 int y_global = y + ipe_y * Ny;
108 for (
int x = 0; x < Nx; ++x) {
109 int x_global = x + ipe_x * Nx;
113 if (((x_global + y_global + z_global) % 2) == 0) {
129 const int ic,
const int i_src)
138 for (
int site = 0; site < Nvol; ++site) {
141 }
else if (i_src == 1) {
142 for (
int site = 0; site < Nvol; ++site) {
void set(Field_F_1spinor &src, const int ic, const int i_src)
Bridge::VerboseLevel m_vl
void set_string(const string &key, const string &value)
void set(const int jin, const int site, const int jex, double v)
void get_parameters(Parameters ¶ms) const
void set_r(const int cc, const int site, const int e, const double re)
int non_negative(const int v)
static const std::string class_name
void set_parameters(const Parameters ¶ms)
int site(const int &x, const int &y, const int &z, const int &t) const
void reset(const int Nin, const int Nvol, const int Nex, const element_type cmpl=Element_type::COMPLEX)
double cmp(const int jin, const int site, const int jex) const
static VerboseLevel set_verbose_level(const std::string &str)
Staggered-type fermion field.
void set_int(const string &key, const int value)
static int ipe(const int dir)
logical coordinate of current proc.
int fetch_string(const string &key, string &value) const
void crucial(const char *format,...)
int fetch_int(const string &key, int &value) const
void general(const char *format,...)
static std::string get_verbose_level(const VerboseLevel vl)