Skip to content

feat: add CGS electromagnetic unit conversions - #40

Merged
ScottishTapWater merged 1 commit into
feat/nautical-unitsfrom
feat/cgs-emag-units
Oct 25, 2026
Merged

ScottishTapWater merged 1 commit into
feat/nautical-unitsfrom
feat/cgs-emag-units

Conversation

@ScottishTapWater

@ScottishTapWater ScottishTapWater commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds the opt-in DimensionalQuantities.Extensions.CgsEmag package on top of #39. It provides named conversions for practical CGS mechanical units (dyne, erg, barye, gal), CGS electromagnetic EMU electrical units (ab units and biot), and magnetic units (maxwell, gauss, oersted). The provider generates no SI-prefixed helpers.

Core gains package-neutral Acceleration, ElectricCharge, and Capacitance quantity names. The README documents the package and clarifies that these are SI conversions, not a separate CGS dimension algebra.

Verification

  • Release solution build: 0 warnings, 0 errors.
  • Full suite: 1,013 tests passed, including five CgsEmag tests and twelve packaged integration tests.
  • dotnet pack produced all runtime and symbol packages; package layout check passed.
  • dotnet format --verify-no-changes --no-restore passed for changed C# files.
  • Independent production and test reviews found no actionable issues.

Factors follow NIST SP 811 Appendix B.9 and NIST's magnetic-property unit table. NIST distinguishes CGS EMU, ESU, and Gaussian systems; this package covers EMU electrical units and named magnetic conversions, not ESU electrical units.

@ScottishTapWater
ScottishTapWater merged commit f84e7df into main Oct 25, 2026
4 checks passed
@ScottishTapWater
ScottishTapWater deleted the feat/cgs-emag-units branch October 25, 2026 10:57
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