CHROMA
common_declarations.h
Go to the documentation of this file.
1 
2 #error "OBSOLETE - DO NOT USE. ONLY FOR REFERENCE"
3 
4 #ifndef COMMON_DECLS_INCLUDE
5 #define COMMON_DECLS_INCLUDE
6 
7 #if defined(MAIN)
8 #define EXTERN
9 #else
10 #define EXTERN extern
11 #endif
12 
13 /* More variables describing state of system and algorithm */
14 EXTERN int FermTypeP; /* Type of Fermions use, Wilson or Staggered */
17 EXTERN Real Nf; /* Number of Flavours */
20 EXTERN Real KappaMC; /* Input for Wilson, or = 1/2MassMC for Staggered */
21 EXTERN Real KappaMD; /* Input for Wilson, or = 1/2MassMD for Staggered */
22 EXTERN Real MassMC; /* Used only for Staggered fermions */
23 EXTERN Real MassMD; /* Used only for Staggered fermions */
24 EXTERN Real dt;
29 EXTERN int IntrplOrd; /* Order of interpolation */
30 EXTERN int Algorithm; /* No Metropolis step (i.e., use Hybrid */
31 EXTERN int AlgETrj; /* Specify trajectory length algorithm */
32 EXTERN int AlgLPStp; /* Algorithm requires P and psi at end of traj. */
33 EXTERN int RefNextTrj; /* Refresh P or chi for next trajectory? */
34 EXTERN int RalgP; /* R-algorithm mode? */
35 EXTERN Real LamPl; /* For stochastic accept/reject test */
36 EXTERN Real LamMi; /* For stochastic accept/reject test */
37 EXTERN Real AlpLog; /* For stochastic estimate of Log(1+x) */
38 EXTERN Real AlpExp; /* For stochastic estimate of Exp(x) */
39 EXTERN int MonitordH; /* Measure dH for every step on the trajectory */
40 EXTERN Real tau0; /* Average trajectory length */
41 
42 /* New variables related to Action improvement */
43 // extern int InvType; /* Type of fermion inverter */
44 extern int GaugeAct; /* Type of Gauge action (Wilson,Symanzik,...) */
45 extern int GlueImp; /* Level of Symanzik improvement in dsdu */
46 extern Real GlueCoeffRT; /* Coefficient of 1x2 rectangle in dsdu */
47 extern Real GlueCoeffPG; /* Coefficient of parallelogram in dsdu */
48 extern int FermAct; /* Type of Fermion action (Wilson,Clover,...) */
49 extern Real MRover; /* Clover inverter over-relaxtion parameter */
50 extern Real ClovCoeff; /* Relative Clover coefficient (=1 at tree level) */
51 extern Real u0; /* Tadpole improvement factor (Tr U_p/3)^(1/4) */
52 extern Real H_parity; /* Strenght of parity breaking term */
53 extern Real ClovCoeffR; /* Spatial Clover coefficient */
54 extern Real ClovCoeffT; /* Temporal Clover coefficient */
55 
56 /* New variables related to the Polynomial MD evolution algorithms */
57 EXTERN int PolyPowNum; /* Polynomial approximation p(x): */
58 EXTERN int PolyPowDen; /* p(x) ~ x^(-PolyPowNum/PolyPowDen) */
59 extern int PolyDegHalf; /* degree(p)/2 */
60 EXTERN Real PolyNorm; /* p(x) = p^tilde(x) p^tilde^dag (x) */
61  /* p^tilde = C(x-z_1)(x-z_2)... */
62  /* = (x-z_1(x-z_2... */
63  /* x = PolyNorm*x z_k = PolyNorm*z_k */
64  /* PolyNorm = C^(1/PolyDegHalf) */
65 
66 EXTERN Real PolyRangLow; /* Range of approximation = */
67 EXTERN Real PolyRangUp; /* = (PolyRangLow,PolyRangUp) */
68 EXTERN Real PolyError; /* Error of approximation */
69 // EXTERN multi1d<Complex> PolyRoots(PolyDegHalf); /* z_1,z_2...z_PolyDegHalf */
70 EXTERN multi1d<Complex> PolyRoots; /* z_1,z_2...z_PolyDegHalf */
71 EXTERN int PolyEvolP; /* Flag for Polynomial Evolution */
72 EXTERN int RatEvolP; /* Flag for Rational Evolution */
73 EXTERN Real PolyArgResc; /* Rescale the argument of polynomial */
74 extern int RatPolyDeg; /* Degree of polynomials in ratio approx */
75 //EXTERN multi1d<Real> NumPolyRoots(PolyDegHalf); /* z_1,z_2...z_PolyDegHalf */
76 //EXTERN multi1d<Real> DenPolyRoots(PolyDegHalf); /* z_1,z_2...z_PolyDegHalf */
77 EXTERN multi1d<Real> NumPolyRoots; /* z_1,z_2...z_PolyDegHalf */
78 EXTERN multi1d<Real> DenPolyRoots; /* z_1,z_2...z_PolyDegHalf */
79 
80 /* Eigenvalue/std::vector used for various overlap or projected algorithms */
81 extern int OverAuxAct; /* Kernel of overlap,dwf */
82 extern Real OverMass; /* Overlap mass */
83 extern int NOperEig; /* Number of eigenvectors kept */
84 extern int NOperEigDim; /* Dimension of eigenvectors kept */
85 //EXTERN multi1d<Real> OperEigVal(NOperEigDim); /* Eigenvalues */
86 // EXTERN multi1d<Real> OperEigVal; /* Eigenvalues */
87 // multi1d<LatticeFermion> OperEigVec(NOperEigDim); /* Eigenvectors */
88 
89 
90 ////////////////////////////////////////////////////////////
91 
92 
93 
94 /* variable which controls number of namelist sites */
95 // EXTERN unsigned global_namelist_vol;
96 
97 // Initialization section
98 #if defined(MAIN)
99 int FftInitP =0;
100 int SchrFun=0;
101 int SftInitP=0;
102 
103 // int invType=21; /* Type of fermion inverter */
104 int GaugeAct=0; /* Type of Gauge action (Wilson,Symanzik,...) */
105 int GlueImp=0; /* Level of Symanzik improvement in dsdu */
106 int FermAct=0; /* Type of Fermion action (Wilson,Clover,...) */
107 Real MRover=1.0; /* Clover inverter over-relaxtion parameter */
108 Real u0=0.0; /* Tadpole improvement factor (Tr U_p/3)^(1/4) */
109 Real ClovCoeff=0.0; /* Relative Clover coefficient (=1 at tree level) */
110 Real ClovCoeffR=0.0; /* Spatial Clover coefficient */
111 Real ClovCoeffT=0.0; /* Temporal Clover coefficient */
112 Real H_parity; /* Strenght of parity breaking term */
113 int PolyDegHalf=0; /* degree(p)/2 */
114 int RatPolyDeg=0; /* Degree of polynomials in ratio approx */
115 
116 int OverAuxAct=UNPRECONDITIONED_WILSON; /* Kernel of overlap,dwf */
117 Real OverMass=0.0; /* Overlap mass */
118 int NOperEig=0; /* Number of eigenvectors kept */
119 int NOperEigDim=0; /* Dimension of eigenvectors kept */
120 #endif
121 
122 #endif
Real MRover
EXTERN int PolyPowDen
EXTERN int PolyPowNum
int FermAct
EXTERN multi1d< Real > DenPolyRoots
Real u0
EXTERN Real MassMC
EXTERN int RefNextTrj
Real H_parity
EXTERN Real RsdCGMDFctr
EXTERN Real MassMD
Real GlueCoeffRT
EXTERN Real LamPl
EXTERN multi1d< Real > NumPolyRoots
Real GlueCoeffPG
Real ClovCoeff
EXTERN Real dt
EXTERN Real tau0
EXTERN Real KappaMC
EXTERN Real AlpLog
int PolyDegHalf
EXTERN int RalgP
int GlueImp
#define EXTERN
EXTERN int FermTypeP
EXTERN Real Nf
EXTERN Real PolyRangUp
int NOperEig
int GaugeAct
EXTERN int RatEvolP
EXTERN Real AlpExp
int OverAuxAct
EXTERN int AlgLPStp
EXTERN int AlgETrj
Real ClovCoeffR
int NOperEigDim
EXTERN int IntrplOrd
EXTERN Real LamMi
EXTERN Real BetaMC
int RatPolyDeg
EXTERN int PolyEvolP
EXTERN Real RsdCGMDMax
EXTERN Real PolyError
EXTERN int MonitordH
EXTERN multi1d< Complex > PolyRoots
EXTERN Real BetaMD
EXTERN Real PolyArgResc
EXTERN int FermiP
EXTERN int MaxCG
Real ClovCoeffT
EXTERN int Algorithm
EXTERN Real RsdCGMC
EXTERN Real KappaMD
EXTERN Real RsdCGMD
EXTERN Real PolyNorm
EXTERN Real PolyRangLow
#define UNPRECONDITIONED_WILSON
Definition: primitives.h:27