45 static char *nodundef =
"noise output node %s is not defined";
46 static char *noacinput =
"no AC input source %s for noise analysis";
51 "Noise analysis not possible with Josephson junctions",
NULL);
115 "DCtrCurv: source %s not in circuit",
146 outd.
analName =
"Noise Spectral Density Curves - (V^2 or A^2)/Hz";
181 outd.
analName =
"Integrated Noise - V^2 or A^2";
221 data->lstFreq = data->freq;
263 double realVal, imagVal;
266 data->
freq = ckt->CKTomega/(2*
M_PI);
269 imagVal = *((ckt->CKTirhsOld) + job->
NposOutNode) -
271 data->GainSqInv = 1.0 /
MAX(((realVal*realVal)
273 data->lnGainInv = log(data->GainSqInv);
279 data->delFreq = data->freq - data->lstFreq;
281 data->lnLastFreq = log(
MAX(data->lstFreq,
N_MINLOG));
282 data->delLnFreq = data->lnFreq - data->lnLastFreq;
285 data->prtSummary =
TRUE;
288 data->prtSummary =
FALSE;
308 data->lstFreq = data->freq;
346 for (mh = ckt->CKTheadList; mh !=
NULL; mh = mh->
next) {
348 error = (*func)(mode,operation,mh->
head,ckt,data,&outNdens);
354 if (operation ==
N_OPEN) {
405 if (operation ==
N_CALC) {
409 if ((((
NOISEAN*)ckt->CKTcurJob)->NStpsSm == 0)
struct sCKTmodHead * next
union uIFvalue::@13::@14 vec
int ACloop(int(*func)(), CKTcircuit *ckt, int restart, struct sACprms *ac, struct sOUTdata *outd)
int DCTloop(int(*func)(), CKTcircuit *ckt, int restart, struct sDCTprms *dc, struct sOUTdata *outd)
static int noi_operation()
IFuid eltName[DCTNESTLEVEL]
int NOISEan(GENERIC *cktp, int restart)
double vsave[DCTNESTLEVEL]
int CKTnoise(CKTcircuit *ckt, int mode, int operation, Ndata *data)
static int noi_dcoperation()
GENinstance * elt[DCTNESTLEVEL]