TRIQS/nda
2.0.0
Multi-dimensional array library for C++
Toggle main menu visibility
Loading...
Searching...
No Matches
literals.hpp
Go to the documentation of this file.
1
// Copyright (c) 2020--present, The Simons Foundation
2
// This file is part of TRIQS/nda and is licensed under the Apache License, Version 2.0.
3
// SPDX-License-Identifier: Apache-2.0
4
// See LICENSE in the root of this distribution for details.
5
10
11
#pragma once
12
13
#include "
./clef.hpp
"
14
15
namespace
nda::clef::literals {
16
21
22
// Define literal placeholders starting from the end of the allowed index spectrum.
23
#define PH(I) (placeholder<63 - (I)>{})
24
26
constexpr
auto
i_
= PH(0);
27
29
constexpr
auto
j_
= PH(1);
30
32
constexpr
auto
k_
= PH(2);
33
35
constexpr
auto
l_
= PH(3);
36
38
constexpr
auto
bl_
= PH(4);
39
41
constexpr
auto
w_
= PH(5);
42
44
constexpr
auto
iw_
= PH(6);
45
47
constexpr
auto
W_
= PH(7);
48
50
constexpr
auto
iW_
= PH(8);
51
53
constexpr
auto
t_
= PH(9);
54
56
constexpr
auto
tau_
= PH(10);
57
58
#undef PH
59
61
62
}
// namespace nda::clef::literals
clef.hpp
Includes all relevant headers for the core clef library.
nda::clef::literals::iW_
constexpr auto iW_
Placeholder for imaginary bosonic frequencies.
Definition
literals.hpp:50
nda::clef::literals::iw_
constexpr auto iw_
Placeholder for imaginary fermionic frequencies.
Definition
literals.hpp:44
nda::clef::literals::j_
constexpr auto j_
Generic placeholder #2.
Definition
literals.hpp:29
nda::clef::literals::tau_
constexpr auto tau_
Placeholder for imaginary times.
Definition
literals.hpp:56
nda::clef::literals::i_
constexpr auto i_
Generic placeholder #1.
Definition
literals.hpp:26
nda::clef::literals::bl_
constexpr auto bl_
Placeholder for block indices.
Definition
literals.hpp:38
nda::clef::literals::W_
constexpr auto W_
Placeholder for real bosonic frequencies.
Definition
literals.hpp:47
nda::clef::literals::w_
constexpr auto w_
Placeholder for real fermionic frequencies.
Definition
literals.hpp:41
nda::clef::literals::t_
constexpr auto t_
Placeholder for real times.
Definition
literals.hpp:53
nda::clef::literals::k_
constexpr auto k_
Generic placeholder #3.
Definition
literals.hpp:32
nda::clef::literals::l_
constexpr auto l_
Generic placeholder #4.
Definition
literals.hpp:35
nda
clef
literals.hpp
Generated by
1.17.0