Skip to content

possible inconsistency in units of cell and positions #12

Closed Answered by OndrejMarsalek
gabriele16 asked this question in Q&A
Discussion options

You must be logged in to vote

There is a method to the madness, but it should be better documented, so we will do that - thank you for bringing it up.

The idea is that all data within AML itself is in atomic units. Units in external files are determined either by the format itself, by convention (position data in XYZ, for example), or by whatever a specific program does. As read_frames_cp2k gets the name of an XYZ file produced by CP2K, that has to be in angstrom, but internally, the position data is converted to atomic units after being read. If there is a cell provided to the function by hand, that has to be in atomic units, as it is AML data directly in Python. You can easily grab the factor from aml.constants and …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gabriele16
Comment options

Answer selected by OndrejMarsalek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants