#include "spice.h"
#include <stdio.h>
#include "jjdefs.h"
#include "sperror.h"
#include "util.h"
Go to the source code of this file.
Definition at line 13 of file jjacct.c.
28 if (model->
JJictype != 0 && vmax < model->JJvdpbak)
34 vj = *(ckt->CKTstate0 + here->JJvoltage);
37 *(ckt->CKTstate0 + here->JJdvdt) = here->
JJdelVdelT + ag0*vj;
40 phi = *(ckt->CKTstate0 + here->JJphase);
41 pint = *(
int *)(ckt->CKTstate1 + here->JJphsInt);
46 else if (phi < -2*
M_PI) {
50 *(ckt->CKTstate0 + here->JJphase) = phi;
51 *(
int *)(ckt->CKTstate0 + here->JJphsInt) = pint;
57 if (vmax < vj) vmax = vj;
struct sJJmodel * JJnextModel
struct sJJinstance * JJnextInstance