28 double estep2 = 2.0 * Estep;
34 double estep1 = Estep;
69 const int Nvol = U1.
nvol();
70 const int Nex = U0.
nex();
73 double max_norm = 0.0;
75 for (
int ex = 0; ex < Nex; ++ex) {
76 for (
int site = 0; site < Nvol; ++site) {
86 double norm = sqrt(u2.
norm2()) / Nc;
88 if (norm > max_norm) max_norm = norm;
static int reduce_max(int count, double *recv_buf, double *send_buf, int pattern=0)
find a global maximum of an array of double over the communicator. pattern specifies the dimensions t...
static const std::string class_name
void general(const char *format,...)
void flow(double &t, double &Estep, Field_G &U)
GradientFlow_RungeKutta * m_RK
void copy(Field &y, const Field &x)
copy(y, x): y = x
double max_diff_U(const Field_G &U1, const Field_G &U0) const
void crucial(const char *format,...)
virtual void flow(double &t, double &Estep, Field_G &U)=0
Mat_SU_N mat(const int site, const int mn=0) const
Bridge::VerboseLevel m_vl