From f3cbc4984c21d7972bc8f5c9bc34182a8dc66d16 Mon Sep 17 00:00:00 2001 From: jpekkila Date: Wed, 19 Jun 2019 16:14:46 +0300 Subject: [PATCH] Enabled toy forcing by default for testing purposes. Note that there are two LFORCING switches at the moment: one in astaroth.h and one in acc/mhd_solver/stencil_process.sps. The switches are not linked and the tests fail or simulations generate unexpected results if both switches are not set to the same value. This will be fixed in the near future. --- include/astaroth.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/astaroth.h b/include/astaroth.h index 10b883c..1322fd5 100644 --- a/include/astaroth.h +++ b/include/astaroth.h @@ -74,7 +74,7 @@ extern "C" { // L-prefix inherited from the old Astaroth, no idea what it means // MV: L means a Logical switch variale, something having true of false value. // Note: forcing is disabled currently in the files generated by acc (compiler of our DSL) -#define LFORCING (0) +#define LFORCING (1) #define LINDUCTION (1) #define LENTROPY (1) #define LTEMPERATURE (0)