Fix saving lists of arrays with recent versions of numpy
[qpms.git] / examples / hexagonal / modes / 02b_compute_disp_0M.sh
blob969c02860853ea500488c7969b1ea675ccbbcf0d
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.00 0.01 1.00 | 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 <<< ${MPOINTX_nmi}*${coeff})e9 s$(bc <<< ${MPOINTY_nmi}*${coeff})e9 \
17 -d $bbb \
18 -t 1e12 \
19 -T 0.3 \
20 -c 250 \
22 done
23 done