Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
57c54841
Commit
57c54841
authored
Dec 15, 2017
by
Matthieu Schaller
Browse files
Added script to fetch the grackle cooling tables from the SWIFT web repository.
parent
223bc1f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/CoolingBox/getCoolingTable.sh
0 → 100755
View file @
57c54841
#!/bin/bash
wget http://virgodb.cosma.dur.ac.uk/swift-webstorage/CoolingTables/CloudyData_UVB
=
HM2012.h5
examples/CoolingBox/run.sh
View file @
57c54841
...
...
@@ -13,6 +13,13 @@ then
python makeIC.py
fi
# Get the Grackle cooling table
if
[
!
-e
CloudyData_UVB
=
HM2012.h5
]
then
echo
"Fetching the Cloudy tables required by Grackle..."
./getCoolingTable.sh
fi
# Run SWIFT
../swift
-s
-C
-t
1 coolingBox.yml
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment