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

#include <spsolver.h>

Inheritance diagram for qucs::spsolver:
qucs::analysis qucs::object

Public Member Functions

 ACREATOR (spsolver)
 
 spsolver (char *)
 
 spsolver (spsolver &)
 
 ~spsolver ()
 
void calc (nr_double_t)
 
void init (void)
 
void reduce (void)
 
int solve (void)
 placehoder for solution function More...
 
void insertConnections (void)
 
void insertDifferentialPorts (void)
 
void insertTee (node **, char *)
 
void insertCross (node **, char *)
 
void insertConnectors (node *)
 
void insertOpen (node *)
 
void insertGround (node *)
 
circuitinterconnectJoin (node *, node *)
 
circuitconnectedJoin (node *, node *)
 
void noiseConnect (circuit *, node *, node *)
 
void noiseInterconnect (circuit *, node *, node *)
 
void saveResults (nr_double_t)
 
void saveNoiseResults (nr_complex_t[4], nr_complex_t[4], nr_double_t, vector *)
 
char * createSP (int, int)
 
char * createCV (char *, char *)
 
void saveCharacteristics (nr_double_t)
 
void dropTee (circuit *)
 
void dropCross (circuit *)
 
void dropOpen (circuit *)
 
void dropGround (circuit *)
 
void dropDifferentialPort (circuit *)
 
void dropConnections (void)
 
- 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)
 

Data Fields

 SP
 
 PROP_ACTION
 
 PROP_NO_SUBSTRATE
 
 PROP_LINEAR
 

Private Attributes

int tees
 
int crosses
 
int grounds
 
int opens
 
int noise
 
int saveCVs
 
sweepswp
 
nodelistnlist
 
circuitgnd
 

Additional Inherited Members

- 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 1123 of file spsolver.cpp.

Constructor & Destructor Documentation

qucs::spsolver::spsolver ( char *  n)

Definition at line 78 of file spsolver.cpp.

qucs::spsolver::spsolver ( spsolver n)

Definition at line 96 of file spsolver.cpp.

qucs::spsolver::~spsolver ( )

Definition at line 89 of file spsolver.cpp.

Member Function Documentation

qucs::spsolver::ACREATOR ( spsolver  )
void qucs::spsolver::calc ( nr_double_t  freq)

Definition at line 449 of file spsolver.cpp.

circuit * qucs::spsolver::connectedJoin ( node n1,
node n2 
)

Definition at line 172 of file spsolver.cpp.

char * qucs::spsolver::createCV ( char *  c,
char *  n 
)

Definition at line 1081 of file spsolver.cpp.

char * qucs::spsolver::createSP ( int  i,
int  j 
)

Definition at line 1075 of file spsolver.cpp.

void qucs::spsolver::dropConnections ( void  )

Definition at line 873 of file spsolver.cpp.

void qucs::spsolver::dropCross ( circuit c)

Definition at line 756 of file spsolver.cpp.

void qucs::spsolver::dropDifferentialPort ( circuit c)

Definition at line 955 of file spsolver.cpp.

void qucs::spsolver::dropGround ( circuit c)

Definition at line 808 of file spsolver.cpp.

void qucs::spsolver::dropOpen ( circuit c)

Definition at line 783 of file spsolver.cpp.

void qucs::spsolver::dropTee ( circuit c)

Definition at line 743 of file spsolver.cpp.

void qucs::spsolver::init ( void  )

Definition at line 556 of file spsolver.cpp.

void qucs::spsolver::insertConnections ( void  )

Definition at line 820 of file spsolver.cpp.

void qucs::spsolver::insertConnectors ( node n)

Definition at line 635 of file spsolver.cpp.

void qucs::spsolver::insertCross ( node **  nodes,
char *  name 
)

Definition at line 713 of file spsolver.cpp.

void qucs::spsolver::insertDifferentialPorts ( void  )

Definition at line 919 of file spsolver.cpp.

void qucs::spsolver::insertGround ( node n)

Definition at line 792 of file spsolver.cpp.

void qucs::spsolver::insertOpen ( node n)

Definition at line 770 of file spsolver.cpp.

void qucs::spsolver::insertTee ( node **  nodes,
char *  name 
)

Definition at line 686 of file spsolver.cpp.

circuit * qucs::spsolver::interconnectJoin ( node n1,
node n2 
)

Definition at line 110 of file spsolver.cpp.

void qucs::spsolver::noiseConnect ( circuit result,
node n1,
node n2 
)

Definition at line 344 of file spsolver.cpp.

void qucs::spsolver::noiseInterconnect ( circuit result,
node n1,
node n2 
)

Definition at line 277 of file spsolver.cpp.

void qucs::spsolver::reduce ( void  )

Definition at line 460 of file spsolver.cpp.

void qucs::spsolver::saveCharacteristics ( nr_double_t  freq)

Definition at line 1090 of file spsolver.cpp.

void qucs::spsolver::saveNoiseResults ( nr_complex_t  s[4],
nr_complex_t  c[4],
nr_double_t  z0,
vector f 
)

Definition at line 1038 of file spsolver.cpp.

void qucs::spsolver::saveResults ( nr_double_t  freq)

Definition at line 970 of file spsolver.cpp.

int qucs::spsolver::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 567 of file spsolver.cpp.

Field Documentation

int qucs::spsolver::crosses
private

Definition at line 73 of file spsolver.h.

circuit* qucs::spsolver::gnd
private

Definition at line 78 of file spsolver.h.

int qucs::spsolver::grounds
private

Definition at line 73 of file spsolver.h.

nodelist* qucs::spsolver::nlist
private

Definition at line 77 of file spsolver.h.

int qucs::spsolver::noise
private

Definition at line 74 of file spsolver.h.

int qucs::spsolver::opens
private

Definition at line 73 of file spsolver.h.

qucs::spsolver::PROP_ACTION

Definition at line 1124 of file spsolver.cpp.

qucs::spsolver::PROP_LINEAR

Definition at line 1124 of file spsolver.cpp.

qucs::spsolver::PROP_NO_SUBSTRATE

Definition at line 1124 of file spsolver.cpp.

int qucs::spsolver::saveCVs
private

Definition at line 75 of file spsolver.h.

qucs::spsolver::SP

Definition at line 1124 of file spsolver.cpp.

sweep* qucs::spsolver::swp
private

Definition at line 76 of file spsolver.h.

int qucs::spsolver::tees
private

Definition at line 73 of file spsolver.h.


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