-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
49 lines (42 loc) · 1.13 KB
/
CMakeLists.txt
File metadata and controls
49 lines (42 loc) · 1.13 KB
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
include_directories(.)
set(Material_inst
EquationOfState
GammaLawGas
PolytropicEquationOfState
IsothermalEquationOfState
StiffenedGas
)
set(Material_sources
PhysicalConstants.cc
UnitConversion.cc
)
set(Material_headers
EquationOfState.hh
EquationOfStateInline.hh
GammaLawGas.hh
StiffenedGas.hh
HelmholtzEquationOfState.hh
IsothermalEquationOfState.hh
IsothermalEquationOfStateInline.hh
PhysicalConstants.hh
PhysicalConstantsInline.hh
PolytropicEquationOfState.hh
PolytropicEquationOfStateInline.hh
UnitConversion.hh
)
spheral_install_python_files(
MaterialUnits.py
MaterialEquationsOfState.py
computeHugoniot.py
)
# Helmholtz
if (SPHERAL_ENABLE_HELMHOLTZ)
message("-- Helmholtz equation of state enabled")
list(APPEND Material_inst HelmholtzEquationOfState)
list(APPEND Material_headers HelmholtzEquationOfState.hh)
list(APPEND Material_sources public_helm.f90 invert_helm.f90)
else()
message("-- Helmholtz equation of state disabled")
endif()
instantiate(Material_inst Material_sources)
spheral_add_obj_library(Material SPHERAL_OBJ_LIBS)