]> www.ginac.de Git - ginac.git/blob - ginac/tinfos.h
0f53714b6d29d9f6b73b4f1e7a1f0b974b2dd353
[ginac.git] / ginac / tinfos.h
1 /** @file tinfos.h
2  *
3  *  Values for a do-it-yourself typeinfo scheme. */
4
5 /*
6  *  GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
7  *
8  *  This program is free software; you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation; either version 2 of the License, or
11  *  (at your option) any later version.
12  *
13  *  This program is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with this program; if not, write to the Free Software
20  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21  */
22
23 #ifndef __GINAC_TINFOS_H__
24 #define __GINAC_TINFOS_H__
25
26 namespace GiNaC {
27
28 const unsigned TINFO_basic         = 0x00000001U;
29
30 const unsigned TINFO_expairseq     = 0x00010001U;
31 const unsigned TINFO_add           = 0x00011001U;
32 const unsigned TINFO_mul           = 0x00011002U;
33
34 const unsigned TINFO_symbol        = 0x00020001U;
35 const unsigned TINFO_constant      = 0x00021001U;
36
37 const unsigned TINFO_exprseq       = 0x00030001U;
38 const unsigned TINFO_function      = 0x00031001U;
39 const unsigned TINFO_fderivative   = 0x00032001U;
40 const unsigned TINFO_ncmul         = 0x00031002U;
41
42 const unsigned TINFO_lst           = 0x00040001U;
43
44 const unsigned TINFO_matrix        = 0x00050001U;
45
46 const unsigned TINFO_power         = 0x00060001U;
47
48 const unsigned TINFO_relational    = 0x00070001U;
49
50 const unsigned TINFO_fail          = 0x00080001U;
51
52 const unsigned TINFO_numeric       = 0x00090001U;
53
54 const unsigned TINFO_pseries       = 0x000a0001U;
55
56 const unsigned TINFO_indexed       = 0x000b0001U;
57 const unsigned TINFO_color         = 0x000b1000U;
58 // reserved up to                    0x000b10ffU
59 // for color algebras (only used for return_type_tinfo())
60 const unsigned TINFO_clifford      = 0x000b1100U;
61 // reserved up to                    0x000b11ffU
62 // for clifford algebras (only used for return_type_tinfo())
63
64 const unsigned TINFO_structure     = 0x000c0001U;
65 // reserved up to                    0x000cffffU
66 // for user defined structures
67
68 const unsigned TINFO_idx           = 0x000d0001U;
69 const unsigned TINFO_varidx        = 0x000d1001U;
70 const unsigned TINFO_spinidx       = 0x000d2001U;
71
72 const unsigned TINFO_tensor        = 0x000e0001U;
73 const unsigned TINFO_tensdelta     = 0x000e1001U;
74 const unsigned TINFO_tensmetric    = 0x000e1002U;
75 const unsigned TINFO_minkmetric    = 0x000e2001U;
76 const unsigned TINFO_spinmetric    = 0x000e2002U;
77 const unsigned TINFO_tensepsilon   = 0x000e1003U;
78 const unsigned TINFO_su3one        = 0x000e1008U;
79 const unsigned TINFO_su3t          = 0x000e1009U;
80 const unsigned TINFO_su3f          = 0x000e100aU;
81 const unsigned TINFO_su3d          = 0x000e100bU;
82 const unsigned TINFO_diracone      = 0x000e100cU;
83 const unsigned TINFO_diracgamma    = 0x000e100dU;
84 const unsigned TINFO_diracgamma5   = 0x000e100eU;
85 const unsigned TINFO_diracgammaL   = 0x000e100fU;
86 const unsigned TINFO_diracgammaR   = 0x000e1010U;
87
88 const unsigned TINFO_wildcard      = 0x000f0001U;
89
90 const unsigned TINFO_symmetry      = 0x00100001U;
91
92 } // namespace GiNaC
93
94 #endif // ndef __GINAC_TINFOS_H__