-
Notifications
You must be signed in to change notification settings - Fork 53
/
mocks.options
19 lines (14 loc) · 1.1 KB
/
mocks.options
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
### Special option for DDrppi_mocks/DDsmu_mocks
OPT += -DOUTPUT_RPAVG ### Enabling this DOES NOT cause too much of a runtime-hit for DDrppi (<= 10% performance hit)
#OPT += -DFAST_DIVIDE=2 ##replaces a divide with approximate reciprocals, followed by 'FAST_DIVIDE' number of Newton-Raphson steps. Trade-off between speed and accuracy; may be slower on newer computers
OPT += -DENABLE_MIN_SEP_OPT ## Enable optimizations relating to min. separations between cell-pairs (introduced in v2.3)
OPT += -DCOPY_PARTICLES ## Make a copy of particles positions and weights (doubles the memory required, introduced in v2.3)
### Specific options for wtheta (DDtheta_mocks.c)
#OPT += -DOUTPUT_THETAAVG
OPT += -DLINK_IN_DEC
OPT += -DLINK_IN_RA #link_in_dec must be enabled before link_in_ra
#OPT += -DFAST_ACOS ## replaces acos by an 8th order REMEZ polynomial. Results are approximate (max. absolute error 3.6e-9) ~50% boost, but obviously approximate
#### Floating point precision to use
OPT += -DDOUBLE_PREC
#### If input distances are already in co-moving (relevant for DDrppi_mocks, DDsmu_mocks and vpf)
#OPT += -DCOMOVING_DIST