Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ti.py | enhancing data precision #32

Merged
merged 10 commits into from
Jul 5, 2023

Conversation

Vibsteamer
Copy link
Contributor

change the format of lammps thermo from %.8g (lammps default, 8 significant figures) to %20.6f for concerned thermal quantities.

some systems have very large per-atom energy (lower than -1000 eV/atom) While the reference point of the energy could be arbitary that gives even lower values, the deltaE in cared range of thermal conditions is fixed e.g. ~ several meV/atom. Storing the total energy of such systems may run out of significant figures before the cared precision.

formats of related data-duplication output files 'data' are also changed from %.6e to %20.6f format of ti.out is also changed from %.8e in to %.12e which stores total energy too

change the format of lammps thermo from %.8g (8 significant figures) to %20.6f for concerned thermal quantities.

some systems have very large per-atom energy (lower than -1000 eV/atom) 
While the reference point of the energy could be arbitary that gives even lower values, the deltaE in cared range of thermal conditions is fixed e.g. ~ several meV/atom.
Storing the total energy of such systems may run out of significant figures before the cared precision.  

formats of related data-duplication output files 'data' are also changed from %.6e to %20.6f
format of ti.out is also changed from %.8e in to %.12e which stores total energy too
fix typo
thermo_modify should be after the thermo_style, and the colum range 4~8 (nooted as 4*8) is dependent on the thermo_style. Developer should add new thermo_modify lines if they add other kinds of ens and corresponding thermol_style.
@wanghan-iapcm wanghan-iapcm merged commit b719828 into deepmodeling:master Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants