Make error message more verbose:
State explicitely when transient op has failed.
This commit is contained in:
parent
f78adce641
commit
89fcc20570
|
|
@ -91,7 +91,12 @@ CKTop (CKTcircuit *ckt, long int firstmode, long int continuemode,
|
|||
|
||||
/* If command 'optran' is not given, the function
|
||||
returns immediately with the previous 'converged' */
|
||||
int prevconverged = converged;
|
||||
converged = OPtran(ckt, converged);
|
||||
if (converged == 106)
|
||||
fprintf(cp_err, "Error: Transient op failed, timestep too small\n\n");
|
||||
else if (converged != prevconverged)
|
||||
fprintf(cp_err, "Error: Transient op failed, cause unrecorded\n\n");
|
||||
|
||||
#ifdef XSPICE
|
||||
/* gtri - wbk - add convergence problem reporting flags */
|
||||
|
|
|
|||
Loading…
Reference in New Issue