31 #ifndef __ANALYSIS_H__
32 #define __ANALYSIS_H__
36 #define SAVE_OPS 1 // save operating points
37 #define SAVE_ALL 2 // also save subcircuit nodes and operating points
38 #define SAVE_CVS 4 // save characteristic values
40 #define ACREATOR(val) \
42 static analysis * create (void) { return new val (); } \
43 static struct define_t anadef; \
44 static struct define_t * definition (void) { return &anadef; }
std::complex< nr_double_t > nr_complex_t
void setProgress(bool p)
Sets the progress.
void saveVariable(const char *, nr_complex_t, qucs::vector *)
Save variable into analysis dataset.
void delAnalysis(analysis *)
virtual int initialize(void)
placehoder for initialization function
void setEnv(environment *e)
analysis()
Constructor (Unnamed)
bool getProgress(void)
get
analysis_type
enumerates the analysis types available.
virtual int cleanup(void)
placehoder for cleanup function
environment * getEnv(void)
ptrlist< analysis > * getAnalysis(void)
void setAnalysis(ptrlist< analysis > *a)
void addAnalysis(analysis *)
class for performing circuit analyses.
sweep * createSweep(const char *)
create a named sweep object
virtual int solve(void)
placehoder for solution function
void setNet(net *netlist)
virtual bool isExternal(void)
informs whether this is an external sim
ptrlist< analysis > * actions