Fix saving lists of arrays with recent versions of numpy
[qpms.git] / examples / hexagonal / modes / 02_compute_disp.sh
blobbe7011363d6fd8bd0902b98c97f1805278d2038e
1 #!/bin/bash
2 SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
3 MISCDIR=../../../misc
5 source ${SCRIPTDIR}/00_params.sh
7 for bbb in 1 -2 -3 -4 ; do
8 for coeff in $(seq 0.80 0.01 1.50 | sed -e s/,/./g) ; do
9 ${MISCDIR}/lat2d_modes.py \
10 -n $BG_REFINDEX \
11 -b s${A1X_nm}e-9 s${A1Y_nm}e-9 \
12 -b s${A2X_nm}e-9 s${A2Y_nm}e-9 \
13 -p s${P1X_nm}e-9 s${P1Y_nm}e-9 \
14 -p s${P2X_nm}e-9 s${P2Y_nm}e-9 \
15 -L 3 -m $METAL -r ${RADIUS_nm}e-9 -H ${HEIGHT_nm}e-9 \
16 -k s$(bc <<< ${KPOINTX_nmi}*${coeff})e9 s$(bc <<< ${KPOINTY_nmi}*${coeff})e9 \
17 -d $bbb \
18 -t 1e13 \
19 -T 0.2 \
20 -c 250
21 done
22 done