Problem:
User enters a chemical formula (e.g. SiO2, Nacl) and optionally a phase. The function returns the material density.
Proposed steps:
@sbillinge I edited the tasks based on our discussion today. Please take a look and let me know if everything looks good :) I might close some of the current PRs to keep the commiting history clean. Thanks!
Problem:
User enters a chemical formula (e.g. SiO2, Nacl) and optionally a phase. The function returns the material density.
Proposed steps:
ase.Atoms?) using the given chemical formula and optional phase information.Atoms.hill_formula) to compute the Hill notation for the chemical formula and attach it to the structure object.Atoms.info["cod_entries"].density = (Z * molar_mass) / (volume_cm3 * AVOGADRO_NUMBER).@sbillinge I edited the tasks based on our discussion today. Please take a look and let me know if everything looks good :) I might close some of the current PRs to keep the commiting history clean. Thanks!