ASCOT5
Loading...
Searching...
No Matches
ascot5.h
Go to the documentation of this file.
1
59#ifndef ASCOT5_H
60#define ASCOT5_H
61
62#include <omp.h>
63#include <time.h>
64
66#define stringify(...) #__VA_ARGS__
67
69#define str_macro(c) stringify(c)
70
72#define str_pragma(c) _Pragma(stringify(c))
73
76#define __memalign__ __attribute__((aligned(64)))
77
80#if defined SINGLEPRECISION
81typedef int integer;
82typedef float real;
83#else
84typedef long integer;
85typedef double real;
86#endif
87
90#ifndef NSIMD
91#define NSIMD 16
92#endif
93
95#define MAX_SPECIES 8
96
98#define MHD_MODES_MAX_NUM 512
99
101#define MAX_ATOMIC 32
102
104#define NBI_MAX_DISTANCE 1e-3
105
107#define NBI_MAX_INJ 32
108
111#define WIENERSLOTS 20
112
115#define A5_CCOL_USE_GEOBM 1
116
118#define A5_EXTREMELY_SMALL_TIMESTEP 1e-12
119
121#define A5_PRINTPROGRESSINTERVAL 20
122
124#define A5_WTIME omp_get_wtime()
125
128#define INTERP_SPL_EXPL 0
129
131#define A5_CCOL_USE_TABULATED 0
132
134#define WALL_OCTREE_DEPTH 7
135
136#endif
double real
Definition ascot5.h:85
long integer
Definition ascot5.h:84