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

#include <digital.h>

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

Public Member Functions

 digital ()
 
 ~digital ()
 
void initSP (void)
 
void calcSP (nr_double_t)
 
void initDC (void)
 
void calcDC (void)
 
void initAC (void)
 
void calcAC (nr_double_t)
 
void initTR (void)
 
void calcTR (nr_double_t)
 
void calcOperatingPoints (void)
 
- Public Member Functions inherited from circuit
 circuit ()
 
 circuit (int)
 
 circuit (const circuit &)
 
 ~circuit ()
 
virtual void restartDC (void)
 
virtual void initNoiseSP (void)
 
virtual void calcNoiseSP (nr_double_t)
 
virtual void initNoiseAC (void)
 
virtual void calcNoiseAC (nr_double_t)
 
virtual void initHB (void)
 
virtual void calcHB (nr_double_t)
 
virtual void initHB (int)
 
virtual void calcHB (int)
 
virtual void saveOperatingPoints (void)
 
virtual void calcCharacteristics (nr_double_t)
 
virtual void saveCharacteristics (nr_double_t)
 
void setNode (int, const char *, int intern=0)
 
nodegetNode (int)
 
void setType (int t)
 
int getType (void)
 
int getSize (void)
 
void setSize (int)
 
bool isEnabled (void)
 
void setEnabled (bool e)
 
bool isVariableSized (void)
 
void setVariableSized (bool v)
 
bool isProbe (void)
 
void setProbe (bool p)
 
void setNet (net *n)
 
netgetNet (void)
 
char * getSubcircuit (void)
 
void setSubcircuit (char *)
 
environmentgetEnv (void)
 
void setEnv (environment *e)
 
void setInternalVoltageSource (bool i)
 
bool isInternalVoltageSource (void)
 
void setVoltageSource (int s)
 
int getVoltageSource (void)
 
int getVoltageSources (void)
 
void setVoltageSources (int)
 
void voltageSource (int, int, int, nr_double_t value=0.0)
 
bool isVSource (void)
 
void setVSource (bool v)
 
bool isISource (void)
 
void setISource (bool i)
 
int getNoiseSources (void)
 
void setNoiseSources (int)
 
void transientCapacitance (int, int, int, nr_double_t, nr_double_t, nr_double_t)
 
void transientCapacitance (int, int, nr_double_t, nr_double_t, nr_double_t)
 
void transientCapacitanceQ (int, int, int, nr_double_t)
 
void transientCapacitanceQ (int, int, nr_double_t)
 
void transientCapacitanceC (int, int, int, int, nr_double_t, nr_double_t)
 
void transientCapacitanceC (int, int, nr_double_t, nr_double_t)
 
void transientCapacitanceC2V (int, int, int, nr_double_t, nr_double_t)
 
void transientCapacitanceC2Q (int, int, int, nr_double_t, nr_double_t)
 
void setDelta (nr_double_t *d)
 
nr_double_t * getDelta (void)
 
bool hasHistory (void)
 
void setHistory (bool h)
 
void initHistory (nr_double_t)
 
void deleteHistory (void)
 
void appendHistory (int, nr_double_t)
 
void applyHistory (history *)
 
nr_double_t getV (int, nr_double_t)
 
nr_double_t getJ (int, nr_double_t)
 
nr_double_t getHistoryAge (void)
 
int getPort (void)
 
void setPort (int p)
 
int getInserted (void)
 
void setInserted (int i)
 
bool isOriginal (void)
 
void setOriginal (bool o)
 
substrategetSubstrate (void)
 
void setSubstrate (substrate *)
 
nr_complex_t getS (int, int)
 
nr_complex_t getN (int, int)
 
nr_complex_t getY (int, int)
 
nr_complex_t getB (int, int)
 
nr_complex_t getC (int, int)
 
nr_complex_t getD (int, int)
 
nr_complex_t getQV (int, int)
 
nr_complex_t getGV (int)
 
nr_complex_t getCV (int)
 
nr_complex_t getE (int)
 
nr_complex_t getI (int)
 
nr_complex_t getJ (int)
 
nr_complex_t getV (int)
 
nr_complex_t getQ (int)
 
nr_double_t getG (int, int)
 
void setS (int, int, nr_complex_t)
 
void setN (int, int, nr_complex_t)
 
void setY (int, int, nr_complex_t)
 
void setB (int, int, nr_complex_t)
 
void setC (int, int, nr_complex_t)
 
void setD (int, int, nr_complex_t)
 
void setQV (int, int, nr_complex_t)
 
void setGV (int, nr_complex_t)
 
void setCV (int, nr_complex_t)
 
void setE (int, nr_complex_t)
 
void setI (int, nr_complex_t)
 
void setJ (int, nr_complex_t)
 
void setV (int, nr_complex_t)
 
void setQ (int, nr_complex_t)
 
void setG (int, int, nr_double_t)
 
void clearB (void)
 
void clearC (void)
 
void clearD (void)
 
void clearE (void)
 
void clearI (void)
 
void clearJ (void)
 
void clearV (void)
 
void clearY (void)
 
void addY (int, int, nr_complex_t)
 
void addY (int, int, nr_double_t)
 
void addI (int, nr_complex_t)
 
void addI (int, nr_double_t)
 
void addOperatingPoint (const char *, nr_double_t)
 
nr_double_t getOperatingPoint (const char *)
 
void setOperatingPoint (const char *, nr_double_t)
 
int hasOperatingPoint (char *)
 
valuelist< operatingpoint > & getOperatingPoints (void)
 
void addCharacteristic (const char *, nr_double_t)
 
nr_double_t getCharacteristic (char *)
 
void setCharacteristic (const char *, nr_double_t)
 
int hasCharacteristic (char *)
 
valuelist< characteristic > & getCharacteristics (void)
 
void setNonLinear (bool l)
 
bool isNonLinear (void)
 
void print (void)
 
void setInternalNode (int, const char *)
 
void allocMatrixS (void)
 
void allocMatrixN (int sources=0)
 
void allocMatrixMNA (void)
 
void freeMatrixMNA (void)
 
void allocMatrixHB (void)
 
void freeMatrixHB (void)
 
void setMatrixS (matrix)
 
matrix getMatrixS (void)
 
void setMatrixN (matrix)
 
matrix getMatrixN (void)
 
void setMatrixY (matrix)
 
matrix getMatrixY (void)
 
- 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 integrator
 integrator ()
 
 integrator (const integrator &)
 
 ~integrator ()
 
void setIntegration (integrate_func_t f)
 
void setConductance (conductor_func_t f)
 
void integrate (int, nr_double_t, nr_double_t &, nr_double_t &)
 
void conductor (nr_double_t, nr_double_t &)
 
void setOrder (int o)
 
int getOrder (void)
 
void setMode (int s)
 
int getMode (void)
 
void setCoefficients (nr_double_t *c)
 
nr_double_t * getCoefficients (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 *)
 

Protected Member Functions

virtual void calcOutput (void)
 
virtual void calcDerivatives (void)
 
nr_double_t getVin (int)
 
nr_double_t calcTransfer (int)
 
nr_double_t calcTransferX (int)
 
nr_double_t calcDerivative (int)
 
nr_double_t calcDerivativeX (int)
 

Protected Attributes

nr_double_t * g
 
nr_double_t Vout
 
nr_double_t Veq
 
nr_double_t Tdelay
 
int i
 
bool delay
 
- Protected Attributes inherited from circuit
int type
 
int pol
 

Additional Inherited Members

- Public Types inherited from integrator
typedef void(* integrate_func_t )(integrator *, int, nr_double_t, nr_double_t &, nr_double_t &)
 
typedef void(* conductor_func_t )(integrator *, nr_double_t, nr_double_t &)
 
- Static Public Member Functions inherited from circuit
static char * createInternal (const char *, const char *)
 
- Static Public Attributes inherited from circuit
static const nr_double_t z0 = 50.0
 

Detailed Description

Definition at line 28 of file digital.h.

Constructor & Destructor Documentation

digital::digital ( )

Definition at line 43 of file digital.cpp.

Here is the call graph for this function:

digital::~digital ( )

Definition at line 52 of file digital.cpp.

Member Function Documentation

void digital::calcAC ( nr_double_t  frequency)
virtual

Reimplemented from circuit.

Definition at line 154 of file digital.cpp.

Here is the call graph for this function:

void digital::calcDC ( void  )
virtual

Reimplemented from circuit.

Definition at line 134 of file digital.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nr_double_t digital::calcDerivative ( int  input)
protected

Definition at line 101 of file digital.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void digital::calcDerivatives ( void  )
inlineprotectedvirtual

Reimplemented in logicand, buffer, inverter, logicnand, logicnor, logicor, logicxnor, and logicxor.

Definition at line 45 of file digital.h.

Here is the caller graph for this function:

nr_double_t digital::calcDerivativeX ( int  input)
protected

Definition at line 93 of file digital.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void digital::calcOperatingPoints ( void  )
virtual

Reimplemented from circuit.

Definition at line 144 of file digital.cpp.

Here is the call graph for this function:

virtual void digital::calcOutput ( void  )
inlineprotectedvirtual

Reimplemented in logicand, buffer, inverter, logicnand, logicnor, logicor, logicxnor, and logicxor.

Definition at line 44 of file digital.h.

Here is the caller graph for this function:

void digital::calcSP ( nr_double_t  frequency)
virtual

Reimplemented from circuit.

Definition at line 115 of file digital.cpp.

Here is the call graph for this function:

void digital::calcTR ( nr_double_t  t)
virtual

Reimplemented from circuit.

Definition at line 175 of file digital.cpp.

Here is the call graph for this function:

nr_double_t digital::calcTransfer ( int  input)
protected

Definition at line 88 of file digital.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nr_double_t digital::calcTransferX ( int  input)
protected

Definition at line 81 of file digital.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nr_double_t digital::getVin ( int  input)
protected

Definition at line 72 of file digital.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void digital::initAC ( void  )
virtual

Reimplemented from circuit.

Definition at line 149 of file digital.cpp.

Here is the call graph for this function:

void digital::initDC ( void  )
virtual

Reimplemented from circuit.

Definition at line 124 of file digital.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void digital::initSP ( void  )
virtual

Reimplemented from circuit.

Definition at line 106 of file digital.cpp.

Here is the call graph for this function:

void digital::initTR ( void  )
virtual

Reimplemented from circuit.

Definition at line 162 of file digital.cpp.

Here is the call graph for this function:

Member Data Documentation

bool digital::delay
protected

Definition at line 56 of file digital.h.

nr_double_t* digital::g
protected

Definition at line 53 of file digital.h.

int digital::i
protected

Definition at line 55 of file digital.h.

nr_double_t digital::Tdelay
protected

Definition at line 54 of file digital.h.

nr_double_t digital::Veq
protected

Definition at line 54 of file digital.h.

nr_double_t digital::Vout
protected

Definition at line 54 of file digital.h.


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