ROCK  1.11.5
Relativistic Oscillator Calculation Kit
rows.h
Go to the documentation of this file.
1 #ifndef ROCK_ROWS_H
2 #define ROCK_ROWS_H
3 /* Copyright (C) 1991-2018 Free Software Foundation, Inc.
4  This file is part of the GNU C Library.
5 
6  The GNU C Library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Lesser General Public
8  License as published by the Free Software Foundation; either
9  version 2.1 of the License, or (at your option) any later version.
10 
11  The GNU C Library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public
17  License along with the GNU C Library; if not, see
18  <http://www.gnu.org/licenses/>. */
19 /* This header is separate from features.h so that the compiler can
20  include it implicitly at the start of every compilation. It must
21  not itself include <features.h> or any other header that includes
22  <features.h> because the implicit include comes before any feature
23  test macros that may be defined in a source file before it first
24  explicitly includes a system header. GCC knows the name of this
25  header in order to preinclude it. */
26 /* glibc's intent is to support the IEC 559 math functionality, real
27  and complex. If the GCC (4.9 and later) predefined macros
28  specifying compiler intent are available, use them to determine
29  whether the overall intent is to support these features; otherwise,
30  presume an older compiler has intent to support these features and
31  define these macros by default. */
32 /* wchar_t uses Unicode 10.0.0. Version 10.0 of the Unicode Standard is
33  synchronized with ISO/IEC 10646:2017, fifth edition, plus
34  the following additions from Amendment 1 to the fifth edition:
35  - 56 emoji characters
36  - 285 hentaigana
37  - 3 additional Zanabazar Square characters */
41 // Row Labels of Matrices //
59  enum { DIM_UZL_ = DIM_BD, DIM_UZR_ = DIM_BD, };
91 // Shortcuts for C-Programming //
92 // No need to translate //
94 /*
95 // The order VB is deprecated on CPU
96 #define VB_(IDX_V, IDX_BEAM) ((IDX_V) * (dim_b) + (IDX_BEAM))
97 #define VB(ROW_LABEL, IDX_BEAM) VB_((RID_##ROW_LABEL), (IDX_BEAM))
98 )
99 #define VBMH_(IDX_V, IDX_BEAM, IDX_MODE, IDX_HARM) ((dim_b) * (dim_m) * (DIM_HARM) * (IDX_V) + (dim_m) * (DIM_HARM) * (IDX_BEAM) + (DIM_HARM) * (IDX_MODE) + (IDX_HARM) - (MIN_HARM))
100 ARM))
101 #define VBM_(IDX_V, IDX_BEAM, IDX_MODE) ((dim_b) * (dim_m) * (IDX_V) + (dim_m) * (IDX_BEAM) + (IDX_MODE))
102 )
103 // Also, VNB is migrated to BVN for distributing beams in teams
104 #define VNB_(IDX_V, IDX_NODE, IDX_BEAM) ((dim_z) * (dim_b) * (IDX_V) + (dim_b) * (IDX_NODE) + (IDX_BEAM))
105 )
106 #define VNB(ROW_LABEL, IDX_NODE, IDX_BEAM) ((dim_z) * (dim_b) * (RID_##ROW_LABEL) + (dim_b) * (IDX_NODE) + (IDX_BEAM))
107 )
108 */
116 #endif
Definition: rows.h:88
Definition: rows.h:76
Definition: rows.h:49
Definition: rows.h:76
Definition: rows.h:76
Definition: rows.h:75
Definition: rows.h:88
Definition: rows.h:89
Definition: rows.h:48
Definition: rows.h:76
Definition: rows.h:82
Definition: rows.h:75
Definition: rows.h:82
Definition: rows.h:58
Definition: rows.h:81
ROW_OF_BLT_AVG
Definition: rows.h:81
Definition: rows.h:58
Definition: rows.h:48
Definition: rows.h:81
Definition: rows.h:89
Definition: rows.h:88
Definition: rows.h:82
Definition: rows.h:47
Definition: rows.h:89
ROW_OF_BEAM_INIT
Definition: rows.h:75
Definition: rows.h:49
Definition: rows.h:89
Definition: rows.h:46
Definition: rows.h:75
Definition: rows.h:76
Definition: rows.h:81
ROW_OF_BLT_TRJ
Definition: rows.h:88
Definition: rows.h:48
Definition: rows.h:88
Definition: rows.h:46
Definition: rows.h:75
Definition: rows.h:89
Definition: rows.h:81
Definition: rows.h:49
Definition: rows.h:88
Definition: rows.h:76
Definition: rows.h:76
Definition: rows.h:89
Definition: rows.h:49
Definition: rows.h:75
Definition: rows.h:46
Definition: rows.h:46
Definition: rows.h:48
Definition: rows.h:58
Definition: rows.h:47
Definition: rows.h:59
Definition: rows.h:75
Definition: rows.h:88
Definition: rows.h:48
Definition: rows.h:47
ROW_OF_BC
Definition: rows.h:48
ROW_OF_BD
Definition: rows.h:58
Definition: rows.h:88
ROW_OF_MOD
Definition: rows.h:46
Definition: rows.h:75
Definition: rows.h:59
Definition: rows.h:75