#include "spice.h"
#include <stdio.h>
#include "swdefs.h"
#include "sperror.h"
#include "util.h"
Go to the source code of this file.
Definition at line 16 of file swload.c.
28 double previous_state;
47 *(ckt->CKTstate0 + here->
SWstate) = current_state;;
52 previous_state = *(ckt->CKTstate0 + here->
SWstate);
53 current_state = previous_state;
59 previous_state = *(ckt->CKTstate0 + here->
SWstate);
60 current_state = previous_state;
79 *(ckt->CKTstate0 + here->
SWstate) = current_state;
81 if (current_state != previous_state) {
88 previous_state = *(ckt->CKTstate1 + here->
SWstate);
89 current_state = previous_state;
108 *(ckt->CKTstate0 + here->
SWstate) = current_state;
GENinstance * CKTtroubleElt
unsigned SWzero_stateGiven
struct sSWinstance * SWnextInstance
struct sSWmodel * SWnextModel