-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathmake.type.hydro
More file actions
38 lines (30 loc) · 927 Bytes
/
make.type.hydro
File metadata and controls
38 lines (30 loc) · 927 Bytes
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
#-- Default hydro only build
DFLAGS += -DMPI_CHOLLA
DFLAGS += -DPRECISION=2
DFLAGS += -DHLLC
# Integrator
ifeq ($(findstring cosmology,$(TYPE)),cosmology)
DFLAGS += -DSIMPLE
DFLAGS += -DPPMP
else
DFLAGS += -DVL
DFLAGS += -DPLMC
endif
# Apply a density and temperature floor
DFLAGS += -DDENSITY_FLOOR
DFLAGS += -DTEMPERATURE_FLOOR
# Solve the Gas Internal Energy using a Dual Energy Formalism
#DFLAGS += -DDE
# Apply cooling on the GPU from precomputed tables
#DFLAGS += -DCOOLING_GPU
# Measure the Timing of the different stages
#DFLAGS += -DCPU_TIME
# Select output format
# Can also add -DSLICES and -DPROJECTION
OUTPUT ?= -DOUTPUT -DHDF5
DFLAGS += $(OUTPUT)
#Select if the Hydro Conserved data will reside in the GPU
#and the MPI transfers are done from the GPU
#If not specified, MPI_GPU is off by default
#This is set in the system make.host file
DFLAGS += $(MPI_GPU)