CHROMA
stag_phases_s.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 #ifndef STAG_PHASES_H
4 #define STAG_PHASES_H
5 
6 #include <chromabase.h>
7 
8 namespace Chroma
9 {
10  namespace StagPhases
11  {
12  // These are the K-S Phases (aka alpha in Eduardo's notation)
13  /*! \ingroup gauge */
14  class alphaClass
15  {
16  private:
17  static multi1d<LatticeInteger> phases;
18 
19  // initP should be automatically initialised to 0
20  // I don't know how I can force this
21  static bool initP;
22  static void init();
23  public:
24  static const LatticeInteger& alpha(const int dim);
25  };
26 
27 
28  // These are the Mesonic Phases (a.k.a beta in Eduardo's notation)
29  /*! \ingroup gauge */
30  class betaClass
31  {
32  private:
33  static multi1d<LatticeInteger> phases;
34 
35  // initP should be automatically initialised to 0
36  // I don't know how I can force this
37  static bool initP;
38  static void init();
39  public:
40  static const LatticeInteger& beta(const int dim);
41  };
42 
43  static const LatticeInteger& alpha(const int dim) {
44  return alphaClass::alpha(dim);
45  }
46 
47  static const LatticeInteger& beta(const int dim) {
48  return betaClass::beta(dim);
49  }
50 
51  }
52 
53 } // end namespace Chroma
54 
55 
56 #endif
Primary include file for CHROMA library code.
static multi1d< LatticeInteger > phases
Definition: stag_phases_s.h:17
static const LatticeInteger & alpha(const int dim)
static const LatticeInteger & beta(const int dim)
static multi1d< LatticeInteger > phases
Definition: stag_phases_s.h:33
static const LatticeInteger & beta(const int dim)
Definition: stag_phases_s.h:47
static const LatticeInteger & alpha(const int dim)
Definition: stag_phases_s.h:43
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10