Move comment
This commit is contained in:
parent
7159d6aa4b
commit
dd2a5fd062
|
|
@ -86,12 +86,7 @@ VSRCload(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
} else {
|
} else {
|
||||||
time = ckt->CKTtime;
|
time = ckt->CKTtime;
|
||||||
}
|
}
|
||||||
/* use the transient functions. Parameter limits:
|
/* use the transient functions. */
|
||||||
TR negative or 0 --> TR = ckt->CKTstep
|
|
||||||
TF negative or 0 --> TF = ckt->CKTstep
|
|
||||||
PW < 0 --> PW = 0
|
|
||||||
PER <= 0 --> PER = TR + TF + PW
|
|
||||||
*/
|
|
||||||
switch(here->VSRCfunctionType) {
|
switch(here->VSRCfunctionType) {
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
@ -99,6 +94,12 @@ VSRCload(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PULSE: {
|
case PULSE: {
|
||||||
|
/* Parameter limits :
|
||||||
|
TR negative or 0 --> TR = ckt->CKTstep
|
||||||
|
TF negative or 0 --> TF = ckt->CKTstep
|
||||||
|
PW < 0 --> PW = 0
|
||||||
|
PER <= 0 --> PER = TR + TF + PW
|
||||||
|
*/
|
||||||
double V1, V2, TD, TR, TF, PW, PER;
|
double V1, V2, TD, TR, TF, PW, PER;
|
||||||
double basetime = 0;
|
double basetime = 0;
|
||||||
double PHASE;
|
double PHASE;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue