[Core] disable the the unit Oersted

- is not feasible for practical usage and (was up to now not used, thus no consequence)
  moreover, Oersted is a cgs unit while we use SI units, thus also not suitable for FEM, only makes problems for magnetization
This commit is contained in:
Uwe
2023-02-08 06:23:35 +01:00
parent ac694dea1e
commit b41776d077
9 changed files with 7040 additions and 7031 deletions

View File

@@ -299,8 +299,6 @@ EXPO [eE][-+]?[0-9]+
"Wb" COUNTCHARS; yylval.quantity.scaler = Quantity::Weber; yylval.quantity.unitStr = yytext; return UNIT; // Weber (kg*m^2/s^2/A)
"Oe" COUNTCHARS; yylval.quantity.scaler = Quantity::Oersted; yylval.quantity.unitStr = yytext; return UNIT; // Oersted (A/m)
"F" COUNTCHARS; yylval.quantity.scaler = Quantity::Farad; yylval.quantity.unitStr = yytext; return UNIT; // Farad (s^4*A^2/m^2/kg)
"mF" COUNTCHARS; yylval.quantity.scaler = Quantity::MilliFarad; yylval.quantity.unitStr = yytext; return UNIT; // milli Farad
"\xC2\xB5F" COUNTCHARS; yylval.quantity.scaler = Quantity::MicroFarad; yylval.quantity.unitStr = yytext; return UNIT; // micro Farad