|
|
|
@ -107,11 +107,11 @@ time1 = SPfrontEnd->IFseconds(); |
|
|
|
|
|
|
|
if (ckt->CKTkeepOpInfo) { |
|
|
|
/* Dump operating point. */ |
|
|
|
error = SPfrontEnd->OUTpBeginPlot ( |
|
|
|
ckt, ckt->CKTcurJob, |
|
|
|
"Distortion Operating Point", |
|
|
|
NULL, IF_REAL, |
|
|
|
numNames, nameList, IF_REAL, &acPlot); |
|
|
|
error = SPfrontEnd->OUTpBeginPlot (ckt, ckt->CKTcurJob, |
|
|
|
"Distortion Operating Point", |
|
|
|
NULL, IF_REAL, |
|
|
|
numNames, nameList, IF_REAL, |
|
|
|
&acPlot); |
|
|
|
if(error) return(error); |
|
|
|
CKTdump(ckt, 0.0, acPlot); |
|
|
|
SPfrontEnd->OUTendPlot (acPlot); |
|
|
|
@ -518,11 +518,11 @@ time1 = SPfrontEnd->IFseconds(); |
|
|
|
if(error) return(error); |
|
|
|
SPfrontEnd->IFnewUid (ckt, &freqUid, NULL, |
|
|
|
"frequency", UID_OTHER, NULL); |
|
|
|
SPfrontEnd->OUTpBeginPlot ( |
|
|
|
ckt, ckt->CKTcurJob, |
|
|
|
"DISTORTION - 2nd harmonic", |
|
|
|
freqUid, IF_REAL, |
|
|
|
numNames, nameList, IF_COMPLEX, &acPlot); |
|
|
|
SPfrontEnd->OUTpBeginPlot (ckt, ckt->CKTcurJob, |
|
|
|
"DISTORTION - 2nd harmonic", |
|
|
|
freqUid, IF_REAL, |
|
|
|
numNames, nameList, IF_COMPLEX, |
|
|
|
&acPlot); |
|
|
|
if (job->DstepType != LINEAR) { |
|
|
|
SPfrontEnd->OUTattributes (acPlot, NULL, |
|
|
|
OUT_SCALE_LOG, NULL); |
|
|
|
@ -544,11 +544,11 @@ time1 = SPfrontEnd->IFseconds(); |
|
|
|
if(error) return(error); |
|
|
|
SPfrontEnd->IFnewUid (ckt, &freqUid, NULL, |
|
|
|
"frequency", UID_OTHER, NULL); |
|
|
|
SPfrontEnd->OUTpBeginPlot ( |
|
|
|
ckt, ckt->CKTcurJob, |
|
|
|
"DISTORTION - 3rd harmonic", |
|
|
|
freqUid, IF_REAL, |
|
|
|
numNames, nameList, IF_COMPLEX, &acPlot); |
|
|
|
SPfrontEnd->OUTpBeginPlot (ckt, ckt->CKTcurJob, |
|
|
|
"DISTORTION - 3rd harmonic", |
|
|
|
freqUid, IF_REAL, |
|
|
|
numNames, nameList, IF_COMPLEX, |
|
|
|
&acPlot); |
|
|
|
for (i=0; i< displacement ; i++) |
|
|
|
{ |
|
|
|
DkerProc(D_THRF1,job->r3H11stor[i], |
|
|
|
@ -568,11 +568,11 @@ time1 = SPfrontEnd->IFseconds(); |
|
|
|
if(error) return(error); |
|
|
|
SPfrontEnd->IFnewUid (ckt, &freqUid, NULL, |
|
|
|
"frequency", UID_OTHER, NULL); |
|
|
|
SPfrontEnd->OUTpBeginPlot ( |
|
|
|
ckt, ckt->CKTcurJob, |
|
|
|
"DISTORTION - IM: f1+f2", |
|
|
|
freqUid, IF_REAL, |
|
|
|
numNames, nameList, IF_COMPLEX, &acPlot); |
|
|
|
SPfrontEnd->OUTpBeginPlot (ckt, ckt->CKTcurJob, |
|
|
|
"DISTORTION - IM: f1+f2", |
|
|
|
freqUid, IF_REAL, |
|
|
|
numNames, nameList, IF_COMPLEX, |
|
|
|
&acPlot); |
|
|
|
for (i=0; i< displacement ; i++) |
|
|
|
{ |
|
|
|
DkerProc(D_F1PF2,job->r2H12stor[i], |
|
|
|
@ -590,11 +590,11 @@ time1 = SPfrontEnd->IFseconds(); |
|
|
|
if(error) return(error); |
|
|
|
SPfrontEnd->IFnewUid (ckt, &freqUid, NULL, |
|
|
|
"frequency", UID_OTHER, NULL); |
|
|
|
SPfrontEnd->OUTpBeginPlot ( |
|
|
|
ckt, ckt->CKTcurJob, |
|
|
|
"DISTORTION - IM: f1-f2", |
|
|
|
freqUid, IF_REAL, |
|
|
|
numNames, nameList, IF_COMPLEX, &acPlot); |
|
|
|
SPfrontEnd->OUTpBeginPlot (ckt, ckt->CKTcurJob, |
|
|
|
"DISTORTION - IM: f1-f2", |
|
|
|
freqUid, IF_REAL, |
|
|
|
numNames, nameList, IF_COMPLEX, |
|
|
|
&acPlot); |
|
|
|
for (i=0; i< displacement ; i++) |
|
|
|
{ |
|
|
|
DkerProc(D_F1MF2, |
|
|
|
@ -613,11 +613,11 @@ time1 = SPfrontEnd->IFseconds(); |
|
|
|
if(error) return(error); |
|
|
|
SPfrontEnd->IFnewUid (ckt, &freqUid, NULL, |
|
|
|
"frequency", UID_OTHER, NULL); |
|
|
|
SPfrontEnd->OUTpBeginPlot ( |
|
|
|
ckt, ckt->CKTcurJob, |
|
|
|
"DISTORTION - IM: 2f1-f2", |
|
|
|
freqUid, IF_REAL, |
|
|
|
numNames, nameList, IF_COMPLEX, &acPlot); |
|
|
|
SPfrontEnd->OUTpBeginPlot (ckt, ckt->CKTcurJob, |
|
|
|
"DISTORTION - IM: 2f1-f2", |
|
|
|
freqUid, IF_REAL, |
|
|
|
numNames, nameList, IF_COMPLEX, |
|
|
|
&acPlot); |
|
|
|
for (i=0; i< displacement ; i++) |
|
|
|
{ |
|
|
|
DkerProc(D_2F1MF2, |
|
|
|
|