Browse Source

more conservative op calculation:

start with new gmin, if this fails, fall back to dynamic gmin,
then source stepping
pre-master-46
Holger Vogt 6 years ago
parent
commit
673a14afdb
  1. 6
      src/spicelib/analysis/cktop.c

6
src/spicelib/analysis/cktop.c

@ -54,11 +54,17 @@ CKTop (CKTcircuit *ckt, long int firstmode, long int continuemode,
if (ckt->CKTnumGminSteps >= 1) {
if (ckt->CKTnumGminSteps == 1) {
/* only the old gmin */
if (cp_getvar("dyngmin", CP_BOOL, NULL, 0)) {
converged = dynamic_gmin(ckt, firstmode, continuemode, iterlim);
}
/* first the new gmin, then the old gmin */
else {
converged = new_gmin(ckt, firstmode, continuemode, iterlim);
/* if(converged != 0) {
converged = dynamic_gmin(ckt, firstmode, continuemode, iterlim);
}*/
}
}
else {

Loading…
Cancel
Save