qpms/examples/rectangular/modes/02x_compute_disp.sh

22 lines
567 B
Bash
Executable File

#!/bin/bash
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
MISCDIR=../../../misc
source ${SCRIPTDIR}/00_params.sh
for bbb in 1 -2 2 -3 ; do
for coeff in $(seq -0.200 0.010 0.200 | sed -e s/,/./g) ; do
${MISCDIR}/lat2d_modes.py \
-n $BG_REFINDEX \
-b s${A1X_nm}e-9 s${A1Y_nm}e-9 \
-b s${A2X_nm}e-9 s${A2Y_nm}e-9 \
-p s${P1X_nm}e-9 s${P1Y_nm}e-9 \
-L 3 -m $METAL -r ${RADIUS_nm}e-9 -H ${HEIGHT_nm}e-9 \
-k s$(bc <<< ${B1X_nmi}*${coeff})e9 s$(bc <<< ${B1Y_nmi}*${coeff})e9 \
-d $bbb \
-T 0.2 \
-c 250
done
done