CHROMA
monte.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Routine for doing the hybrid (monte carlo) algorithm.
4  */
5 
6 #ifndef __monte_h__
7 #define __monte_h__
8 
9 namespace Chroma {
10 
11 //! Routine for doing the hybrid (monte carlo) algorithm.
12 /*!
13  * \ingroup heatbath
14  *
15  * \param u gauge field ( Modify )
16  * \param NOver number of overrelaxations steps ( Read )
17  * \param NHeat number of heatbath trials ( Read )
18  *
19  * \param j_decay direction of exponential decay --- for sideways potl ! ( Read )
20  *
21  * \param GlueP flag for glueball measurements ( Read )
22  * \param WilsonP flag for Wilson loop measurements ( Read )
23  * \param TopolP flag for topology measurements ( Read )
24  * \param PrtMes measurements per printout to RESULT file
25  * \param MesItr number of iterations in mod for measurements ( Read )
26  * \param NumTry number of heatbath link trials performed ( Write )
27  * \param NumFail number of heatbath link trials failed ( Write )
28  * \param NumItr number of iterations to perform ( Read )
29  * \param TotalItr total number of iterations to perform ( Read )
30  * \param BlkMax maximum number of SU(3) trace maximimations allowed ( Read )
31  * \param BlkAccu blocking accuracy in glueball code ( Read )
32  * \param TopolItr number of iterations in mod for topology measurement ( Read )
33  * \param TopAccu accuracy for convergence of topological charge ( Read )
34  * \param ActAccu accuracy for convergence of action ratio ( Read )
35  * \param NumTop number of topological charge measurements ( Read )
36  * \param NumCool number of cooling sweeps per topological charge measurement ( Read )
37  * \param HQPotP flag for heavy quark potential measurements ( Read )
38  * \param HQPotItr number of iterations in mod for potential measurement ( Read )
39  * \param FacSmea smearing factor for potential measurement ( Read )
40  * \param NumSmea number of smearing iterations in potential measurement ( Read )
41  * \param GFixP flag for Landau gauge fixing ( Read )
42  * \param GFixItr number of iterations in mod for Landau gauge fixing ( Read )
43  * \param ORlxDo do over-relaxation in gauge fixing ( Read )
44  * \param OrPara over-relaxation parameter in gauge-fixing ( Read )
45  */
46 
47 void monte(multi1d<LatticeColorMatrix>& u(Nd), /* New gauge field cfg. */
48  int NOver, /* Number of overrelaxations steps */
49  int NHeat, /* Number of heatbath trials */
50  int j_decay, /* Direction to measure sideways potl */
51  /* global t_dir is used for everything else! */
52  int GlueP, /* Measure glueballs on-line? */
53  int WilsonP, /* Measure Wilson loops on-line? */
54  int& NumTry, /* Number of heatbath link trials for this run */
55  int& NumFail, /* Number of heatbath link failures for this run */
56  int PrtMes, /* Measurements per printout to RESULT file */
57  int MesItr, /* Iterations per measurement */
58  int NumItr, /* Number of iterations for this run */
59  int TotalItr, /* Total number of iterations */
60 
61  int TopolP, /* Measure topology on-line? */
62  int TopolItr, /* Iterations per topology measurement */
63  Real TopAccu, /* Topological charge measurement accuracy */
64  Real ActAccu, /* Action measurement accuracy */
65  int NumTop, /* Frequency of charge measurement */
66  int NumCool, /* Total number of cooling sweeps */
67 
68  Real BlkAccu, /* Accuracy of blocking in fuzglue. */
69  int BlkMax, /* Maximum number of proj. iterations in fuzglue. */
70 
71  int HQPotP, /* Measure potential on-line? */
72  int HQPotItr, /* Iterations per potential measurement */
73  Real FacSmea, /* Smearing factor */
74  int NumSmea, /* Number of smearing iterations */
75 
76  int GFixP, /* Fix to Landau gauge? */
77  int GFixItr, /* Iterations per Landau gauge fixing */
78  int ORlxDo, /* Do Over-relaxation in gauge fixing */
79  Real OrPara, /* Over-relaxation parameter in gauge-fixing */
80  );
81 
82 } // end namespace Chroma
83 
84 #endif
void monte(multi1d< LatticeColorMatrix > &u(Nd), int NOver, int NHeat, int j_decay, int GlueP, int WilsonP, int &NumTry, int &NumFail, int PrtMes, int MesItr, int NumItr, int TotalItr, int TopolP, int TopolItr, Real TopAccu, Real ActAccu, int NumTop, int NumCool, Real BlkAccu, int BlkMax, int HQPotP, int HQPotItr, Real FacSmea, int NumSmea, int GFixP, int GFixItr, int ORlxDo, Real OrPara,)
Routine for doing the hybrid (monte carlo) algorithm.
Definition: monte.cc:56
int j_decay
Definition: meslate.cc:22
Nd
Definition: meslate.cc:74
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
static multi1d< LatticeColorMatrix > u
Real TopAccu
Definition: topol.cc:12
int NumTop
Definition: topol.cc:15
Real ActAccu
Definition: topol.cc:13
int NumCool
Definition: topol.cc:14