diff options
| author | Connor Moore <connor.moore@psi.ch> | 2026-07-13 11:29:26 +0200 |
|---|---|---|
| committer | Connor Moore <connor.moore@psi.ch> | 2026-07-13 11:29:26 +0200 |
| commit | f2d6881adecc922fdf62028c7395869935832e45 (patch) | |
| tree | 23ba3b183b513ba00c7910ad6138f96ac0caad2f /triso_study_driver.sh | |
| parent | aa77079897aa8c5b91d0763137c0868e1cb06717 (diff) | |
Fixed driver script not executing model, and added input for dynamic geometry selection (pin-/assembly-/core-level)
Diffstat (limited to 'triso_study_driver.sh')
| -rwxr-xr-x | triso_study_driver.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/triso_study_driver.sh b/triso_study_driver.sh index 3c9e58a..17d1ee9 100755 --- a/triso_study_driver.sh +++ b/triso_study_driver.sh @@ -1,9 +1,13 @@ #!/bin/bash if [[ $1 == "lcl" ]]; then - prog=(openmc-inst01.py hpmr.py -l -g pin) + prog=(openmc-inst01.py hpmr.py -l -g $2 -e) +elif [[ $1 == "nolcl" ]]; then + prog=(./hpmr.py -g $2 -e) else - prog=(./hpmr.py -g pin) + echo "Error: first CLI input must be [lcl/nolcl], and second [pin/ass/core]. Example usage:" + echo " ./triso_study_driver.sh lcl pin (run pin-level on LCL)" + exit -1 fi mkdir -p results/ results/rpt results/rrpt |
