Jspice3
Main Page
Data Structures
Files
File List
Globals
indtrunc.c
Go to the documentation of this file.
1
/***************************************************************************
2
JSPICE3 adaptation of Spice3f2 - Copyright (c) Stephen R. Whiteley 1992
3
Copyright 1990 Regents of the University of California. All rights reserved.
4
Authors: 1985 Thomas L. Quarles
5
1992 Stephen R. Whiteley
6
****************************************************************************/
7
8
#include "
spice.h
"
9
#include <stdio.h>
10
#include "
inddefs.h
"
11
#include "
sperror.h
"
12
#include "
cktext.h
"
13
14
15
int
16
INDtrunc
(inModel,ckt,timeStep)
17
18
GENmodel
*inModel;
19
CKTcircuit
*ckt;
20
double
*timeStep;
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
}
sINDmodel::INDnextModel
struct sINDmodel * INDnextModel
Definition:
inddefs.h:96
sINDinstance::INDnextInstance
struct sINDinstance * INDnextInstance
Definition:
inddefs.h:27
CKTcircuit
Definition:
cktdefs.h:62
inddefs.h
OK
#define OK
Definition:
iferrmsg.h:17
sperror.h
sINDinstance
Definition:
inddefs.h:21
NULL
#define NULL
Definition:
spdefs.h:121
CKTterr
void CKTterr()
sINDmodel::INDinstances
INDinstance * INDinstances
Definition:
inddefs.h:99
spice.h
sGENmodel
Definition:
gendefs.h:39
INDtrunc
int INDtrunc(GENmodel *inModel, CKTcircuit *ckt, double *timeStep)
Definition:
indtrunc.c:16
model
static char model[32]
Definition:
subckt.c:76
cktext.h
sINDmodel
Definition:
inddefs.h:90
src
lib
dev
ind
indtrunc.c
Generated by
1.8.11