Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Data Fields | Private Attributes
qucs::dcsolver Class Reference

#include <dcsolver.h>

Inheritance diagram for qucs::dcsolver:
qucs::nasolver< nr_type_t > qucs::analysis qucs::object

Public Member Functions

 ACREATOR (dcsolver)
 
 dcsolver (char *)
 
 dcsolver (dcsolver &)
 
 ~dcsolver ()
 
int solve (void)
 placehoder for solution function More...
 
void init (void)
 
void restart (void)
 
void saveOperatingPoints (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 ()
 
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)
 
 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)
 

Static Public Member Functions

static void calc (dcsolver *)
 

Data Fields

 DC
 
 PROP_ACTION
 
 PROP_NO_SUBSTRATE
 
 PROP_LINEAR
 

Private Attributes

int saveOPs
 

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)
 
circuitfindVoltageSource (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 inherited from qucs::nasolver< nr_type_t >
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
 
nodelistnlist
 
- Protected Attributes inherited from qucs::analysis
int runs
 
int type
 
net * subnet
 
dataset * data
 
environment * env
 
ptrlist< analysis > * actions
 
bool progress
 

Detailed Description

Definition at line 224 of file dcsolver.cpp.

Constructor & Destructor Documentation

qucs::dcsolver::dcsolver ( char *  n)

Definition at line 50 of file dcsolver.cpp.

qucs::dcsolver::dcsolver ( dcsolver o)

Definition at line 62 of file dcsolver.cpp.

qucs::dcsolver::~dcsolver ( )

Definition at line 57 of file dcsolver.cpp.

Member Function Documentation

qucs::dcsolver::ACREATOR ( dcsolver  )
void qucs::dcsolver::calc ( dcsolver self)
static

Definition at line 174 of file dcsolver.cpp.

void qucs::dcsolver::init ( void  )

Definition at line 183 of file dcsolver.cpp.

void qucs::dcsolver::restart ( void  )

Definition at line 192 of file dcsolver.cpp.

void qucs::dcsolver::saveOperatingPoints ( void  )

Definition at line 201 of file dcsolver.cpp.

int qucs::dcsolver::solve ( void  )
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 68 of file dcsolver.cpp.

Field Documentation

qucs::dcsolver::DC

Definition at line 225 of file dcsolver.cpp.

qucs::dcsolver::PROP_ACTION

Definition at line 225 of file dcsolver.cpp.

qucs::dcsolver::PROP_LINEAR

Definition at line 225 of file dcsolver.cpp.

qucs::dcsolver::PROP_NO_SUBSTRATE

Definition at line 225 of file dcsolver.cpp.

int qucs::dcsolver::saveOPs
private

Definition at line 46 of file dcsolver.h.


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