28 int b = s.findRev(
" ");
29 if (a != -1 && b != -1) {
30 if (a > (
int) s.length() -
b) b = a;
32 if (a < 8 || s.length() - b < 8) b = -1;
33 if (b != -1) s[
b] =
'\n';
48 QObject::tr(
"simulation temperature in degree Celsius")));
50 QObject::tr(
"relative tolerance for convergence")));
52 QObject::tr(
"absolute tolerance for currents")));
54 QObject::tr(
"absolute tolerance for voltages")));
56 QObject::tr(
"put operating points into dataset")+
59 QObject::tr(
"maximum number of iterations until error")));
61 QObject::tr(
"save subcircuit nodes into dataset")+
64 QObject::tr(
"preferred convergence algorithm")+
65 " [none, gMinStepping, SteepestDescent, LineSearch, Attenuation, SourceStepping]"));
67 QObject::tr(
"method for solving the circuit matrix")+
68 " [CroutLU, DoolittleLU, HouseholderQR, HouseholderLQ, GolubSVD]"));
82 Name = QObject::tr(
"dc simulation");
83 BitmapFile = (
char *)
"dc";
85 if(getNewOne)
return new DC_Sim();