The automatic generation of input files is particularly important when we are performing tens to hundreds or even thousands of calculations. An automation of the disorder on the local Si/Ge of the half-heusler Fe\(_2\)MnSi in the Munich Korringa-Kohn-Rostoker Package can be expressed as:
The creation of a potencial to perform self-consistent and exchange-correlation calculations is a must. The experimental lattice parameters of Fe\(_2\)MnGe DO\(_{19}\) obtained experimentally by Zhang et al. in the Journal of Alloys and Compounds, 352(1):99 – 102, 2003 were used to calculate the experimental volume of the cell in atomic units.
If we want we can generate a loop to increment or decrement the volume and the ratio c/a from -5% to +5%.
After getting a new ratio c/a and volume we can finally calculate the new lattice parametters.
We use a function to specify the primitive lattice vectors expressed in fractional (direct) cartesians.
After a few calculations we are prepared to calculate the Wigner-Seitz radius and muffin tin radius which we will need to perform our self-consistent calculation.
Shell scripting is a useful tool to automate our calculations. Not only to generate input files but also to gather information from our output files in an efficient way. To have acess to all those scripts you can access my github repository here.