Logo
Explore Help
Sign In
cwpearson/astaroth
1
0
Fork 0
You've already forked astaroth
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
1e6740f9996b59f4cd90376b4e7b41cdd178c55e
astaroth/acc/mhd_solver/stencil_defines.h
jpekkila b8869bb848 Linked the defines used by the DSL and astaroth.h. Now f.ex. LENTROPY has to be set only once in acc/mhd_solver/stencil_defines.h and it is propagated throughout the whole project. The name for stencil_defines.h is not final and may change if I come up with a better name. In any case, there is now a standard header associated with each DSL solver where the user can set defines, and declare arrays (VTXBUF_LNRHO) and device constants (uniforms).
2019-07-01 18:37:56 +03:00

10 lines
208 B
C
Raw Blame History

#define STENCIL_ORDER (6)
#define NGHOST (STENCIL_ORDER / 2)
#define LDENSITY (1)
#define LHYDRO (1)
#define LMAGNETIC (0)
#define LENTROPY (0)
#define LTEMPERATURE (0)
#define LFORCING (0)
#define LUPWD (0)
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 21ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API