mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 05:47:42 +02:00
Improve commant
This commit is contained in:
@@ -24,7 +24,7 @@ int TRANinit(CKTcircuit *ckt, JOB *anal)
|
|||||||
ckt->CKTmaxStep = job->TRANmaxStep;
|
ckt->CKTmaxStep = job->TRANmaxStep;
|
||||||
|
|
||||||
/* Maximum step size is limited to tstep given by .tran tstep tstop <tstart <tmax>>.
|
/* 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. */
|
Both may be overriden by setting tmax. */
|
||||||
if(ckt->CKTmaxStep == 0) {
|
if(ckt->CKTmaxStep == 0) {
|
||||||
if ((ckt->CKTstep < ( ckt->CKTfinalTime - ckt->CKTinitTime )/50.0) && !cp_getvar("nostepsizelimit", CP_BOOL, NULL, 0))
|
if ((ckt->CKTstep < ( ckt->CKTfinalTime - ckt->CKTinitTime )/50.0) && !cp_getvar("nostepsizelimit", CP_BOOL, NULL, 0))
|
||||||
|
|||||||
Reference in New Issue
Block a user