Fix missing import in finiterectlat-scatter.py
[qpms.git] / examples / rectangular / modes / 02x_compute_disp.sh
blobc17bfaa428e3eb60f02a74c1c8f0f5d7c3b74765
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 2 -3 ; do
8 for coeff in $(seq -0.200 0.010 0.200 | 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 -L 3 -m $METAL -r ${RADIUS_nm}e-9 -H ${HEIGHT_nm}e-9 \
15 -k s$(bc <<< ${B1X_nmi}*${coeff})e9 s$(bc <<< ${B1Y_nmi}*${coeff})e9 \
16 -d $bbb \
17 -T 0.2 \
18 -c 250
19 done
20 done