more conservative op calculation:

start with new gmin, if this fails, fall back to dynamic gmin,
then source stepping
This commit is contained in:
Holger Vogt 2020-04-02 20:00:39 +02:00
parent 2f31bd5c2a
commit 673a14afdb
1 changed files with 6 additions and 0 deletions

View File

@ -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 {