Modified user.h such that astaroth compiles with Pencil Code. Note that this is a temporary fix: we should ultimately set the default parameters for all the logical switches in astaroth.h and let the user redefine them at will, either with the DSL or with user.h

This commit is contained in:
jpekkila
2019-06-27 18:12:14 +03:00
parent b694702cf8
commit 9b45716186

View File

@@ -11,6 +11,12 @@
#else
#define AC_DOUBLE_PRECISION 0
#endif
#define LINDUCTION (LMAGNETIC) // TODO set default to 0 before including user.h
#define LENTROPY (1) // TODO above
#define LFORCING (1) // TODO above
#define STENCIL_ORDER (6) // nghost is not 1, 2 or 3 (as it is not fetched from fortran yet). This causes the compilation to fail. TODO remove this line
#define USER_PROVIDED_DEFINES
#endif