]> www.ginac.de Git - ginac.git/blobdiff - ginac/tinfos.h
Added a document about the coding conventions used in GiNaC. Corrections,
[ginac.git] / ginac / tinfos.h
index 767285576bfb19eba4ce71ffc291621e7eb910c2..0f53714b6d29d9f6b73b4f1e7a1f0b974b2dd353 100644 (file)
@@ -3,7 +3,7 @@
  *  Values for a do-it-yourself typeinfo scheme. */
 
 /*
- *  GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -36,6 +36,7 @@ const unsigned TINFO_constant      = 0x00021001U;
 
 const unsigned TINFO_exprseq       = 0x00030001U;
 const unsigned TINFO_function      = 0x00031001U;
+const unsigned TINFO_fderivative   = 0x00032001U;
 const unsigned TINFO_ncmul         = 0x00031002U;
 
 const unsigned TINFO_lst           = 0x00040001U;
@@ -53,8 +54,12 @@ const unsigned TINFO_numeric       = 0x00090001U;
 const unsigned TINFO_pseries       = 0x000a0001U;
 
 const unsigned TINFO_indexed       = 0x000b0001U;
-const unsigned TINFO_color         = 0x000b1001U;
-const unsigned TINFO_clifford      = 0x000b1002U;
+const unsigned TINFO_color         = 0x000b1000U;
+// reserved up to                    0x000b10ffU
+// for color algebras (only used for return_type_tinfo())
+const unsigned TINFO_clifford      = 0x000b1100U;
+// reserved up to                    0x000b11ffU
+// for clifford algebras (only used for return_type_tinfo())
 
 const unsigned TINFO_structure     = 0x000c0001U;
 // reserved up to                    0x000cffffU
@@ -62,17 +67,27 @@ const unsigned TINFO_structure     = 0x000c0001U;
 
 const unsigned TINFO_idx           = 0x000d0001U;
 const unsigned TINFO_varidx        = 0x000d1001U;
+const unsigned TINFO_spinidx       = 0x000d2001U;
 
 const unsigned TINFO_tensor        = 0x000e0001U;
 const unsigned TINFO_tensdelta     = 0x000e1001U;
 const unsigned TINFO_tensmetric    = 0x000e1002U;
 const unsigned TINFO_minkmetric    = 0x000e2001U;
+const unsigned TINFO_spinmetric    = 0x000e2002U;
 const unsigned TINFO_tensepsilon   = 0x000e1003U;
 const unsigned TINFO_su3one        = 0x000e1008U;
 const unsigned TINFO_su3t          = 0x000e1009U;
 const unsigned TINFO_su3f          = 0x000e100aU;
 const unsigned TINFO_su3d          = 0x000e100bU;
-const unsigned TINFO_diracgamma    = 0x000e100cU;
+const unsigned TINFO_diracone      = 0x000e100cU;
+const unsigned TINFO_diracgamma    = 0x000e100dU;
+const unsigned TINFO_diracgamma5   = 0x000e100eU;
+const unsigned TINFO_diracgammaL   = 0x000e100fU;
+const unsigned TINFO_diracgammaR   = 0x000e1010U;
+
+const unsigned TINFO_wildcard      = 0x000f0001U;
+
+const unsigned TINFO_symmetry      = 0x00100001U;
 
 } // namespace GiNaC