|
Main Sospin header file. Includes C++ macros, to simplify expression writing, B operator, Verbosity level and memory usage.
More...
#include "timer.h"
#include "index.h"
#include "dlist.h"
#include "braket.h"
#include "form.h"
#include "enum.h"
Go to the source code of this file.
|
#define | bb(a) DList(0, newIdx(a)) |
| C++ Macro for DList b operator. More...
|
|
#define | bbt(a) DList(1, newIdx(a)) |
| C++ Macro for DList b\dagger operator. More...
|
|
#define | b(a) DList(0, newIdx(#a)) |
| C++ Macro for DList b operator. More...
|
|
#define | bt(a) DList(1, newIdx(#a)) |
| C++ Macro for DList b\dagger operator. More...
|
|
#define | delta(a, b) DList(2, newIdx(#a), newIdx(#b)) |
| C++ Macro for DList delta. More...
|
|
#define | identity DList(3, 0) |
| C++ Macro for DList identity/one. More...
|
|
#define | bra(i, a, b) Braket(i,#a, b, bra) |
| C++ Macro for bra expression. More...
|
|
#define | ket(i, a, b) Braket(i,#a, b, ket) |
| C++ Macro for ket expression. More...
|
|
#define | braket(i, a, b) Braket(i,#a, b, braket) |
| C++ Macro for braket expression. More...
|
|
#define | free(i, a, b) Braket(i,#a, b, none) |
| C++ Macro for none expression. More...
|
|
#define | Field(a, b, c, d) FormField(#a, b, c, d) |
| C++ Macro to declare field properties none expression. More...
|
|
Main Sospin header file. Includes C++ macros, to simplify expression writing, B operator, Verbosity level and memory usage.
Definition in file son.h.
#define b |
( |
|
a | ) |
DList(0, newIdx(#a)) |
C++ Macro for DList b operator.
- Parameters
-
[in] | a | is the index without quotation marks |
Definition at line 87 of file son.h.
#define bb |
( |
|
a | ) |
DList(0, newIdx(a)) |
C++ Macro for DList b operator.
- Parameters
-
[in] | a | is the index in string format or enclosed in quotation marks |
Definition at line 75 of file son.h.
#define bbt |
( |
|
a | ) |
DList(1, newIdx(a)) |
C++ Macro for DList b\dagger operator.
- Parameters
-
[in] | a | is the index in string format or enclosed in quotation marks |
Definition at line 81 of file son.h.
#define bra |
( |
|
i, |
|
|
|
a, |
|
|
|
b |
|
) |
| Braket(i,#a, b, bra) |
C++ Macro for bra expression.
- Parameters
-
i | index sum |
a | constant part without quotation marks |
b | DList expression |
Definition at line 112 of file son.h.
#define braket |
( |
|
i, |
|
|
|
a, |
|
|
|
b |
|
) |
| Braket(i,#a, b, braket) |
C++ Macro for braket expression.
- Parameters
-
i | index sum |
a | constant part without quotation marks |
b | DList expression |
Definition at line 126 of file son.h.
#define bt |
( |
|
a | ) |
DList(1, newIdx(#a)) |
C++ Macro for DList b\dagger operator.
- Parameters
-
[in] | a | is the index without quotation marks |
Definition at line 93 of file son.h.
#define delta |
( |
|
a, |
|
|
|
b |
|
) |
| DList(2, newIdx(#a), newIdx(#b)) |
C++ Macro for DList delta.
- Parameters
-
[in] | a | is the first delta index without quotation marks |
[in] | b | is the second delta index without quotation marks |
Definition at line 100 of file son.h.
#define Field |
( |
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d |
|
) |
| FormField(#a, b, c, d) |
C++ Macro to declare field properties none expression.
- Parameters
-
a | field name without quotation marks |
b | number of upper indexes |
c | number of lower indexes |
d | field with/without flavor index and symmetric/asymmetric field (SYM, ASYM, SYM_WITH_FLAVOR or ASYM_WITH_FLAVOR) |
- Returns
- field name in string format
Definition at line 144 of file son.h.
#define free |
( |
|
i, |
|
|
|
a, |
|
|
|
b |
|
) |
| Braket(i,#a, b, none) |
C++ Macro for none expression.
- Parameters
-
i | index sum |
a | constant part without quotation marks |
b | DList expression |
Definition at line 133 of file son.h.
#define identity DList(3, 0) |
C++ Macro for DList identity/one.
Definition at line 104 of file son.h.
#define ket |
( |
|
i, |
|
|
|
a, |
|
|
|
b |
|
) |
| Braket(i,#a, b, ket) |
C++ Macro for ket expression.
- Parameters
-
i | index sum |
a | constant part without quotation marks |
b | DList expression |
Definition at line 119 of file son.h.
|