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

Use Hartree atomic units everywhere #163

Merged
merged 11 commits into from
May 18, 2023
Merged

Use Hartree atomic units everywhere #163

merged 11 commits into from
May 18, 2023

Conversation

brainandforce
Copy link
Owner

I've converted RealBasis and ReciprocalBasis to using bohr as the default length unit (and rad*bohr⁻¹ for inverse length). By default, energy units are assumed to be in Hartree. (Packages like VASP that don't use Hartree atomic units by default have their inputs converted to match the package's conventions)

@codecov
Copy link

codecov bot commented May 18, 2023

Codecov Report

Patch coverage: 60.00% and project coverage change: -0.23 ⚠️

Comparison is base (a4c702a) 49.36% compared to head (831d35f) 49.13%.

❗ Current head 831d35f differs from pull request most recent head c3191c4. Consider uploading reports for the commit c3191c4 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #163      +/-   ##
==========================================
- Coverage   49.36%   49.13%   -0.23%     
==========================================
  Files          17       17              
  Lines        1335     1337       +2     
==========================================
- Hits          659      657       -2     
- Misses        676      680       +4     
Impacted Files Coverage Δ
src/Electrum.jl 66.66% <ø> (ø)
src/atoms.jl 69.16% <ø> (ø)
src/data/realspace.jl 27.77% <ø> (ø)
src/types.jl 100.00% <ø> (ø)
src/software/lammps.jl 55.40% <14.28%> (-0.76%) ⬇️
src/lattices.jl 70.09% <100.00%> (-2.81%) ⬇️
src/software/abinit.jl 43.90% <100.00%> (ø)
src/software/vasp.jl 50.26% <100.00%> (+0.26%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@brainandforce brainandforce merged commit d60c993 into main May 18, 2023
4 checks passed
@brainandforce brainandforce deleted the standardize-units branch May 18, 2023 17:06
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.

None yet

1 participant