Qucs-core
0.0.18
|
#include <trsolver.h>
Public Member Functions | |
ACREATOR (trsolver) | |
trsolver (char *) | |
trsolver (trsolver &) | |
~trsolver () | |
int | solve (void) |
placehoder for solution function More... | |
int | predictor (void) |
int | corrector (void) |
void | nextStates (void) |
void | fillStates (void) |
void | setMode (int) |
void | setDelta (void) |
void | adjustDelta (nr_double_t) |
void | adjustOrder (int reduce=0) |
void | initTR (void) |
void | deinitTR (void) |
void | restart (void) |
void | initDC (void) |
void | initSteps (void) |
void | saveAllResults (nr_double_t) |
nr_double_t | checkDelta (void) |
void | updateCoefficients (nr_double_t) |
void | initHistory (nr_double_t) |
void | updateHistory (nr_double_t) |
void | saveHistory (circuit *) |
void | predictBashford (void) |
void | predictEuler (void) |
void | predictGear (void) |
void | initCircuitTR (circuit *) |
void | fillSolution (tvector< nr_double_t > *) |
int | dcAnalysis (void) |
Public Member Functions inherited from qucs::nasolver< nr_type_t > | |
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 | 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) |
Public Member Functions inherited from qucs::states< state_type_t > | |
states () | |
states (const states &) | |
~states () | |
state_type_t | getState (int, int n=0) |
void | setState (int, state_type_t, int n=0) |
void | initStates (void) |
void | clearStates (void) |
int | getStates (void) |
void | setStates (int n) |
void | nextState (void) |
void | prevState (void) |
void | fillState (int, state_type_t) |
void | saveState (int, state_type_t *) |
void | inputState (int, state_type_t *) |
Static Public Member Functions | |
static void | calcTR (trsolver *) |
static void | calcDC (trsolver *) |
Data Fields | |
TR | |
PROP_ACTION | |
PROP_NO_SUBSTRATE | |
PROP_LINEAR | |
Additional Inherited Members | |
Public Types inherited from qucs::nasolver< nr_type_t > | |
typedef void(* | calculate_func_t )(nasolver< nr_type_t > *) |
Protected Member Functions inherited from qucs::nasolver< nr_type_t > | |
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) |
Definition at line 962 of file trsolver.cpp.
qucs::trsolver::trsolver | ( | char * | n | ) |
Definition at line 77 of file trsolver.cpp.
qucs::trsolver::trsolver | ( | trsolver & | o | ) |
Definition at line 105 of file trsolver.cpp.
qucs::trsolver::~trsolver | ( | ) |
Definition at line 90 of file trsolver.cpp.
qucs::trsolver::ACREATOR | ( | trsolver | ) |
void qucs::trsolver::adjustDelta | ( | nr_double_t | t | ) |
Definition at line 624 of file trsolver.cpp.
void qucs::trsolver::adjustOrder | ( | int | reduce = 0 | ) |
Definition at line 694 of file trsolver.cpp.
|
static |
Definition at line 723 of file trsolver.cpp.
|
static |
Definition at line 734 of file trsolver.cpp.
nr_double_t qucs::trsolver::checkDelta | ( | void | ) |
Definition at line 874 of file trsolver.cpp.
int qucs::trsolver::corrector | ( | void | ) |
Definition at line 570 of file trsolver.cpp.
int qucs::trsolver::dcAnalysis | ( | void | ) |
Definition at line 123 of file trsolver.cpp.
void qucs::trsolver::deinitTR | ( | void | ) |
Definition at line 830 of file trsolver.cpp.
void qucs::trsolver::fillSolution | ( | tvector< nr_double_t > * | s | ) |
Definition at line 500 of file trsolver.cpp.
void qucs::trsolver::fillStates | ( | void | ) |
Definition at line 596 of file trsolver.cpp.
void qucs::trsolver::initCircuitTR | ( | circuit * | c | ) |
Definition at line 847 of file trsolver.cpp.
void qucs::trsolver::initDC | ( | void | ) |
Definition at line 756 of file trsolver.cpp.
void qucs::trsolver::initHistory | ( | nr_double_t | t | ) |
Definition at line 401 of file trsolver.cpp.
void qucs::trsolver::initSteps | ( | void | ) |
Definition at line 116 of file trsolver.cpp.
void qucs::trsolver::initTR | ( | void | ) |
Definition at line 767 of file trsolver.cpp.
void qucs::trsolver::nextStates | ( | void | ) |
Definition at line 578 of file trsolver.cpp.
void qucs::trsolver::predictBashford | ( | void | ) |
Definition at line 507 of file trsolver.cpp.
void qucs::trsolver::predictEuler | ( | void | ) |
Definition at line 531 of file trsolver.cpp.
void qucs::trsolver::predictGear | ( | void | ) |
Definition at line 549 of file trsolver.cpp.
int qucs::trsolver::predictor | ( | void | ) |
Definition at line 476 of file trsolver.cpp.
void qucs::trsolver::restart | ( | void | ) |
Definition at line 745 of file trsolver.cpp.
void qucs::trsolver::saveAllResults | ( | nr_double_t | time | ) |
Definition at line 858 of file trsolver.cpp.
void qucs::trsolver::saveHistory | ( | circuit * | c | ) |
Definition at line 445 of file trsolver.cpp.
void qucs::trsolver::setDelta | ( | void | ) |
Definition at line 615 of file trsolver.cpp.
void qucs::trsolver::setMode | ( | int | state | ) |
Definition at line 607 of file trsolver.cpp.
|
virtual |
placehoder for solution function
Virtual solution function intended to be overridden by the inheiriting class's solution function.
Reimplemented from qucs::analysis.
Definition at line 175 of file trsolver.cpp.
void qucs::trsolver::updateCoefficients | ( | nr_double_t | delta | ) |
Definition at line 919 of file trsolver.cpp.
void qucs::trsolver::updateHistory | ( | nr_double_t | t | ) |
Definition at line 428 of file trsolver.cpp.
|
protected |
Definition at line 83 of file trsolver.h.
|
protected |
Definition at line 92 of file trsolver.h.
|
protected |
Definition at line 76 of file trsolver.h.
|
protected |
Definition at line 85 of file trsolver.h.
|
protected |
Definition at line 89 of file trsolver.h.
|
protected |
Definition at line 87 of file trsolver.h.
|
protected |
Definition at line 94 of file trsolver.h.
|
protected |
Definition at line 78 of file trsolver.h.
|
protected |
Definition at line 79 of file trsolver.h.
|
protected |
Definition at line 80 of file trsolver.h.
|
protected |
Definition at line 81 of file trsolver.h.
|
protected |
Definition at line 77 of file trsolver.h.
|
protected |
Definition at line 101 of file trsolver.h.
|
protected |
Definition at line 84 of file trsolver.h.
|
protected |
Definition at line 75 of file trsolver.h.
|
protected |
Definition at line 86 of file trsolver.h.
|
protected |
Definition at line 90 of file trsolver.h.
|
protected |
Definition at line 88 of file trsolver.h.
qucs::trsolver::PROP_ACTION |
Definition at line 963 of file trsolver.cpp.
qucs::trsolver::PROP_LINEAR |
Definition at line 963 of file trsolver.cpp.
qucs::trsolver::PROP_NO_SUBSTRATE |
Definition at line 963 of file trsolver.cpp.
|
protected |
Definition at line 91 of file trsolver.h.
|
protected |
Definition at line 100 of file trsolver.h.
|
protected |
Definition at line 93 of file trsolver.h.
|
protected |
Definition at line 98 of file trsolver.h.
|
protected |
Definition at line 97 of file trsolver.h.
|
protected |
Definition at line 96 of file trsolver.h.
|
protected |
Definition at line 95 of file trsolver.h.
|
protected |
Definition at line 82 of file trsolver.h.
|
protected |
Definition at line 74 of file trsolver.h.
|
protected |
Definition at line 99 of file trsolver.h.
qucs::trsolver::TR |
Definition at line 963 of file trsolver.cpp.