[Core] add quantity Magnetization

- needed for FEM and Material
This commit is contained in:
Uwe
2023-02-08 06:23:35 +01:00
parent b41776d077
commit 201b95a5b2
7 changed files with 76 additions and 39 deletions

View File

@@ -359,6 +359,10 @@ QString UnitsSchemaInternal::schemaTranslate(const Quantity &quant, double &fact
unitString = QString::fromLatin1("Wb");
factor = 1e6;
}
else if (unit == Unit::Magnetization) {
unitString = QString::fromLatin1("A/m");
factor = 1e-3;
}
else if (unit == Unit::ElectricalConductance) {
if (UnitValue < 1e-9) {
unitString = QString::fromUtf8("\xC2\xB5S");