diff --git a/CMakeLists.txt b/CMakeLists.txt index a5a514b..45c3a2b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,11 +30,11 @@ endif() message(STATUS "Build type: " ${CMAKE_BUILD_TYPE}) ## Options -option(DOUBLE_PRECISION "Generates double precision code." OFF) -option(BUILD_SAMPLES "Builds projects in samples subdirectory." OFF) -option(BUILD_STANDALONE "Builds standalone Astaroth." ON) -option(MPI_ENABLED "Enables additional functions for MPI communciation." OFF) -option(MULTIGPU_ENABLED "Enables multi-GPU on a single node. Uses peer-to-peer communication instead of MPI. Affects Legacy & Node layers only." ON) +option(DOUBLE_PRECISION "Generates double precision code." ON) +option(BUILD_SAMPLES "Builds projects in samples subdirectory." ON) +option(BUILD_STANDALONE "Builds standalone Astaroth." OFF) +option(MPI_ENABLED "Enables additional functions for MPI communciation." ON) +option(MULTIGPU_ENABLED "Enables multi-GPU on a single node. Uses peer-to-peer communication instead of MPI. Affects Legacy & Node layers only." OFF) ## Options (DEPRECATED) # option(BUILD_DEBUG "Builds the program with extensive error checking" OFF) diff --git a/acc/mhd_solver/stencil_kernel.ac b/acc/mhd_solver/stencil_kernel.ac index 905eb65..0f37ea5 100644 --- a/acc/mhd_solver/stencil_kernel.ac +++ b/acc/mhd_solver/stencil_kernel.ac @@ -5,8 +5,8 @@ #define LMAGNETIC (1) #define LENTROPY (1) #define LTEMPERATURE (0) -#define LFORCING (1) -#define LUPWD (1) +#define LFORCING (0) +#define LUPWD (0) #define LSINK (0) #define AC_THERMAL_CONDUCTIVITY (0.001) // TODO: make an actual config parameter diff --git a/config/astaroth.conf b/config/astaroth.conf index abc1613..ccefc45 100644 --- a/config/astaroth.conf +++ b/config/astaroth.conf @@ -5,9 +5,9 @@ * "Compile-time" params * ============================================================================= */ -AC_nx = 128 -AC_ny = 128 -AC_nz = 128 +AC_nx = 512 +AC_ny = 512 +AC_nz = 512 AC_dsx = 0.04908738521 AC_dsy = 0.04908738521 diff --git a/src/utils/modelsolver.c b/src/utils/modelsolver.c index 92eb71c..e482bd9 100644 --- a/src/utils/modelsolver.c +++ b/src/utils/modelsolver.c @@ -39,7 +39,7 @@ #define LENTROPY (1) #define LTEMPERATURE (0) #define LFORCING (0) -#define LUPWD (1) +#define LUPWD (0) #define AC_THERMAL_CONDUCTIVITY ((Scalar)(0.001)) // TODO: make an actual config parameter typedef AcReal Scalar;