My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
trsolver Class Reference

#include <trsolver.h>

Inheritance diagram for trsolver:
Inheritance graph
[legend]
Collaboration diagram for trsolver:
Collaboration graph
[legend]

Public Member Functions

 ACREATOR (trsolver)
 
 trsolver (char *)
 
 trsolver (trsolver &)
 
 ~trsolver ()
 
int solve (void)
 
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 nasolver< nr_double_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, vector *f=NULL)
 
void setCalculation (calculate_func_t f)
 
void calculate (void)
 
const char * getHelperDescription (void)
 
- Public Member Functions inherited from analysis
 analysis ()
 
 analysis (char *)
 
 analysis (analysis &)
 
 ~analysis ()
 
virtual int initialize (void)
 
virtual int cleanup (void)
 
datasetgetData (void)
 
void setData (dataset *d)
 
netgetNet (void)
 
void setNet (net *netlist)
 
environmentgetEnv (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)
 
sweepcreateSweep (const char *)
 
void saveVariable (const char *, nr_complex_t, vector *)
 
bool getProgress (void)
 
void setProgress (bool p)
 
- Public Member Functions inherited from object
 object ()
 
 object (const char *)
 
 object (const object &)
 
virtual ~object ()
 
objectgetNext (void)
 
void setNext (object *o)
 
objectgetPrev (void)
 
void setPrev (object *o)
 
void setName (const char *)
 
char * getName (void)
 
void addProperty (property *)
 
propertyaddProperty (const char *, const char *)
 
propertyaddProperty (const char *, nr_double_t)
 
propertyaddProperty (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 *)
 
vectorgetPropertyVector (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 states< nr_double_t >
 states ()
 
 states (const states &)
 
 ~states ()
 
nr_double_t getState (int, int n=0)
 
void setState (int, nr_double_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, nr_double_t)
 
void saveState (int, nr_double_t *)
 

Static Public Member Functions

static void calcTR (trsolver *)
 
static void calcDC (trsolver *)
 

Public Attributes

 TR
 
 PROP_ACTION
 
 PROP_NO_SUBSTRATE
 
 PROP_LINEAR
 

Additional Inherited Members

- Public Types inherited from nasolver< nr_double_t >
typedef void(* calculate_func_t )(nasolver< nr_double_t > *)
 
- Protected Member Functions inherited from nasolver< nr_double_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)
 
circuitfindVoltageSource (int)
 
void applyNodeset (bool nokeep=true)
 
void createNoiseMatrix (void)
 
void runMNA (void)
 
void createMatrix (void)
 
void storeSolution (void)
 
void recallSolution (void)
 
- Protected Attributes inherited from nasolver< nr_double_t >
tvector< nr_double_t > * z
 
tvector< nr_double_t > * x
 
tvector< nr_double_t > * xprev
 
tvector< nr_double_t > * zprev
 
tmatrix< nr_double_t > * A
 
tmatrix< nr_double_t > * C
 
int iterations
 
int convHelper
 
int fixpoint
 
int eqnAlgo
 
int updateMatrix
 
nr_double_t gMin
 
nr_double_t srcFactor
 

Detailed Description

Definition at line 823 of file trsolver.cpp.

Constructor & Destructor Documentation

trsolver::trsolver ( char *  n)

Definition at line 71 of file trsolver.cpp.

Here is the call graph for this function:

trsolver::trsolver ( trsolver o)

Definition at line 91 of file trsolver.cpp.

trsolver::~trsolver ( )

Definition at line 83 of file trsolver.cpp.

Member Function Documentation

trsolver::ACREATOR ( trsolver  )
void trsolver::adjustDelta ( nr_double_t  t)

Definition at line 539 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::adjustOrder ( int  reduce = 0)

Definition at line 599 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::calcDC ( trsolver self)
static

Definition at line 622 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::calcTR ( trsolver self)
static

Definition at line 631 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nr_double_t trsolver::checkDelta ( void  )

Definition at line 748 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int trsolver::corrector ( void  )

Definition at line 495 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int trsolver::dcAnalysis ( void  )

Definition at line 111 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::deinitTR ( void  )

Definition at line 710 of file trsolver.cpp.

Here is the caller graph for this function:

void trsolver::fillSolution ( tvector< nr_double_t > *  s)

Definition at line 434 of file trsolver.cpp.

Here is the caller graph for this function:

void trsolver::fillStates ( void  )

Definition at line 515 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::initCircuitTR ( circuit c)

Definition at line 724 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::initDC ( void  )

Definition at line 649 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::initHistory ( nr_double_t  t)

Definition at line 357 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::initSteps ( void  )

Definition at line 101 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::initTR ( void  )

Definition at line 658 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::nextStates ( void  )

Definition at line 502 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::predictBashford ( void  )

Definition at line 440 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::predictEuler ( void  )

Definition at line 461 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::predictGear ( void  )

Definition at line 477 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int trsolver::predictor ( void  )

Definition at line 412 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::restart ( void  )

Definition at line 640 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::saveAllResults ( nr_double_t  time)

Definition at line 734 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::saveHistory ( circuit c)

Definition at line 392 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::setDelta ( void  )

Definition at line 531 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::setMode ( int  state)

Definition at line 524 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int trsolver::solve ( void  )
virtual

Reimplemented from analysis.

Definition at line 159 of file trsolver.cpp.

Here is the call graph for this function:

void trsolver::updateCoefficients ( nr_double_t  delta)

Definition at line 789 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void trsolver::updateHistory ( nr_double_t  t)

Definition at line 378 of file trsolver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

trsolver::PROP_ACTION

Definition at line 824 of file trsolver.cpp.

trsolver::PROP_LINEAR

Definition at line 824 of file trsolver.cpp.

trsolver::PROP_NO_SUBSTRATE

Definition at line 824 of file trsolver.cpp.

trsolver::TR

Definition at line 824 of file trsolver.cpp.


The documentation for this class was generated from the following files: