|
Qucs-core
0.0.18
|
#include <nasolver.h>
Public Types | |
| typedef void(* | calculate_func_t )(nasolver< nr_type_t > *) |
Public Member Functions | |
| nasolver () | |
| nasolver (char *) | |
| nasolver (nasolver &) | |
| ~nasolver () | |
| int | solve_once (void) |
| int | solve_nonlinear (void) |
| int | solve_nonlinear_continuation_gMin (void) |
| int | solve_nonlinear_continuation_Source (void) |
| int | solve_linear (void) |
| void | solve_pre (void) |
| void | solve_post (void) |
| void | setDescription (const char *n) |
| const char * | getDescription (void) |
| void | saveResults (const char *, const char *, int, qucs::vector *f=NULL) |
| void | setCalculation (calculate_func_t f) |
| void | calculate (void) |
| const char * | getHelperDescription (void) |
| int | getN () |
| Returns the number of node voltages in the circuit. More... | |
| int | getM () |
| Returns the number of branch currents in the circuit. More... | |
Public Member Functions inherited from qucs::analysis | |
| analysis () | |
| Constructor (Unnamed) More... | |
| analysis (char *) | |
| analysis (analysis &) | |
| ~analysis () | |
| Destructor. More... | |
| virtual int | solve (void) |
| placehoder for solution function More... | |
| virtual int | initialize (void) |
| placehoder for initialization function More... | |
| virtual int | cleanup (void) |
| placehoder for cleanup function More... | |
| virtual bool | isExternal (void) |
| informs whether this is an external sim More... | |
| dataset * | getData (void) |
| void | setData (dataset *d) |
| net * | getNet (void) |
| void | setNet (net *netlist) |
| environment * | getEnv (void) |
| void | setEnv (environment *e) |
| ptrlist< analysis > * | getAnalysis (void) |
| void | setAnalysis (ptrlist< analysis > *a) |
| void | addAnalysis (analysis *) |
| void | delAnalysis (analysis *) |
| int | getType (void) |
| void | setType (int t) |
| sweep * | createSweep (const char *) |
| create a named sweep object More... | |
| void | saveVariable (const char *, nr_complex_t, qucs::vector *) |
| Save variable into analysis dataset. More... | |
| bool | getProgress (void) |
| get More... | |
| void | setProgress (bool p) |
| Sets the progress. More... | |
Public Member Functions inherited from qucs::object | |
| object () | |
| object (const char *) | |
| object (const object &) | |
| virtual | ~object () |
| object * | getNext (void) |
| void | setNext (object *o) |
| object * | getPrev (void) |
| void | setPrev (object *o) |
| void | setName (const char *) |
| char * | getName (void) |
| void | addProperty (property *) |
| property * | addProperty (const char *, const char *) |
| property * | addProperty (const char *, nr_double_t) |
| property * | addProperty (const char *, variable *) |
| void | setProperty (const char *, char *) |
| void | setProperty (const char *, nr_double_t) |
| void | setScaledProperty (const char *, nr_double_t) |
| void | setProperty (const char *, variable *) |
| vector * | getPropertyVector (const char *) |
| char * | getPropertyString (const char *) |
| char * | getPropertyReference (const char *) |
| nr_double_t | getPropertyDouble (const char *) |
| nr_double_t | getScaledProperty (const char *) |
| int | getPropertyInteger (const char *) |
| bool | hasProperty (const char *) |
| bool | isPropertyGiven (const char *) |
| void | copyProperties (property *) |
| void | deleteProperties (void) |
| int | countProperties (void) |
| char * | propertyList (void) |
| object () | |
| object (const char *) | |
| object (const object &) | |
| virtual | ~object () |
| object * | getNext (void) |
| void | setNext (object *o) |
| object * | getPrev (void) |
| void | setPrev (object *o) |
| void | setName (const char *) |
| char * | getName (void) |
| void | addProperty (property *) |
| property * | addProperty (const char *, const char *) |
| property * | addProperty (const char *, nr_double_t) |
| property * | addProperty (const char *, variable *) |
| void | setProperty (const char *, char *) |
| void | setProperty (const char *, nr_double_t) |
| void | setScaledProperty (const char *, nr_double_t) |
| void | setProperty (const char *, variable *) |
| vector * | getPropertyVector (const char *) |
| char * | getPropertyString (const char *) |
| char * | getPropertyReference (const char *) |
| nr_double_t | getPropertyDouble (const char *) |
| nr_double_t | getScaledProperty (const char *) |
| int | getPropertyInteger (const char *) |
| bool | hasProperty (const char *) |
| bool | isPropertyGiven (const char *) |
| void | copyProperties (property *) |
| void | deleteProperties (void) |
| int | countProperties (void) |
| char * | propertyList (void) |
Protected Member Functions | |
| void | restartNR (void) |
| void | savePreviousIteration (void) |
| void | restorePreviousIteration (void) |
| int | countNodes (void) |
| int | getNodeNr (char *) |
| int | findAssignedNode (circuit *, int) |
| int | countVoltageSources (void) |
| void | saveSolution (void) |
| circuit * | findVoltageSource (int) |
| void | applyNodeset (bool nokeep=true) |
| void | createNoiseMatrix (void) |
| void | runMNA (void) |
| void | createMatrix (void) |
| void | storeSolution (void) |
| void | recallSolution (void) |
| int | checkConvergence (void) |
Protected Attributes | |
| tvector< nr_type_t > * | z |
| tvector< nr_type_t > * | x |
| tvector< nr_type_t > * | xprev |
| tvector< nr_type_t > * | zprev |
| tmatrix< nr_type_t > * | A |
| tmatrix< nr_type_t > * | C |
| int | iterations |
| int | convHelper |
| int | fixpoint |
| int | eqnAlgo |
| int | updateMatrix |
| nr_double_t | gMin |
| nr_double_t | srcFactor |
| const char * | desc |
| nodelist * | nlist |
Protected Attributes inherited from qucs::analysis | |
| int | runs |
| int | type |
| net * | subnet |
| dataset * | data |
| environment * | env |
| ptrlist< analysis > * | actions |
| bool | progress |
Private Member Functions | |
| void | assignVoltageSources (void) |
| void | createGMatrix (void) |
| void | createBMatrix (void) |
| void | createCMatrix (void) |
| void | createDMatrix (void) |
| void | createIVector (void) |
| void | createEVector (void) |
| void | createZVector (void) |
| void | applyAttenuation (void) |
| void | lineSearch (void) |
| void | steepestDescent (void) |
| char * | createV (int, const char *, int) |
| char * | createI (int, const char *, int) |
| char * | createOP (const char *, const char *) |
| void | saveNodeVoltages (void) |
| void | saveBranchCurrents (void) |
| nr_type_t | MatValX (nr_complex_t, nr_complex_t *) |
| nr_type_t | MatValX (nr_complex_t, nr_double_t *) |
Private Attributes | |
| eqnsys< nr_type_t > * | eqns |
| nr_double_t | reltol |
| nr_double_t | abstol |
| nr_double_t | vntol |
| nasolution< nr_type_t > | solution |
| calculate_func_t | calculate_func |
Definition at line 51 of file nasolver.h.
| typedef void(* qucs::nasolver< nr_type_t >::calculate_func_t)(nasolver< nr_type_t > *) |
Definition at line 68 of file nasolver.h.
| qucs::nasolver< nr_type_t >::nasolver | ( | ) |
Definition at line 63 of file nasolver.cpp.
| qucs::nasolver< nr_type_t >::nasolver | ( | char * | n | ) |
Definition at line 80 of file nasolver.cpp.
| qucs::nasolver< nr_type_t >::nasolver | ( | nasolver< nr_type_t > & | o | ) |
Definition at line 112 of file nasolver.cpp.
| qucs::nasolver< nr_type_t >::~nasolver | ( | ) |
Definition at line 97 of file nasolver.cpp.
|
private |
Definition at line 1017 of file nasolver.cpp.
|
protected |
Definition at line 247 of file nasolver.cpp.
|
private |
Definition at line 969 of file nasolver.cpp.
|
inline |
Definition at line 70 of file nasolver.h.
|
protected |
Definition at line 1132 of file nasolver.cpp.
|
protected |
Definition at line 912 of file nasolver.cpp.
|
protected |
Definition at line 944 of file nasolver.cpp.
|
private |
Definition at line 600 of file nasolver.cpp.
|
private |
Definition at line 640 of file nasolver.cpp.
|
private |
Definition at line 674 of file nasolver.cpp.
|
private |
Definition at line 885 of file nasolver.cpp.
|
private |
Definition at line 706 of file nasolver.cpp.
|
private |
Definition at line 1405 of file nasolver.cpp.
|
private |
Definition at line 855 of file nasolver.cpp.
|
protected |
Definition at line 536 of file nasolver.cpp.
|
protected |
Definition at line 741 of file nasolver.cpp.
|
private |
Definition at line 1382 of file nasolver.cpp.
|
private |
Definition at line 1392 of file nasolver.cpp.
|
private |
Definition at line 904 of file nasolver.cpp.
|
protected |
Definition at line 927 of file nasolver.cpp.
|
protected |
Definition at line 953 of file nasolver.cpp.
|
inline |
Definition at line 66 of file nasolver.h.
| const char * qucs::nasolver< nr_type_t >::getHelperDescription | ( | void | ) |
Definition at line 422 of file nasolver.cpp.
| int qucs::nasolver< nr_type_t >::getM | ( | ) |
Returns the number of branch currents in the circuit.
Definition at line 1442 of file nasolver.cpp.
| int qucs::nasolver< nr_type_t >::getN | ( | ) |
Returns the number of node voltages in the circuit.
Definition at line 1435 of file nasolver.cpp.
|
protected |
Definition at line 919 of file nasolver.cpp.
|
private |
Definition at line 1044 of file nasolver.cpp.
|
private |
Definition at line 580 of file nasolver.cpp.
|
private |
Definition at line 586 of file nasolver.cpp.
|
protected |
Definition at line 1282 of file nasolver.cpp.
|
protected |
Definition at line 1197 of file nasolver.cpp.
|
protected |
Definition at line 1188 of file nasolver.cpp.
|
protected |
Definition at line 987 of file nasolver.cpp.
|
private |
Definition at line 1235 of file nasolver.cpp.
|
private |
Definition at line 1210 of file nasolver.cpp.
|
protected |
Definition at line 1173 of file nasolver.cpp.
| void qucs::nasolver< nr_type_t >::saveResults | ( | const char * | volts, |
| const char * | amps, | ||
| int | saveOPs, | ||
| qucs::vector * | f = NULL |
||
| ) |
Definition at line 1308 of file nasolver.cpp.
|
protected |
Definition at line 1250 of file nasolver.cpp.
|
inline |
Definition at line 69 of file nasolver.h.
|
inline |
Definition at line 65 of file nasolver.h.
| int qucs::nasolver< nr_type_t >::solve_linear | ( | void | ) |
Definition at line 525 of file nasolver.cpp.
| int qucs::nasolver< nr_type_t >::solve_nonlinear | ( | void | ) |
Definition at line 449 of file nasolver.cpp.
| int qucs::nasolver< nr_type_t >::solve_nonlinear_continuation_gMin | ( | void | ) |
Definition at line 275 of file nasolver.cpp.
| int qucs::nasolver< nr_type_t >::solve_nonlinear_continuation_Source | ( | void | ) |
Definition at line 343 of file nasolver.cpp.
| int qucs::nasolver< nr_type_t >::solve_once | ( | void | ) |
Definition at line 138 of file nasolver.cpp.
| void qucs::nasolver< nr_type_t >::solve_post | ( | void | ) |
Definition at line 205 of file nasolver.cpp.
| void qucs::nasolver< nr_type_t >::solve_pre | ( | void | ) |
Definition at line 213 of file nasolver.cpp.
|
private |
Definition at line 1097 of file nasolver.cpp.
|
protected |
Definition at line 1258 of file nasolver.cpp.
|
protected |
Definition at line 125 of file nasolver.h.
|
private |
Definition at line 139 of file nasolver.h.
|
protected |
Definition at line 126 of file nasolver.h.
|
private |
Definition at line 145 of file nasolver.h.
|
protected |
Definition at line 128 of file nasolver.h.
|
protected |
Definition at line 133 of file nasolver.h.
|
protected |
Definition at line 130 of file nasolver.h.
|
private |
Definition at line 137 of file nasolver.h.
|
protected |
Definition at line 129 of file nasolver.h.
|
protected |
Definition at line 132 of file nasolver.h.
|
protected |
Definition at line 127 of file nasolver.h.
|
protected |
Definition at line 134 of file nasolver.h.
|
private |
Definition at line 138 of file nasolver.h.
|
private |
Definition at line 141 of file nasolver.h.
|
protected |
Definition at line 132 of file nasolver.h.
|
protected |
Definition at line 131 of file nasolver.h.
|
private |
Definition at line 140 of file nasolver.h.
|
protected |
Definition at line 122 of file nasolver.h.
|
protected |
Definition at line 123 of file nasolver.h.
|
protected |
Definition at line 121 of file nasolver.h.
|
protected |
Definition at line 124 of file nasolver.h.
1.8.6