include UNITS: metadata tag
This commit is contained in:
@ -69,10 +69,9 @@ def embed(at, rho):
|
|||||||
def write_file(attypes, filename, Fr, rhor, z2r, nrho, drho, nr, dr, rc):
|
def write_file(attypes, filename, Fr, rhor, z2r, nrho, drho, nr, dr, rc):
|
||||||
struc = "fcc"
|
struc = "fcc"
|
||||||
with open(filename, "w") as f:
|
with open(filename, "w") as f:
|
||||||
f.write("DATE: " + date.today().strftime("%Y-%m-%d"))
|
f.write("DATE: " + date.today().strftime("%Y-%m-%d") + " UNITS: metal")
|
||||||
f.write(" CONTRIBUTOR: Xiaowang Zhou xzhou@sandia.gov and")
|
f.write(" CONTRIBUTOR: Xiaowang Zhou xzhou@sandia.gov, Lucas Hale lucas.hale@nist.gov,")
|
||||||
f.write(" 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(" 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(" 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("Generated by create_eam.py\n")
|
||||||
f.write("{:<5d} {:<24}\n".format(len(attypes), " ".join(attypes)))
|
f.write("{:<5d} {:<24}\n".format(len(attypes), " ".join(attypes)))
|
||||||
|
|||||||
Reference in New Issue
Block a user