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

Inconsistency of MW/iMW precisions in CEPTR #560

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

EnnaDelfen
Copy link
Contributor

With this PR, the precision of the molecular weight written by CEPTR matches the one specified for the inverse of the molecular weights (.16f).
This fixes the inconsistency observed when multiplying the MW and the IMW for electrons, where that ratio was too far from 1 (to less than machine precision, which caused problems).
NOTE: one could also choose to reduce the precision of IMW instead, thus not breaking all unit tests... but it seems odd to limit the precision to less than machine precision.
NOTE 2: There is still an inconsistency with transport values, for instance with egtransetWT dumped by transport.py, where the precision here is .8E . Not sure what we may want to do here.

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.

1 participant