From ecf599bb15e52901fef4e0a68200e50c6a4e7792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Sat, 6 Jun 2020 20:44:52 +0300 Subject: [PATCH] WIP hexarray modes example Former-commit-id: 21c5b46f776d93af936888f46171961fd014489f --- examples/hexagonal/modes/01_compute_modes.sh | 16 ++++++++++++++++ examples/hexagonal/modes/bc_env | 1 + 2 files changed, 17 insertions(+) create mode 100755 examples/hexagonal/modes/01_compute_modes.sh create mode 100644 examples/hexagonal/modes/bc_env diff --git a/examples/hexagonal/modes/01_compute_modes.sh b/examples/hexagonal/modes/01_compute_modes.sh new file mode 100755 index 0000000..1741fc9 --- /dev/null +++ b/examples/hexagonal/modes/01_compute_modes.sh @@ -0,0 +1,16 @@ +#!/bin/bash +SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +MISCDIR=../../../misc + +source ${SCRIPTDIR}/00_params.sh + +${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 \ + -p s${P2X_nm}e-9 s${P2Y_nm}e-9 \ + -L 3 -m $METAL -r ${RADIUS_nm}e-9 -H ${HEIGHT_nm}e-9 \ + -k s${KPOINTX_nmi}e9 s${KPOINTY_nmi}e9 \ + -d -3 \ + -P diff --git a/examples/hexagonal/modes/bc_env b/examples/hexagonal/modes/bc_env new file mode 100644 index 0000000..8e74449 --- /dev/null +++ b/examples/hexagonal/modes/bc_env @@ -0,0 +1 @@ +scale=20;pi=3.14159265358979323846;