From fd581f22c59b419469afd4478715918172da108e Mon Sep 17 00:00:00 2001 From: degironc Date: Thu, 4 Sep 2003 15:22:04 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@301 c92efa57-630b-4861-b058-cf58834340f0 --- pwtools/mv.awk | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pwtools/mv.awk b/pwtools/mv.awk index ae59308e9..192bc6c5c 100644 --- a/pwtools/mv.awk +++ b/pwtools/mv.awk @@ -1,7 +1,9 @@ -BEGIN {nr=0; nat=0; nline=0; print} +BEGIN {nr=0; nat=0; nline=0; nframe=0; label=""; print} { if ($3=="atoms/cell" && nr==0) {nat=$5 }; if ($1=="lattice" && $2=="parameter" && nr==0 ) {alat= $5*0.529177} - if ($1=="Search") {nr=NR; nline=nat+2; print "frame ",$7,$9,$10; print " "}; - if (NR-nr>=2 && NR-nr=1 && NR-nr<=nline) print $2*alat,$3*alat,$4*alat + if (NR-nr==nline) {print " ";nline=0;label=""} }