Jspice3
cktdump.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  1993 Stephen R. Whiteley
6 ****************************************************************************/
7 
8  /* CKTdump(ckt)
9  * this is a simple program to dump the rhs vector to stdout
10  */
11 
12 #include "spice.h"
13 #include <stdio.h>
14 #include "cktdefs.h"
15 #include "cktext.h"
16 
17 
18 void
19 CKTdump(ckt,ref,plot)
20 
21 CKTcircuit *ckt;
22 double ref;
23 GENERIC *plot;
24 {
25  IFvalue refData;
26  IFvalue valData;
27 
28  refData.rValue = ref;
29  valData.v.numValue = ckt->CKTmaxEqNum-1;
30  valData.v.vec.rVec = ckt->CKTrhsOld+1;
31  (*(SPfrontEnd->OUTdata))(plot,&refData,&valData);
32 }
int numValue
Definition: ifsim.h:240
void CKTdump(CKTcircuit *ckt, double ref, GENERIC *plot)
Definition: cktdump.c:19
union uIFvalue::@13::@14 vec
IFfrontEnd * SPfrontEnd
Definition: main.c:917
Definition: ftedata.h:61
double rValue
Definition: ifsim.h:233
struct uIFvalue::@13 v
char GENERIC
Definition: ifsim.h:27