mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 14:04:32 +00:00 
			
		
		
		
	static names and enum list
This commit is contained in:
		
							
								
								
									
										39
									
								
								lib/qcd/Grid_qcd_dirac.cc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								lib/qcd/Grid_qcd_dirac.cc
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,39 @@
 | 
				
			|||||||
 | 
					#include <Grid.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					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  ",
 | 
				
			||||||
 | 
					      "         "
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user