Skip to content

Fix unit in docstring for EffectiveChargeDensity - #638

Merged
fhagemann merged 1 commit into
JuliaPhysics:mainfrom
fhagemann:docstring
Sep 10, 2026
Merged

fhagemann merged 1 commit into
JuliaPhysics:mainfrom
fhagemann:docstring

Conversation

@fhagemann

Copy link
Copy Markdown
Collaborator

Fixes #619: Correct SI unit of the EffectiveChargeDensity is V/m², namely charge density C/m³ multiplied with ϵ0 = 8.854 × 10⁻¹² F/m. This is now reflected in the docstring.

This PR also adds a comment to the methods converting between EffectiveChargeDensity and NamedTuple, which for legacy reasons will keep on assuming the unit V (internal_voltage_unit) instead.

@fhagemann fhagemann added the documentation This issue asks for documentation label Sep 10, 2026
@fhagemann
fhagemann merged commit 3f4a0ba into JuliaPhysics:main Sep 10, 2026
11 checks passed
@fhagemann
fhagemann deleted the docstring branch September 10, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation This issue asks for documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EffectiveChargeDensity has three conflicting unit identities

1 participant