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)
|
||||
* =============================================================================
|
||||
*/
|
||||
|
||||
///////////// PAD TEST
|
||||
// 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)
|
||||
//
|
||||
// USER_PROVIDED_DEFINES must be defined in user.h if the user wants to override the following
|
||||
// logical switches
|
||||
#include "user.h"
|
||||
|
||||
#ifndef USER_PROVIDED
|
||||
|
||||
#ifndef USER_PROVIDED_DEFINES
|
||||
#define STENCIL_ORDER (6)
|
||||
#define NGHOST (STENCIL_ORDER/2)
|
||||
#define LHYDRO (1)
|
||||
@@ -87,7 +77,6 @@ extern "C" {
|
||||
#define LENTROPY (1)
|
||||
#define LTEMPERATURE (0)
|
||||
#define LMAGNETIC LINDUCTION
|
||||
|
||||
#endif
|
||||
|
||||
#define AC_THERMAL_CONDUCTIVITY (AcReal(0.001)) // TODO: make an actual config parameter
|
||||
|
Reference in New Issue
Block a user