Jspice3
Main Page
Data Structures
Files
File List
Globals
pzdefs.h
Go to the documentation of this file.
1
/***************************************************************************
2
JSPICE3 adaptation of Spice3e2 - Copyright (c) Stephen R. Whiteley 1992
3
Copyright 1990 Regents of the University of California. All rights reserved.
4
Authors: UCB CAD Group
5
1992 Stephen R. Whiteley
6
****************************************************************************/
7
8
#ifndef PZDEFS
9
#define PZDEFS
10
11
/* structure used to describe an PZ analysis to be performed */
12
13
typedef
struct
strial
{
14
SPcomplex
s
,
f_raw
,
f_def
;
15
struct
strial
*
next
, *
prev
;
16
int
mag_raw
,
mag_def
;
17
int
multiplicity
;
18
int
flags
;
19
int
seq_num
;
20
int
count
;
21
}
PZtrial
;
22
23
typedef
struct
{
24
int
JOBtype
;
25
JOB
*
JOBnextJob
;
26
IFuid
JOBname
;
27
int
PZin_pos
;
28
int
PZin_neg
;
29
int
PZout_pos
;
30
int
PZout_neg
;
31
int
PZinput_type
;
32
int
PZwhich
;
33
int
PZnumswaps
;
34
int
PZbalance_col
;
35
int
PZsolution_col
;
36
PZtrial
*
PZpoleList
;
37
PZtrial
*
PZzeroList
;
38
int
PZnPoles
;
39
int
PZnZeros
;
40
double
*
PZdrive_pptr
;
41
double
*
PZdrive_nptr
;
42
}
PZAN
;
43
44
#define PZ_DO_POLES 0x1
45
#define PZ_DO_ZEROS 0x2
46
#define PZ_IN_VOL 1
47
#define PZ_IN_CUR 2
48
49
#define PZ_NODEI 1
50
#define PZ_NODEG 2
51
#define PZ_NODEJ 3
52
#define PZ_NODEK 4
53
#define PZ_V 5
54
#define PZ_I 6
55
#define PZ_POL 7
56
#define PZ_ZER 8
57
#define PZ_PZ 9
58
59
60
#ifdef __STDC__
61
extern
int
PZan
(
GENERIC
*,
int
);
62
extern
int
PZaskQuest
(
GENERIC
*,
GENERIC
*,
int
,
IFvalue
*);
63
extern
int
PZparse
(
GENERIC
*,
GENERIC
*,
int
,
GENERIC
*,
char
**,
GENERIC
*,
GENERIC
*);
64
extern
int
PZsetParm
(
GENERIC
*,
GENERIC
*,
int
,
IFvalue
*);
65
#else
66
extern
int
PZan
();
67
extern
int
PZaskQuest
();
68
extern
int
PZparse
();
69
extern
int
PZsetParm
();
70
#endif
71
72
73
#endif
/* PZDEFS */
strial::f_def
SPcomplex f_def
Definition:
pzdefs.h:14
PZAN::JOBnextJob
JOB * JOBnextJob
Definition:
pzdefs.h:25
PZAN::PZbalance_col
int PZbalance_col
Definition:
pzdefs.h:34
strial::flags
int flags
Definition:
pzdefs.h:18
strial::count
int count
Definition:
pzdefs.h:20
PZAN::PZin_neg
int PZin_neg
Definition:
pzdefs.h:28
PZAN::PZin_pos
int PZin_pos
Definition:
pzdefs.h:27
PZAN::PZout_pos
int PZout_pos
Definition:
pzdefs.h:29
strial::s
SPcomplex s
Definition:
pzdefs.h:14
PZtrial
struct strial PZtrial
strial::prev
struct strial * prev
Definition:
pzdefs.h:15
sJOB
Definition:
cktdefs.h:23
strial::multiplicity
int multiplicity
Definition:
pzdefs.h:17
PZaskQuest
int PZaskQuest()
IFuid
GENERIC * IFuid
Definition:
ifsim.h:72
PZAN::PZnZeros
int PZnZeros
Definition:
pzdefs.h:39
PZAN::JOBname
IFuid JOBname
Definition:
pzdefs.h:26
PZAN::PZsolution_col
int PZsolution_col
Definition:
pzdefs.h:35
PZAN::PZzeroList
PZtrial * PZzeroList
Definition:
pzdefs.h:37
PZsetParm
int PZsetParm()
PZAN::PZnPoles
int PZnPoles
Definition:
pzdefs.h:38
PZAN::PZinput_type
int PZinput_type
Definition:
pzdefs.h:31
strial::mag_def
int mag_def
Definition:
pzdefs.h:16
PZAN::PZnumswaps
int PZnumswaps
Definition:
pzdefs.h:33
PZparse
int PZparse()
PZAN::PZdrive_pptr
double * PZdrive_pptr
Definition:
pzdefs.h:40
strial::mag_raw
int mag_raw
Definition:
pzdefs.h:16
PZan
int PZan()
SPcomplex
Definition:
complex.h:12
uIFvalue
Definition:
ifsim.h:231
strial::next
struct strial * next
Definition:
pzdefs.h:15
PZAN::PZdrive_nptr
double * PZdrive_nptr
Definition:
pzdefs.h:41
strial::f_raw
SPcomplex f_raw
Definition:
pzdefs.h:14
PZAN::PZout_neg
int PZout_neg
Definition:
pzdefs.h:30
strial
Definition:
pzdefs.h:13
PZAN::JOBtype
int JOBtype
Definition:
pzdefs.h:24
PZAN::PZpoleList
PZtrial * PZpoleList
Definition:
pzdefs.h:36
PZAN::PZwhich
int PZwhich
Definition:
pzdefs.h:32
GENERIC
char GENERIC
Definition:
ifsim.h:27
strial::seq_num
int seq_num
Definition:
pzdefs.h:19
PZAN
Definition:
pzdefs.h:23
src
include
pzdefs.h
Generated by
1.8.11