Browse Source

Improve commant

pre-master-46
Holger Vogt 7 years ago
parent
commit
30565e45c4
  1. 2
      src/spicelib/analysis/traninit.c

2
src/spicelib/analysis/traninit.c

@ -24,7 +24,7 @@ int TRANinit(CKTcircuit *ckt, JOB *anal)
ckt->CKTmaxStep = job->TRANmaxStep;
/* Maximum step size is limited to tstep given by .tran tstep tstop <tstart <tmax>>.
May be overridden by giving 'set nostepsizelimit' to (tstop - tstart)/50.
May be overridden to a value (tstop - tstart)/50 by 'set nostepsizelimit'.
Both may be overriden by setting tmax. */
if(ckt->CKTmaxStep == 0) {
if ((ckt->CKTstep < ( ckt->CKTfinalTime - ckt->CKTinitTime )/50.0) && !cp_getvar("nostepsizelimit", CP_BOOL, NULL, 0))

Loading…
Cancel
Save