forked from fusion-energy/neutronics-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostBuild
More file actions
executable file
·15 lines (11 loc) · 827 Bytes
/
postBuild
File metadata and controls
executable file
·15 lines (11 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
mkdir -p "$HOME/nuclear_data"
# Download and extract ENDF/b 8.0 chain file with the SFR branching ratios to ~/nuclear_data/chain-endf-b8.0.xml
# TODO replaced with TENDL FNS chain or add FNS branching ratios as to ENDF/b 8.0 chain option
download_chain -l endf -r b8.0 -b SFR -d "$HOME/nuclear_data" -f chain-endf-b8.0.xml
# Download and extract ENDF/b 8.0 cross section files
wget -q -O - https://anl.box.com/shared/static/uhbxlrx7hvxqw27psymfbhi7bx7s6u6a.xz | tar -C "$HOME/nuclear_data" -xJ
mv "$HOME/nuclear_data"/endfb-viii.0-hdf5/* "$HOME/nuclear_data"
# Download and extract WMP Library
wget https://github.com/mit-crpg/WMP_Library/releases/download/v1.1/WMP_Library_v1.1.tar.gz -O "$HOME/nuclear_data/WMP_Library_v1.1.tar.gz"
tar -xzf "$HOME/nuclear_data/WMP_Library_v1.1.tar.gz" -C "$HOME/nuclear_data"