Removed old comments and renamed USER_PROVIDED to USER_PROVIDED_DEFINES to be more explicit
This commit is contained in:
@@ -63,21 +63,11 @@ extern "C" {
|
|||||||
* Compile-time constants used during simulation (user definable)
|
* Compile-time constants used during simulation (user definable)
|
||||||
* =============================================================================
|
* =============================================================================
|
||||||
*/
|
*/
|
||||||
|
// USER_PROVIDED_DEFINES must be defined in user.h if the user wants to override the following
|
||||||
///////////// PAD TEST
|
// logical switches
|
||||||
// NOTE: works only with nx is divisible by 32
|
|
||||||
//#define PAD_LEAD (32 - STENCIL_ORDER/2)
|
|
||||||
//#define PAD_SIZE (32 - STENCIL_ORDER)
|
|
||||||
///////////// PAD TEST
|
|
||||||
|
|
||||||
// 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)
|
|
||||||
//
|
|
||||||
#include "user.h"
|
#include "user.h"
|
||||||
|
|
||||||
#ifndef USER_PROVIDED
|
#ifndef USER_PROVIDED_DEFINES
|
||||||
|
|
||||||
#define STENCIL_ORDER (6)
|
#define STENCIL_ORDER (6)
|
||||||
#define NGHOST (STENCIL_ORDER/2)
|
#define NGHOST (STENCIL_ORDER/2)
|
||||||
#define LHYDRO (1)
|
#define LHYDRO (1)
|
||||||
@@ -87,7 +77,6 @@ extern "C" {
|
|||||||
#define LENTROPY (1)
|
#define LENTROPY (1)
|
||||||
#define LTEMPERATURE (0)
|
#define LTEMPERATURE (0)
|
||||||
#define LMAGNETIC LINDUCTION
|
#define LMAGNETIC LINDUCTION
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define AC_THERMAL_CONDUCTIVITY (AcReal(0.001)) // TODO: make an actual config parameter
|
#define AC_THERMAL_CONDUCTIVITY (AcReal(0.001)) // TODO: make an actual config parameter
|
||||||
|
@@ -11,6 +11,6 @@
|
|||||||
#else
|
#else
|
||||||
#define AC_DOUBLE_PRECISION 0
|
#define AC_DOUBLE_PRECISION 0
|
||||||
#endif
|
#endif
|
||||||
#define USER_PROVIDED
|
#define USER_PROVIDED_DEFINES
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user