Make status report (MS Windows only) a little smarter.
This commit is contained in:
parent
fe3222a118
commit
6c48657896
|
|
@ -30,7 +30,8 @@ CKTop (CKTcircuit *ckt, long int firstmode, long int continuemode,
|
|||
int converged;
|
||||
|
||||
#ifdef HAS_PROGREP
|
||||
SetAnalyse("op", 0);
|
||||
if (!ckt->CKTnoOpIter || ckt->CKTnumGminSteps >= 1 || ckt->CKTnumSrcSteps >= 1)
|
||||
SetAnalyse("op", 0);
|
||||
#endif
|
||||
|
||||
ckt->CKTmode = firstmode;
|
||||
|
|
|
|||
|
|
@ -319,9 +319,9 @@ OPtran(CKTcircuit *ckt, int oldconverged)
|
|||
NOISEAN *nojob = (NOISEAN *) ckt->CKTcurJob;
|
||||
*/
|
||||
if(optime == 0) {
|
||||
|
||||
// int type = ckt->CKTcurJob->JOBtype;
|
||||
|
||||
#ifdef HAS_PROGREP
|
||||
SetAnalyse("optran init", 0);
|
||||
#endif
|
||||
SPfrontEnd->IFerrorf(ERR_INFO, "Transient op started");
|
||||
if (opramptime > 0) {
|
||||
CKTnode* n;
|
||||
|
|
@ -483,11 +483,10 @@ OPtran(CKTcircuit *ckt, int oldconverged)
|
|||
|
||||
resume:
|
||||
#ifdef HAS_PROGREP
|
||||
if (optime == 0.)
|
||||
SetAnalyse( "optran init", 0);
|
||||
else
|
||||
if (optime > 0)
|
||||
SetAnalyse( "optran", (int)((optime * 1000.) / opfinaltime + 0.5));
|
||||
#endif
|
||||
|
||||
ckt->CKTdelta =
|
||||
MIN(ckt->CKTdelta,ckt->CKTmaxStep);
|
||||
#ifdef XSPICE
|
||||
|
|
|
|||
Loading…
Reference in New Issue