Jspice3
indtrunc.c File Reference
#include "spice.h"
#include <stdio.h>
#include "inddefs.h"
#include "sperror.h"
#include "cktext.h"
Include dependency graph for indtrunc.c:

Go to the source code of this file.

Functions

int INDtrunc (GENmodel *inModel, CKTcircuit *ckt, double *timeStep)
 

Function Documentation

int INDtrunc ( GENmodel inModel,
CKTcircuit ckt,
double *  timeStep 
)

Definition at line 16 of file indtrunc.c.

21 {
22  INDmodel *model = (INDmodel*)inModel;
23  INDinstance *here;
24 
25  for ( ; model != NULL; model = model->INDnextModel) {
26  for (here = model->INDinstances; here != NULL;
27  here = here->INDnextInstance) {
28  CKTterr(here->INDflux,ckt,timeStep);
29  }
30  }
31  return (OK);
32 }
struct sINDmodel * INDnextModel
Definition: inddefs.h:96
struct sINDinstance * INDnextInstance
Definition: inddefs.h:27
#define OK
Definition: iferrmsg.h:17
#define NULL
Definition: spdefs.h:121
void CKTterr()
INDinstance * INDinstances
Definition: inddefs.h:99
static char model[32]
Definition: subckt.c:76