From fffc99f971f0c08afc6afdf53f784be76e688636 Mon Sep 17 00:00:00 2001 From: hackbard Date: Wed, 23 Sep 2009 18:32:23 +0200 Subject: [PATCH] stdvis adapted to new visualize script --- vasp_tools/stdvis | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/vasp_tools/stdvis b/vasp_tools/stdvis index 8a4d86e..2c1dd5a 100755 --- a/vasp_tools/stdvis +++ b/vasp_tools/stdvis @@ -26,6 +26,16 @@ echo "type: 1 no rotation" -r 0.6 fi +# first unit cell in each direction without rotation displaying mirrored atoms +if [ "$type" = "1m" ]; then +echo "type: 1 no rotation, mirrored" +./visualize -w 640 -h 480 -d $i \ + -nll -0.20 -0.20 -0.50 -fur 1.20 1.20 1.20 \ + -b 0.0 0.0 0.0 1.0 1.0 1.0 \ + -c 0.8 -1.7 0.9 -L 0.5 -1.0 0.5 \ + -r 0.6 -m 3.0 0.0 0.0 0.0 3.0 0.0 0.0 0.0 3.0 +fi + # three unit cells in each direction without rotation if [ "$type" = "3" ]; then echo "type: 3 no rotation" @@ -56,19 +66,20 @@ echo "type: 1 rotated" #-b 0.0 0.0 0.0 0.0 0.0 1.0 \ fi -# first unit cell displaying mirrored atoms -if [ "$type" = "1m" ]; then -echo "type: 1 no rotation, mirrored" +# first unit cell rotated by 45 degrees displaying mirrored atoms +if [ "$type" = "1rm" ]; then +echo "type: 1 rotated, mirrored" ./visualize -w 640 -h 480 -d $i \ - -nll -0.20 -0.20 -0.50 -fur 1.20 1.20 1.20 \ + -nll -0.20 -0.20 -0.20 -fur 1.20 1.20 1.20 \ -b 0.0 0.0 0.0 1.0 1.0 1.0 \ -c 0.8 -1.7 0.9 -L 0.5 -1.0 0.5 \ - -r 0.6 -m 2.0 -2.0 0.0 2.0 2.0 0.0 0.0 0.0 3.0 + -r 0.6 -m 2.0 -2.0 0.0 2.0 2.0 0.0 0.0 0.0 3.0 \ + -A 193 1.9 fi -# three unit cells in each direction displaying mirrored atoms -if [ "$type" = "3m" ]; then -echo "type: 3 no rotation, mirrored" +# three unit cells (rotated) in each direction displaying mirrored atoms +if [ "$type" = "3rm" ]; then +echo "type: 3 roted, mirrored" ./visualize -w 640 -h 480 -d $i \ -nll -0.20 -0.20 -0.20 -fur 3.20 3.20 3.20 \ -b 0.0 0.0 0.0 3.0 3.0 3.0 \ -- 2.39.2