Base: Restore schema spec for electromagnetic potential unit - fix #25093

This commit is contained in:
marioalexis
2025-11-06 07:42:28 -03:00
committed by Kacper Donat
parent 66600f9f1f
commit 06131ce8b5
2 changed files with 8 additions and 2 deletions

View File

@@ -342,10 +342,10 @@ constexpr Unit Unit::InverseArea = make("InverseArea"
constexpr Unit Unit::InverseLength = make("InverseLength" );
constexpr Unit Unit::InverseVolume = make("InverseVolume" );
constexpr Unit Unit::KinematicViscosity = make("KinematicViscosity" );
constexpr Unit Unit::MagneticFieldStrength = make("Magnetization" );
constexpr Unit Unit::MagneticFieldStrength = make("MagneticFieldStrength" );
constexpr Unit Unit::MagneticFlux = make("MagneticFlux" );
constexpr Unit Unit::MagneticFluxDensity = make("MagneticFluxDensity" );
constexpr Unit Unit::Magnetization = make("MagneticFieldStrength" );
constexpr Unit Unit::Magnetization = make("Magnetization" );
constexpr Unit Unit::Moment = make("Moment" );
constexpr Unit Unit::Pressure = make("Pressure" );
constexpr Unit Unit::Power = make("Power" );

View File

@@ -236,6 +236,9 @@ inline const UnitsSchemaSpec s3
{ "Magnetization", {
{ 0 , "A/m" , 1e-3 }}
},
{ "ElectromagneticPotential", {
{ 0 , "Wb/m" , 1e3 }}
},
{ "ElectricalConductance", {
{ 1e-9 , "\xC2\xB5S" , 1e-12 },
{ 1e-6 , "mS" , 1e-9 },
@@ -445,6 +448,9 @@ inline const UnitsSchemaSpec s4
{ "Magnetization", {
{ 0 , "A/m" , 1e-3 }}
},
{ "ElectromagneticPotential", {
{ 0 , "Wb/m" , 1e3 }}
},
{ "ElectricalConductance", {
{ 1e-9 , "\xC2\xB5S" , 1e-12 },
{ 1e-6 , "mS" , 1e-9 },