[Core] add quantity Magnetization
- needed for FEM and Material
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user