1 /**********
2 Copyright 1990 Regents of the University of California. All rights reserved.
3 Author: 1985 Thomas L. Quarles
4 **********/
5
6 #include "ngspice/ngspice.h"
7 #include "ngspice/ifsim.h"
8 #include "ngspice/iferrmsg.h"
9 #include "ngspice/cktdefs.h"
10 #include "ngspice/opdefs.h"
11
12
13 #include "analysis.h"
14
15 /* ARGSUSED */
16 int
DCOsetParm(CKTcircuit * ckt,JOB * anal,int which,IFvalue * value)17 DCOsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
18 {
19 NG_IGNORE(ckt);
20 NG_IGNORE(anal);
21 NG_IGNORE(value);
22
23 switch(which) {
24
25 default:
26 break;
27 }
28 return(E_BADPARM);
29 }
30
31
32 SPICEanalysis DCOinfo = {
33 {
34 "OP",
35 "D.C. Operating point analysis",
36
37 0,
38 NULL,
39 },
40 sizeof(OP),
41 NODOMAIN,
42 1,
43 DCOsetParm,
44 DCOaskQuest,
45 NULL,
46 DCop
47 };
48