Revert "Move comment"

This reverts commit dd2a5fd062.
This commit is contained in:
Holger Vogt 2026-04-04 13:50:36 +02:00
parent 14b94b5f15
commit 5eb1b0a510
1 changed files with 6 additions and 7 deletions

View File

@ -86,7 +86,12 @@ VSRCload(GENmodel *inModel, CKTcircuit *ckt)
} else {
time = ckt->CKTtime;
}
/* use the transient functions. */
/* use the transient functions. 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
*/
switch(here->VSRCfunctionType) {
default:
@ -94,12 +99,6 @@ VSRCload(GENmodel *inModel, CKTcircuit *ckt)
break;
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 basetime = 0;
double PHASE;