Browse Source

During op evaluation we might use source stepping.

Independent V and I sources are stepped, the B source however is not.

Add source stepping to B source.
pre-master-46
Holger Vogt 4 years ago
parent
commit
0c59a77fc4
  1. 8
      src/spicelib/devices/asrc/asrcload.c

8
src/spicelib/devices/asrc/asrcload.c

@ -51,6 +51,14 @@ ASRCload(GENmodel *inModel, CKTcircuit *ckt)
else
factor = factor * here->ASRCm;
#ifdef XSPICE_EXP
value *= ckt->CKTsrcFact;
value *= cm_analog_ramp_factor();
#else
if (ckt->CKTmode & MODETRANOP)
factor *= ckt->CKTsrcFact;
#endif
/*
* Get the function and its derivatives evaluated
*/

Loading…
Cancel
Save