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::acsolver Class Reference

#include <acsolver.h>

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

Public Member Functions

 ACREATOR (acsolver)
 
 acsolver (char *)
 
 acsolver (acsolver &)
 
 ~acsolver ()
 
int solve (void)
 placehoder for solution function More...
 
void solve_noise (void)
 
void init (void)
 
void saveAllResults (nr_double_t)
 
void saveNoiseResults (qucs::vector *)
 
- 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 (acsolver *)
 

Data Fields

 AC
 
 PROP_ACTION
 
 PROP_NO_SUBSTRATE
 
 PROP_LINEAR
 

Private Attributes

sweep * swp
 
nr_double_t freq
 
int noise
 
tvector< nr_double_t > * xn
 

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 239 of file acsolver.cpp.

Constructor & Destructor Documentation

qucs::acsolver::acsolver ( char *  n)

Definition at line 54 of file acsolver.cpp.

qucs::acsolver::acsolver ( acsolver o)

Definition at line 70 of file acsolver.cpp.

qucs::acsolver::~acsolver ( )

Definition at line 63 of file acsolver.cpp.

Member Function Documentation

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

Definition at line 122 of file acsolver.cpp.

void qucs::acsolver::init ( void  )

Definition at line 132 of file acsolver.cpp.

void qucs::acsolver::saveAllResults ( nr_double_t  freq)

Definition at line 143 of file acsolver.cpp.

void qucs::acsolver::saveNoiseResults ( qucs::vector f)

Definition at line 161 of file acsolver.cpp.

int qucs::acsolver::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 78 of file acsolver.cpp.

void qucs::acsolver::solve_noise ( void  )

Definition at line 188 of file acsolver.cpp.

Field Documentation

qucs::acsolver::AC

Definition at line 240 of file acsolver.cpp.

nr_double_t qucs::acsolver::freq
private

Definition at line 51 of file acsolver.h.

int qucs::acsolver::noise
private

Definition at line 52 of file acsolver.h.

qucs::acsolver::PROP_ACTION

Definition at line 240 of file acsolver.cpp.

qucs::acsolver::PROP_LINEAR

Definition at line 240 of file acsolver.cpp.

qucs::acsolver::PROP_NO_SUBSTRATE

Definition at line 240 of file acsolver.cpp.

sweep* qucs::acsolver::swp
private

Definition at line 50 of file acsolver.h.

tvector<nr_double_t>* qucs::acsolver::xn
private

Definition at line 53 of file acsolver.h.


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