-
Notifications
You must be signed in to change notification settings - Fork 7
/
header.h
54 lines (52 loc) · 2.01 KB
/
header.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
! ==============================================
! C preprocessor defines
! ==============================================
! Stop program when warnings or interactive prompts
! are met; suggested for execution on cluster.
#define warnings_are_fatal ! <-----------------------------------------------------------------------------------------
! Use nonblocking communication in XZ directions
#define nonblockingXZ
! Use nonblocking communication in Y direction
! only if the program is NOT uiuj_*
! (uiuj does not support nonblocking comm in Y)
#ifndef forceblockingY
#define nonblockingY
#endif
! Force (nxd,nzd) to be at most the product of a
! power of 2 and a single factor 3
#define useFFTfit
! half or full channel
!#define halfchannel
! Add a bodyforce
!#define bodyforce
#define BODYFORCE_HEADER "body_forces/am_f1/am_pardec.inc"
#define BODYFORCE_MODULES "body_forces/am_f1/am_f1.inc"
! define a bodyforce in space (ibm)
!#define ibm
! Measure per timestep execution time
#define chron
! Distrubute processes among processor so that
! the y-dierction is contiguous
#define ycontiguous
! Compute convection velocity
!#define convvel
! Verbose echo of parallel parameters
#define mpiverbose
! Disable code optimisation where possible (FFTW),
! in order to get code whose behaviour can be replicated
! exactly with different parallelisations. Useful for
! testing.
!#define no_optimising_code
! Files and settings for runtime calculation and disk dump of statistics
#define runtime_avoid_savefld
#define HEADER_RUNTIME "runtime_plugin/instabudget/header.inc"
#define RUNTIME_SETUP_SUBROUTINE "runtime_plugin/instabudget/setup.inc"
#define RUNTIME_FINALISE_SUBROUTINE "runtime_plugin/instabudget/finalise.inc"
#define RUNTIME_SAVE_SUBROUTINE "runtime_plugin/instabudget/save.inc"
#define RUNTIME_AUXILIARY_SUBROUTINES "runtime_plugin/instabudget/aux.inc"
! ==============================================
! Define dependencies
! ==============================================
#if defined (ibm) && ! defined (bodyforce)
#define bodyforce
#endif