#include "spice.h"
#include <stdio.h>
#include <math.h>
#include "srcdefs.h"
#include "util.h"
#include "sperror.h"
#include "outdata.h"
#include "tfdefs.h"
#include "cktext.h"
Go to the source code of this file.
Definition at line 8 of file tfan.c.
static int tf_acoperation |
( |
| ) |
|
|
static |
Definition at line 296 of file tfan.c.
323 for (i = 0; i <= size; i++) {
371 coutputs[1].
real = -A/MAG;
372 coutputs[1].
imag = B/MAG;
376 coutputs[2].
real = coutputs[1].
real;
377 coutputs[2].
imag = coutputs[1].
imag;
384 for (i = 0; i <= size; i++) {
415 coutputs[2].
real = A/MAG;
416 coutputs[2].
imag = -B/MAG;
421 outdata.
v.
vec.cVec = coutputs;
union uIFvalue::@13::@14 vec
static int tf_dcoperation |
( |
| ) |
|
|
static |
Definition at line 172 of file tfan.c.
208 for (i = 0; i <= size; i++) {
232 outputs[0] = ckt->
CKTrhs[
ptr->SRCbranch];
250 outputs[2] = outputs[1];
257 for (i = 0; i <= size; i++) {
286 outdata.v.numValue = 3;
287 outdata.v.vec.rVec = outputs;
int ACloop(int(*func)(), CKTcircuit *ckt, int restart, struct sACprms *ac, struct sOUTdata *outd)
static int tf_acoperation()
int TFan |
( |
GENERIC * |
cktp, |
|
|
int |
restart |
|
) |
| |
Definition at line 33 of file tfan.c.
48 "Transfer function not possible with Josephson junctions",
NULL);
60 "Transfer function source %s not in circuit",
78 "Transfer function source %s not in circuit",
84 "Transfer function source %s not a voltage source",
101 "DCtrCurv: source %s not in circuit",
125 char *name = (
char *)
129 (void)sprintf(name,
"Zo%s",s);
131 (
void)sprintf(name,
"Zo(%s)",job->
TFoutName);
138 outd.refName = (
IFuid)NULL;
148 outd.circuitPtr = (
GENERIC *)ckt;
152 outd.dataNames = uids;
153 outd.plotPtr = &job->
TFplot;
int DCTloop(int(*func)(), CKTcircuit *ckt, int restart, struct sDCTprms *dc, struct sOUTdata *outd)
static int tf_dcoperation()
IFuid eltName[DCTNESTLEVEL]
double vsave[DCTNESTLEVEL]
GENinstance * elt[DCTNESTLEVEL]