-
Notifications
You must be signed in to change notification settings - Fork 7
/
header.h
66 lines (51 loc) · 1.78 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
55
56
57
58
59
60
61
62
63
64
65
66
! ==============================================
! C preprocessor defines
! ==============================================
! Which mpi transpose do you want?
#define packunpack
! 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
! This avoids to save Dati.cart.out every dt_field during
! the simulation. The file is saved only at the end of
! runtime
!#define runtime_avoid_savefld
! ==============================================
! Define dependencies
! ==============================================
#if defined (ibm) && ! defined (bodyforce)
#define bodyforce
#endif