@@ -8,53 +8,6 @@ extern MPI_Comm psc_comm_world;
88extern int psc_world_rank;
99extern int psc_world_size;
1010
11- // FIXME, this is chosen globally and to match vpic, but could be
12- // made dependent on actual MaterialList implementation
13- enum
14- {
15- MaterialIdMax = 32768
16- };
17- typedef int16_t MaterialId;
18-
19- // FIXME, this is chosen globally and to match vpic for now
20- typedef int32_t SpeciesId; // Must be 32-bit wide for particle_injector_t
21-
22- // FIXME, get rid of this BOUNDARY macro
23- #define BOUNDARY (i, j, k ) \
24- (13 + (i) + 3 * (j) + 9 * (k)) /* FORTRAN -1:1,-1:1,-1:1 */
25-
26- // FIXME, get rid of
27- #define VOXEL (x, y, z, nx, ny, nz ) ((x) + ((nx) + 2 ) * ((y) + ((ny) + 2 ) * (z)))
28-
29- // FIXME, get rid of
30- #define BEGIN_PRIMITIVE do
31- #define END_PRIMITIVE while (0 )
32-
33- // FIXME
34- #ifndef ALIGNED
35- #define ALIGNED (a )
36- #endif
37-
38- // FIXME
39- #ifndef RESTRICT
40- #define RESTRICT __restrict
41- #endif
42-
43- // FIXME
44- #define DECLARE_ALIGNED_ARRAY (type, align, name, count ) \
45- type name[(count)] __attribute__((aligned(align)))
46-
47- // FIXME
48- #define POW2_CEIL (u, a ) (((u) + (a) - 1 ) & (~((a) - 1 )))
49-
50- // FIXME
51- #ifndef LIKELY
52- #define LIKELY (_c ) __builtin_expect((_c), 1 )
53- #endif
54- #ifndef UNLIKELY
55- #define UNLIKELY (_c ) __builtin_expect((_c), 0 )
56- #endif
57-
5811#ifndef mprintf
5912#define mprintf (fmt... ) \
6013 do { \
0 commit comments