Skip to content

Add atomic unit of electric field gradient#2270

Merged
andrewgsavage merged 2 commits intohgrecco:masterfrom
CCP-NC:master
Feb 15, 2026
Merged

Add atomic unit of electric field gradient#2270
andrewgsavage merged 2 commits intohgrecco:masterfrom
CCP-NC:master

Conversation

@Sathya-S3
Copy link
Contributor

Summary

This PR adds the atomic unit of electric field gradient to Pint's unit definitions.

Changes Made

  • Added new dimension: [electric_field_gradient] = [energy] / [area] / [charge]
  • Added atomic unit: atomic_unit_of_electric_field_gradient = E_h / a_0 ** 2 / e
  • Added alias: a_u_efg for convenient usage
  • Updated CHANGES file: Documented the addition for version 0.26

Checklist

- Add atomic_unit_of_electric_field_gradient = E_h / a_0 ** 2 / e with alias a_u_efg
- Update CHANGES file to document new unit addition
@andrewgsavage andrewgsavage merged commit 40936b9 into hgrecco:master Feb 15, 2026
54 checks passed
@codspeed-hq
Copy link

codspeed-hq bot commented Feb 15, 2026

Merging this PR will not alter performance

✅ 448 untouched benchmarks


Comparing CCP-NC:master (7836086) with master (6049a9c)

Open in CodSpeed

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.

Requesting addition of atomic_unit_electric_field_gradient to unit registry

2 participants