Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gammaMatrixSet_Dirac.h
Go to the documentation of this file.
1 
14 #ifndef GAMMAMATRIXSET_DIRAC_INCLUDED
15 #define GAMMAMATRIXSET_DIRAC_INCLUDED
16 
17 #include "gammaMatrixSet.h"
18 
19 
21 
26  public:
27  static const std::string class_name;
28 
29  public:
31  {
32  init_GM();
33  }
34 
35  void print();
36 
37  private:
38  void init_GM();
39 
40 #ifdef USE_FACTORY
41  private:
42  static GammaMatrixSet *create_object()
43  {
44  return new GammaMatrixSet_Dirac();
45  }
46 
47  public:
48  static bool register_factory()
49  {
50  return GammaMatrixSet::Factory::Register("Dirac", create_object);
51  }
52 #endif
53 };
54 #endif
static const std::string class_name
Set of Gamma Matrices: basis class.
Set of Gamma Matrix: Dirac representation.