CASMcode icon indicating copy to clipboard operation
CASMcode copied to clipboard

Energy units in CASM

Open darjaved opened this issue 11 months ago • 1 comments

Does CASM give the energies as eV/prim, prim can have any number of sites, is vacancy also considered during the formation energy calculation?

sel.query([comp, Ef, clEf, hull_dist, cl_hull_dist])

above will give me all energies as eV/prim? so, i have to divide the energies by number of sites in prim to get in eV/atom.

darjaved avatar Feb 29 '24 07:02 darjaved

When you query energy it gives energy per prim. If you want energy per atom, you can query energy_per_atom. If you have vacancies and want energy per site, then you can divide energy by scel_size * number of sites in the prim.

xivh avatar Mar 01 '24 21:03 xivh