Skip to content

Commit

Permalink
Update hyper-grep.sh
Browse files Browse the repository at this point in the history
fix bug:
beta_xxz ==> beta_xzz
  • Loading branch information
ahmadubuntu authored Nov 12, 2016
1 parent 474b451 commit df6a5da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hyper-grep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ mu_tot=`echo ${mu_tot} | sed 's/D/\*10\^/' | sed 's/+//'`
# print data
#===============================================================================================================================================================

printf "Structure,μx,μy,μz,μ0,αxx,αxy,αyy,αxz,αyz,αzz,|α0|,Δα,|α0|(esu),Δα(esu),βxxx,βxxy,βxyy,βyyy,βxxz,βxyz,βyyz,βxxz,βyzz,βzzz,β0,β0(esu)\n"
printf "Structure,μx,μy,μz,μ0,αxx,αxy,αyy,αxz,αyz,αzz,|α0|,Δα,|α0|(esu),Δα(esu),βxxx,βxxy,βxyy,βyyy,βxxz,βxyz,βyyz,βxzz,βyzz,βzzz,β0,β0(esu)\n"

printf "%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s\n" $infile $mux $muy $muz $mu_tot $axx $axy $ayy $axz $ayz $azz $atot_iso $atot_aniso $atot_iso_esu*10^-24 $atot_aniso_esu*10^-24 $bxxx $bxxy $bxyy $byyy $bxxz $bxyz $byyz $bxxz $byzz $bzzz $Btot $btot_esu*10^-33
printf "%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s,=%s\n" $infile $mux $muy $muz $mu_tot $axx $axy $ayy $axz $ayz $azz $atot_iso $atot_aniso $atot_iso_esu*10^-24 $atot_aniso_esu*10^-24 $bxxx $bxxy $bxyy $byyy $bxxz $bxyz $byyz $bxzz $byzz $bzzz $Btot $btot_esu*10^-33

0 comments on commit df6a5da

Please sign in to comment.