-
Notifications
You must be signed in to change notification settings - Fork 7
/
removed_defines
118 lines (118 loc) · 9.09 KB
/
removed_defines
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
DENSITYUOLD #DEPRECATED
DIVVCORRBAD #Better corrector on average but pathological with very uneven particle distributions
DTTEST #Print debug info for particles with dt values below this
FBPARTICLEMIMIC #Inject the same mass/energy as FBPARTICLE
FBPARTICLE #Use particle creation for feedback (for testing only)
LONGRANGESTEP #Predict what particles will need to be put onto a longer timestep. (DEPRECATED)
MASSDIFF #Enable Mass diffusion (probably not a good idea right now)
MS_TST #Print out testing data for the Miller-Scalo IMF
NOCOMPTON #Remove Compton cooling from the cooling code (debug)
ACCZERO #Force accelerations to zero (debug)
ASSERTENEG #Assert that energy generated by cooling is positive (debug)
CHECKSF #Outputs to check on star formation (debug)
CHECKSOFT #Checks on gravitational softening (debug)
COOLDEBUG #Output debugging information from the gas cooling (debug)
COOLING_METAL_BROKEN #Debug lines for outputting some extra data for debugging cooling_metal
DEPTHCHECK #Debug how deep the tree goes during treebuilds
DEBUGTRACK #Extra debugging checks for dumpframe
DRHODTTEST #Output a large list of properties important for the DRHODT parts of the code for debugging
NOEXTHEAT #Turn off all external heating effects (UV, Feedback, etc.) (debug)
NOMOLECULARHCOOLING #Turns COOLING_MOLECULARH into COOLING_METAL
RANOLD #Use an older random number generator for debugging the rubble code
TIMINGDEBUG #Used to debug the timing (walltime I believe). Probably also handy for benchmarking.
TWOPHASEINIT #Put half the initial particle mass into noncooling mass. Useful for debugging.
UNONCOOLDEBUG #Output information for debugging twophase particles as auxiliary arrays
UNONCOOLMERGE #Put the uHot energy from a checkpoint into u (for debugging)
DIFFUSIONTHERMAL #Enable Thermal Diffusion (DEPRECATED - automatically included with -DDIFFUSION)
OLDINITSPHCODE #Use the older multi-resmooth msrInitSph (deprecated?)
UNONCOOLINIT #Initialize the uHot to have equal energy to u (useful for hacking some tests)
SNIA_TST #Print out SN Ia feedback properties
GRADW #Testing code to see how well Grad 1 = 0 output in .curl
SIMPLESF #Use an older, simpler starformation recipe (this involves flipping particles from gas -> star)
SHOCKTRACK #Output additional data in order to more easily track shocks (grad rho, div rho*v)
SINKFREEZE #Don't update the positions of sink particles during Drifts.
NOMETALCOOLING #Just use H2, not metal lines (Requires -DCOOLING_MOLECULARH)
AGGSCLEANUP #Comments suggest this define includes incomplete code.
ALPHACMUL #variable alpha: AV coeffcient multiplier
ALPHAMIN #variable alpha: minimum AV coefficent
BENCHMARK #Turn on benchmarking
CHECKSANITY #Check the sanity of a newly read-in checkpoint
COLORCODE #Color the particles and keep track of them based on their tree position
COMPLETE_LOCAL #Use complete (rather than partial) multipole expansion
CUBICTABLEINTERP #Use a cubic order interpolation for the cooling table (rather than linear)
DEBUG2 #Extra outputs to check treezip is working
DEBUG #Generic debug mode (debug)
DELTAACCELACTIVE #Check that only active particles are used for updating a particles timestep
DELTACCELCAP #Make sure that a particles neighbours have a say in it's timestep.
DIFFUSIONHARMONIC #Use the harmonic sum for calculating thermal diffusion
DIFFUSIONSHOCKCOND #Enable conduction to prevent wall heating in shocks
DKDENSITY #Calculate the density using the derivative of the kernel in the DVDX calculation of density
DRHODTDIVOUT #Output Divv variables used in DRHODT
CD_DEBUG #Debugging flag for CD viscosity limiter
EXTRASINKDATA #Store position and velocity of formed sink. Appears to never be used.
FITDVDX #Use a fitted version of the DenDVDX
GLASS_1 #Set the pressure in two different regions to be different
GLASS_2 #Set the pressure based on the xy-radius
GRADWONESIDED #Only use the primary particle for calculating the kernel gradient (one-sided)
INELASTICCOLLAPSE #Use the experimental inellastic collaspse strategy for collisions
OLD_COMET_FORCE #Enable the do_force for special rubble pile particles (ie comets).
OLD_COMET_STUFF #Initialize special particles (this is a huge kludge)
OLD_KEPLER #An ugly part of the collision code to stop hard scatterings
OLD_VERSION #Change the way the comet force from OLD_COMET_FORCE is calculated
PCONST #Use a constant pressure specified for all gas
REDUCED_EWALD #Used reduced Ewald Summation for faster multipole moment expansions
RHOSF #Form stars linearly with density above 100 H cc^-3
MOLECFRAC_SF_CUTOFF #Add a molecular hydrogen threshold for starformation (10% H2)
TINY_PTHREAD_STACK #Only used on a weird old SGI architecture. Probably can be removed.
USEHMIN #Use a floor to keep the integrator for stiff equations from blowing up
UNROLLED_VSQRT #Unroll the v_sqrt function for speed
SPINUP #Use alternative rotating frame, just apply accelerations.
SPH1D #Only allow forces in the x-direction
CD_ALPHANOISE #Removed, used in CD initial testing
CD_FULLS #Removed, used in CD initial testing
CD_NODOT #Removed, used in CD initial testing
CD_RALT #Removed, used in CD initial testing
CD_RDVDS #Removed, used in CD initial testing
CD_XIDVDS #Removed, used in CD initial testing
CONFIG_BFLOAT_4 #Precision for variables in Grackle. Actually use 8
DIFFUSIONPRICE #Daniel Price's Thermal Diffusion
DRHODT #Use the change in density over time (dRho/dt) for timesteps
SINKINGOUTVPRED #Write out the vpred values to the outputted tipsy file for sink particles.
SINKEXTRADATA #Also store the position and velocity of newly formed sink particles.
PREDRHO #Generate predicted rho values (if bPredRho == 2)
MARK #Deprecated mark array method
COOLING_BATE #The code for this no longer exists.
COOLING_BOLEY #The code for this no longer exists.
COOLING_DISK #The code for this no longer exists.
DENSITYU #Calculate modified energy-weighted density (used for cooling) (good for large density gradients)
DENSITYUNOTP #More aggressive version of the energy-weighted density that ignores contribution from center
FUVSHIELD #Alter the amount of FUV shielding?
WOLFIRE_NOTWOPHASE #Use an imposed cooling rate without a two-phase instability
WOLFIRE #Use the Wolfire values for the metal cooling rate with UV heating
USETABLE #Grab the cooling rates from a table
NOFIT #Don't use any fitting for the cooling rates without H2 in cooling_metal_noH2.c
PARTSHEAR #Use particle shear for the correlation length in H2 cooling
NEWSHEAR #Use the diffusion length for the correlation length in the H2 code from Charlotte Christensen
CLOUDY #Use CLOUDY version of line cooling
BATEPOLY #Use the default cooling polynomial COOLING_POLY
MODBATEPOLY #Use a modified polytropic equation of state with COOLING_BATE
SUPERCOOL #Enable "Supercool" type particles (just gas particles with mean velocities?)
RADIATIVEBOX #Estimate Local Lyman-Werner radiation from the tree
GR_DRAG #Enable Frame dragging
SCFSMOOTHED #Use smoothed masses for star cluster formation (-DSTARCLUSTFORM)
SFBOUND #Use a virial criterion (boundedness) for allowing star formation.
SFCONDITIONS #Use additional conditions for deciding if you form stars (Jeans length vs. h)
SFEVENTCRIT #Log additional star formation criteria
STARSINK #Star particles are also sink partikes. (Requires -DSINKING)
STARCLUSTERFORM #Make new stars using the clustered star formation recipe
JEANSSF #Use a simple Jeans length criteria for starformation
PRES_HK #Use the Euclidean mean of the both pOverRho values to calculate PdV work
PRES_MONAGHAN #Use Monaghan's PdV work calculation (the average of both pOverRho values)
SMOOTHBSW #Use a smoothed Balsara switch
RTDENSITY #Use an Ritchie & Thomas densities (DOI:10.1046/j.1365-8711.2001.04268.x)
RTF #-DRTDENSITY and -DRTFORCE
PONRHOFLOOR #Minimum P/rho value, prevents floating point errors in some cases
NODIFFUSIONTHERMAL #Disable thermal diffusion
DENSSOFT #Use the SPH density for gravity softening
TZKEY64 #Use 64 (instead of 128) bit keys for the tree. Faster, but allows less depth.
SINGLE #Use single precision floats where possible