Kpoints: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
go back to [[Main Page]], [[Group Pages]], [[Núria_López_and_Group]], [[The_KPOINTS_file]] [[Scripts_for_VASP]] | go back to [[Main Page]], [[Group Pages]], [[Núria_López_and_Group]], [[The_KPOINTS_file]] [[Scripts_for_VASP]] | ||
Instructions: Put this script as executable in your ~/bin folder. | '''Instructions''': Put this script as executable in your ~/bin folder. | ||
'''Recommended name''': kpggen | |||
#!/bin/bash | #!/bin/bash | ||
Revision as of 14:55, 18 July 2014
go back to Main Page, Group Pages, Núria_López_and_Group, The_KPOINTS_file Scripts_for_VASP
Instructions: Put this script as executable in your ~/bin folder.
Recommended name: kpggen
#!/bin/bash ########################################## # Rodrigo García-Muelas @ iciq-Tgn # # Jan 10, 2013 # # For automatic generation of Γ-centered # # Monkhorst-Pack grid of KPOINTS # ########################################## # Input ################################## # 1 2 3 # number of divisions # # 4 # title of first line (optional) # ########################################## if [ -z $4 ] ; then # If title if empty cat >KPOINTS<<! K-POINTS 0 Gamma $1 $2 $3 0 0 0 ! else # If title if specified cat >KPOINTS<<! $4 0 Gamma $1 $2 $3 0 0 0 ! fi