Bridge++  Ver. 2.0.2
bridge_defs.h
Go to the documentation of this file.
1 
14 #ifndef DEFS_INCLUDED
15 #define DEFS_INCLUDED
16 
17 #include <string>
18 
19 // for debug
20 //#define LOG printf(">>> %s\n", __PRETTY_FUNCTION__)
21 #define LOG
22 
23 // direction label
25 {
26  XDIR = 0,
27  YDIR = 1,
28  ZDIR = 2,
29  TDIR = 3,
30  WDIR = 4
31 };
32 
34 {
35  Forward = 1, // +mu
36  Backward = -1 // -mu
37 };
38 
39 namespace Element_type
40 {
41  enum type
42  {
43  REAL = 1, COMPLEX = 2
44  };
45 }
46 
47 #endif /* DEFS_INCLUDED */
Element_type
Definition: bridge_defs.h:39
ForwardBackward
ForwardBackward
Definition: bridge_defs.h:33
TDIR
@ TDIR
Definition: bridge_defs.h:29
Direction
Direction
Definition: bridge_defs.h:24
ZDIR
@ ZDIR
Definition: bridge_defs.h:28
Forward
@ Forward
Definition: bridge_defs.h:35
Element_type::REAL
@ REAL
Definition: bridge_defs.h:43
XDIR
@ XDIR
Definition: bridge_defs.h:26
Backward
@ Backward
Definition: bridge_defs.h:36
Element_type::COMPLEX
@ COMPLEX
Definition: bridge_defs.h:43
YDIR
@ YDIR
Definition: bridge_defs.h:27
WDIR
@ WDIR
Definition: bridge_defs.h:30
Element_type::type
type
Definition: bridge_defs.h:41