include UNITS: metadata tag

This commit is contained in:
Axel Kohlmeyer
2022-02-12 10:01:20 -05:00
parent 0113346e54
commit 2fdadcfeb6

View File

@ -69,10 +69,9 @@ def embed(at, rho):
def write_file(attypes, filename, Fr, rhor, z2r, nrho, drho, nr, dr, rc):
struc = "fcc"
with open(filename, "w") as f:
f.write("DATE: " + date.today().strftime("%Y-%m-%d"))
f.write(" CONTRIBUTOR: Xiaowang Zhou xzhou@sandia.gov and")
f.write(" Lucas Hale lucas.hale@nist.gov")
f.write(" Germain Clavier g.m.g.c.clavier@tue.nl/germain.clavier@gmail.com\n")
f.write("DATE: " + date.today().strftime("%Y-%m-%d") + " UNITS: metal")
f.write(" CONTRIBUTOR: Xiaowang Zhou xzhou@sandia.gov, Lucas Hale lucas.hale@nist.gov,")
f.write(" and Germain Clavier g.m.g.c.clavier@tue.nl/germain.clavier@gmail.com\n")
f.write(" CITATION: X. W. Zhou, R. A. Johnson, H. N. G. Wadley, Phys. Rev. B, 69, 144113(2004)\n")
f.write("Generated by create_eam.py\n")
f.write("{:<5d} {:<24}\n".format(len(attypes), " ".join(attypes)))