32   const int         Niter           = 100;
 
   33   const int         Nrestart        = 40;
 
   34   const double      Stop_cond       = 1.0e-24;
 
   35   const std::string str_solver_type = 
"CG";
 
   53   assert(NvolF == Nvol);
 
   58   Field xi(NinF, NvolF, NexF);
 
   69   const double xi2   = xi.
norm();
 
   70   const double H_psf = xi2 * xi2;
 
   95   Field  v1(NinF, NvolF, NexF);
 
  106   const double H_psf = 
dot(v1, 
m_psf);
 
  118   const int Nin  = 
m_U->
nin();
 
  120   const int Nex  = 
m_U->
nex();
 
  124   assert(force.
nin() == Nin);
 
  125   assert(force.
nvol() == Nvol);
 
  126   assert(force.
nex() == Nex);
 
  138   Field  eta(NinF, NvolF, NexF);
 
  143   vout.
general(
m_vl, 
"    Solver: Nconv = %6d  diff  = %12.6e\n", Nconv, diff);
 
  148   Field force_org(Nin, Nvol, Nex);
 
  153   force = (
Field)Fboundary;
 
  155   double Fave, Fmax, Fdev;
 
  156   force.
stat(Fave, Fmax, Fdev);
 
  157   vout.
general(
m_vl, 
"    Fstandard_ave = %12.6f  Fstandard_max = %12.6f  Fstandard_dev = %12.6f\n",
 
SU(N) gauge field class in which a few functions are added for the SF. 
 
void force(Field &)
returns force for molcular dynamical update of conjugate momenta. 
 
double dot(const Field &y, const Field &x)
 
void general(const char *format,...)
 
virtual void set_mode(const std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
 
virtual void set_config(Field *)=0
setting pointer to the gauge configuration. 
 
static const std::string class_name
 
Container of Field-type object. 
 
virtual void set_config(Field *)=0
 
virtual void gauss_lex_global(Field &)
gaussian random number defined on global lattice. 
 
virtual int field_nin()=0
returns the on-site d.o.f. for which the fermion operator is defined. 
 
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
 
virtual void set_parameters(const Parameters ¶ms)=0
 
void set_boundary_spatial_link_zero()
Set the boundary spatial link to 0 for SF bc. 
 
double calcH()
calculate Hamiltonian of this action term. 
 
virtual int field_nex()=0
returns the external d.o.f. for which the fermion operator is defined. 
 
virtual void force_core(Field &, const Field &)
 
Bridge::VerboseLevel get_VerboseLevel() const 
 
void reset(const int Nin, const int Nvol, const int Nex, const element_type cmpl=Element_type::COMPLEX)
 
Bridge::VerboseLevel m_vl
 
Base class of random number generators. 
 
virtual void mult(Field &, const Field &)=0
multiplies fermion operator to a given field (2nd argument) 
 
void set_boundary_zero(Field &f)
 
void stat(double &Fave, double &Fmax, double &Fdev) const 
determines the statistics of the field. average, maximum value, and deviation is determined over glob...
 
double langevin(RandomNumbers *)
Langevis step. 
 
virtual int field_nvol()=0
returns the volume for which the fermion operator is defined. 
 
virtual void solve(Field &solution, const Field &source, int &Nconv, double &diff)=0
 
A class generated to add a function for the SF.