From 2a67214f9de3b81ef3e038f46bc0d1960385d619 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Fri, 24 Apr 2015 19:12:14 +0100 Subject: [PATCH] static names and enum list --- lib/qcd/Grid_qcd_dirac.cc | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 lib/qcd/Grid_qcd_dirac.cc diff --git a/lib/qcd/Grid_qcd_dirac.cc b/lib/qcd/Grid_qcd_dirac.cc new file mode 100644 index 00000000..6526dfd3 --- /dev/null +++ b/lib/qcd/Grid_qcd_dirac.cc @@ -0,0 +1,39 @@ +#include + +namespace Grid { + + namespace QCD { + + Gamma::GammaMatrix Gamma::GammaMatrices [] = { + Gamma::Identity, + Gamma::GammaX, + Gamma::GammaY, + Gamma::GammaZ, + Gamma::GammaT, + Gamma::Gamma5, + Gamma::MinusIdentity, + Gamma::MinusGammaX, + Gamma::MinusGammaY, + Gamma::MinusGammaZ, + Gamma::MinusGammaT, + Gamma::MinusGamma5 + }; + const char *Gamma::GammaMatrixNames[] = { + "Identity ", + "GammaX ", + "GammaY ", + "GammaZ ", + "GammaT ", + "Gamma5 ", + "-Identity", + "-GammaX ", + "-GammaY ", + "-GammaZ ", + "-GammaT ", + "-Gamma5 ", + " " + }; + + + } +}