Disabled forcing and upwinding for performance tests. Set default grid size to 512^3. Set default cmake params s.t. benchmarks can be reproduced out-of-the-box.
This commit is contained in:
@@ -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)
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user