1 #ifndef ngspice_ANALYSIS_H 2 #define ngspice_ANALYSIS_H 3 4 struct SPICEanalysis { 5 IFanalysis if_analysis; 6 int size; 7 int domain; 8 int do_ic; 9 int (*setParm)(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value); 10 int (*askQuest)(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value); 11 int (*an_init)(CKTcircuit *ckt, JOB *job); 12 int (*an_func)(CKTcircuit *ckt, int restart); 13 }; 14 15 16 char *spice_analysis_get_name(int index); 17 char *spice_analysis_get_description(int index); 18 int spice_num_analysis(void); 19 SPICEanalysis **spice_analysis_ptr(void); 20 21 #endif 22