#include "spice.h"
#include "misc.h"
#include <stdio.h>
#include "srcdefs.h"
#include "sperror.h"
#include "outdata.h"
#include "dctdefs.h"
#include "util.h"
#include "cktext.h"
#include "niext.h"
Go to the source code of this file.
Definition at line 64 of file dctan.c.
81 for (i = 0; i < 7; i++) {
93 "DCtrCurv: source %s not in circuit",
104 if (*(
char*)(job->
DC.
eltName[0]) ==
'v' ||
double vstep[DCTNESTLEVEL]
double vstart[DCTNESTLEVEL]
IFuid eltName[DCTNESTLEVEL]
double vsave[DCTNESTLEVEL]
double vstop[DCTNESTLEVEL]
GENinstance * elt[DCTNESTLEVEL]
static int dct_operation |
( |
| ) |
|
|
static |
Definition at line 131 of file dctan.c.
138 int i, converged = 1;
147 ckt->CKTstate0 = temp;
152 converged =
CKTic(ckt);
156 converged =
CKTop(ckt,
163 bcopy((
char *)ckt->CKTstate0,(
char *)ckt->CKTstate1,
void bcopy(char *from, char *to, int num)
GENinstance * elt[DCTNESTLEVEL]
int DCTan |
( |
GENERIC * |
cktp, |
|
|
int |
restart |
|
) |
| |
Definition at line 31 of file dctan.c.
43 "DC analysis not possible with Josephson junctions",
NULL);
int DCTloop(int(*func)(), CKTcircuit *ckt, int restart, struct sDCTprms *dc, struct sOUTdata *outd)
static int dct_operation()
Definition at line 177 of file dctan.c.
195 return ( (*
func)(ckt,outd,restart) );
223 if ((dc->
vstep[i] > 0 && tt > 1
e-8) ||
224 (dc->
vstep[i] < 0 && tt < 1
e-8) ||
233 if (dc->
dims[2] <= 1) {
249 error = (*func)(ckt,outd,restart);
264 dc->
dims[2] = outd->count;
266 if (dc->
dims[2] > 1) {
double vstep[DCTNESTLEVEL]
double vstart[DCTNESTLEVEL]
double vstate[DCTNESTLEVEL]
double vsave[DCTNESTLEVEL]
double vstop[DCTNESTLEVEL]
GENinstance * elt[DCTNESTLEVEL]