#include "spice.h"
#include <stdio.h>
#include <math.h>
#include "srcdefs.h"
#include "sperror.h"
#include "outdata.h"
#include "acdefs.h"
#include "util.h"
#include "cktext.h"
#include "niext.h"
Go to the source code of this file.
|
static int | ac_init () |
|
static int | ac_dcoperation () |
|
static int | ac_operation () |
|
int | ACan (GENERIC *cktp, int restart) |
|
static int | ac_dcoperation (CKTcircuit *ckt, struct sOUTdata *outd, int restart) |
|
static int | ac_init (CKTcircuit *ckt, struct sOUTdata *outd) |
|
static int | ac_operation (CKTcircuit *ckt, struct sOUTdata *outd, int restart) |
|
int | ACloop (int(*func)(), CKTcircuit *ckt, int restart, struct sACprms *ac, struct sOUTdata *outd) |
|
int | CKTacLoad (CKTcircuit *ckt) |
|
Definition at line 8 of file acan.c.
static int ac_dcoperation |
( |
| ) |
|
|
static |
Definition at line 64 of file acan.c.
int ACloop(int(*func)(), CKTcircuit *ckt, int restart, struct sACprms *ac, struct sOUTdata *outd)
static int ac_operation()
Definition at line 99 of file acan.c.
122 "DCtrCurv: source %s not in circuit",
IFuid eltName[DCTNESTLEVEL]
double vsave[DCTNESTLEVEL]
GENinstance * elt[DCTNESTLEVEL]
static int ac_operation |
( |
| ) |
|
|
static |
int ACan |
( |
GENERIC * |
cktp, |
|
|
int |
restart |
|
) |
| |
Definition at line 33 of file acan.c.
44 "AC analysis not possible with Josephson junctions",
NULL);
int DCTloop(int(*func)(), CKTcircuit *ckt, int restart, struct sDCTprms *dc, struct sOUTdata *outd)
static int ac_dcoperation()
Definition at line 177 of file acan.c.
190 double freqTol, freqDel;
199 freqDel = exp(log(10.0)/ac->
numSteps);
206 freqDel = exp(log(2.0)/ac->
numSteps);
214 return ( (*
func)(ckt,outd,restart) );
226 while (freq <= ac->fstop + freqTol) {
236 error = (*func)(ckt,outd,restart);
Definition at line 270 of file acan.c.
287 for (i = 0; i <= size; i++) {
296 error = (*func)(mh->
head,ckt);
struct sCKTmodHead * next
struct sCKTmodHead * CKTheadList