mirror of https://gitlab.com/QEF/q-e.git
Corrected error in data extraction script for ESM example
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8099 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
8ff617c901
commit
b8a490d309
|
@ -8,5 +8,5 @@
|
|||
echo '# z (A) rho (e) Avg v_hartree Avg v_local Avg v_hart+v_loc'
|
||||
echo '# (eV/A) (eV/A) (eV/A)'
|
||||
ngrid=`grep 'Dense grid:' $1 | awk -F ',' '{print $3}' | sed 's/)//'`
|
||||
let ngrid=$ngrid+5
|
||||
let ngrid="$ngrid+5"
|
||||
grep -A${ngrid} 'ESM Charge and Potential' $1 | tail -n${ngrid} | tail -n+6
|
||||
|
|
Loading…
Reference in New Issue