Skip to content

Commit

Permalink
NEWINP uses R instead of j
Browse files Browse the repository at this point in the history
  • Loading branch information
kbat committed Nov 22, 2024
1 parent 84cd4ba commit d3c87e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mctools/fluka/fluka-spawn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if [ $NJOBS -le 1 ]; then
fi

for (( j=1; j<=$NJOBS; j++ )); do
NEWINP=$(basename $INP .inp)-spawn$j.inp
R=$((SEED + j))
NEWINP=$(basename $INP .inp)-spawn$R.inp
cat "$INP" | sed "s;^RANDOMI.*;RANDOMIZE 1.0 $R.0;" > $NEWINP
done

0 comments on commit d3c87e6

Please sign in to comment.