Qucs-core
0.0.18
|
base class for qucs circuit elements. More...
#include <circuit.h>
Public Member Functions | |
circuit () | |
circuit (int) | |
circuit (const circuit &) | |
~circuit () | |
virtual void | initSP (void) |
placehoder for S-Parameter initialisation function More... | |
virtual void | calcSP (nr_double_t) |
virtual void | initDC (void) |
virtual void | calcDC (void) |
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 | initAC (void) |
virtual void | calcAC (nr_double_t) |
virtual void | initTR (void) |
virtual void | calcTR (nr_double_t) |
virtual void | initHB (void) |
virtual void | calcHB (nr_double_t) |
virtual void | initHB (int) |
virtual void | calcHB (int) |
virtual void | calcOperatingPoints (void) |
virtual void | saveOperatingPoints (void) |
virtual void | calcCharacteristics (nr_double_t) |
virtual void | saveCharacteristics (nr_double_t) |
void | setNode (int, const char *, int intern=0) |
node * | getNode (int) |
void | setType (int t) |
int | getType (void) |
int | getSize (void) |
Get the number of ports the circuit element has. More... | |
void | setSize (int) |
Set the number of ports the circuit element has. More... | |
bool | isEnabled (void) |
Reports if circuit element is enabled. More... | |
void | setEnabled (bool e) |
Set a circuit element to be enabled or diabled. More... | |
bool | isVariableSized (void) |
void | setVariableSized (bool v) |
bool | isProbe (void) |
void | setProbe (bool p) |
void | setNet (net *n) |
net * | getNet (void) |
char * | getSubcircuit (void) |
void | setSubcircuit (char *) |
environment * | getEnv (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 | truncateHistory (nr_double_t) |
void | appendHistory (int, nr_double_t) |
void | applyHistory (history *) |
nr_double_t | getV (int, nr_double_t) |
nr_double_t | getV (int, int) |
nr_double_t | getJ (int, nr_double_t) |
nr_double_t | getHistoryAge (void) |
void | setHistoryAge (nr_double_t) |
int | getHistorySize (void) |
nr_double_t | getHistoryTFromIndex (int) |
int | getPort (void) |
void | setPort (int p) |
int | getInserted (void) |
void | setInserted (int i) |
bool | isOriginal (void) |
void | setOriginal (bool o) |
substrate * | getSubstrate (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 qucs::object | |
object () | |
object (const char *) | |
object (const object &) | |
virtual | ~object () |
object * | getNext (void) |
void | setNext (object *o) |
object * | getPrev (void) |
void | setPrev (object *o) |
void | setName (const char *) |
char * | getName (void) |
void | addProperty (property *) |
property * | addProperty (const char *, const char *) |
property * | addProperty (const char *, nr_double_t) |
property * | addProperty (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 *) |
vector * | getPropertyVector (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 () |
object * | getNext (void) |
void | setNext (object *o) |
object * | getPrev (void) |
void | setPrev (object *o) |
void | setName (const char *) |
char * | getName (void) |
void | addProperty (property *) |
property * | addProperty (const char *, const char *) |
property * | addProperty (const char *, nr_double_t) |
property * | addProperty (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 *) |
vector * | getPropertyVector (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 qucs::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 qucs::states< state_type_t > | |
states () | |
states (const states &) | |
~states () | |
state_type_t | getState (int, int n=0) |
void | setState (int, state_type_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, state_type_t) |
void | saveState (int, state_type_t *) |
void | inputState (int, state_type_t *) |
Static Public Member Functions | |
static char * | createInternal (const char *, const char *) |
Static Public Attributes | |
static const nr_double_t | z0 = 50.0 |
Protected Attributes | |
int | type |
int | pol |
Private Attributes | |
int | size |
int | pacport |
int | vsource |
int | vsources |
int | nsources |
int | inserted |
int | flag |
nr_complex_t * | MatrixS |
nr_complex_t * | MatrixN |
nr_complex_t * | MatrixY |
nr_complex_t * | MatrixB |
nr_complex_t * | MatrixC |
nr_complex_t * | MatrixD |
nr_complex_t * | VectorE |
nr_complex_t * | VectorI |
nr_complex_t * | VectorV |
nr_complex_t * | VectorJ |
nr_complex_t * | VectorQ |
nr_complex_t * | MatrixQV |
nr_complex_t * | VectorGV |
nr_complex_t * | VectorCV |
char * | subcircuit |
node * | nodes |
substrate * | subst |
valuelist< operatingpoint > | oper |
valuelist< characteristic > | charac |
net * | subnet |
environment * | env |
nr_double_t * | deltas |
int | nHistories |
history * | histories |
Additional Inherited Members | |
Public Types inherited from qucs::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 &) |
base class for qucs circuit elements.
This is the base class for all circuit elements and provides the the functionality required for all simulation types. It has a number of virtual functions intended to be overridden by the inheiriting class
qucs::circuit::circuit | ( | ) |
Definition at line 55 of file circuit.cpp.
qucs::circuit::circuit | ( | int | s | ) |
Definition at line 81 of file circuit.cpp.
qucs::circuit::circuit | ( | const circuit & | c | ) |
Definition at line 108 of file circuit.cpp.
qucs::circuit::~circuit | ( | ) |
Definition at line 180 of file circuit.cpp.
void qucs::circuit::addCharacteristic | ( | const char * | n, |
nr_double_t | val | ||
) |
Definition at line 550 of file circuit.cpp.
void qucs::circuit::addI | ( | int | port, |
nr_complex_t | i | ||
) |
Definition at line 403 of file circuit.cpp.
void qucs::circuit::addI | ( | int | port, |
nr_double_t | i | ||
) |
Definition at line 408 of file circuit.cpp.
void qucs::circuit::addOperatingPoint | ( | const char * | n, |
nr_double_t | val | ||
) |
Definition at line 517 of file circuit.cpp.
void qucs::circuit::addY | ( | int | r, |
int | c, | ||
nr_complex_t | y | ||
) |
Definition at line 458 of file circuit.cpp.
Definition at line 463 of file circuit.cpp.
void qucs::circuit::allocMatrixHB | ( | void | ) |
Definition at line 227 of file circuit.cpp.
void qucs::circuit::allocMatrixMNA | ( | void | ) |
Definition at line 267 of file circuit.cpp.
void qucs::circuit::allocMatrixN | ( | int | sources = 0 | ) |
Definition at line 260 of file circuit.cpp.
void qucs::circuit::allocMatrixS | ( | void | ) |
Definition at line 251 of file circuit.cpp.
void qucs::circuit::appendHistory | ( | int | n, |
nr_double_t | val | ||
) |
Definition at line 906 of file circuit.cpp.
void qucs::circuit::applyHistory | ( | history * | h | ) |
Definition at line 929 of file circuit.cpp.
|
inlinevirtual |
Reimplemented in spfile, diode, bjt, mosfet, diac, jfet, thyristor, triac, rectline, tunneldiode, bondwire, cpwline, mstee, digital, msopen, coaxline, mscorner, mscoupled, mslange, msline, msvia, resistor, twistedpair, eqndefined, inductor, cpwopen, cpwshort, cpwstep, msmbend, msrstub, msstep, rfedd, capacitor, cccs, ccvs, ctline, msgap, mutual, mutual2, mutualx, pac, rlcg, tline, tline4p, vccs, vcvs, cpwgap, and mscross.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in diode, and eqndefined.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in spfile, mstee, eqndefined, rfedd, mscross, msopen, rectline, bondwire, diac, diode, thyristor, triac, digital, cpwline, msline, msrstub, capacitor, coaxline, cpwopen, cpwshort, cpwstep, mscorner, mscoupled, msgap, mslange, msmbend, msstep, resistor, twistedpair, cccs, ccvs, circulator, ctline, bjt, jfet, mosfet, tunneldiode, inductor, cpwgap, msvia, mutual, mutual2, mutualx, pac, rlcg, tline, tline4p, vccs, and vcvs.
|
inlinevirtual |
Reimplemented in ecvs, diode, bjt, mosfet, jfet, diac, thyristor, triac, vfile, ifile, eqndefined, tunneldiode, digital, resistor, rfedd, inductor, capacitor, cccs, ccvs, iexp, mutual, mutual2, mutualx, opamp, pac, relais, tline, tline4p, vccs, vcvs, vexp, biastee, dcblock, dcfeed, digisource, ipulse, irect, tswitch, vac, vam, vpm, vpulse, vrect, and iac.
void qucs::circuit::clearB | ( | void | ) |
Definition at line 705 of file circuit.cpp.
void qucs::circuit::clearC | ( | void | ) |
Definition at line 710 of file circuit.cpp.
void qucs::circuit::clearD | ( | void | ) |
Definition at line 715 of file circuit.cpp.
void qucs::circuit::clearE | ( | void | ) |
Definition at line 720 of file circuit.cpp.
void qucs::circuit::clearI | ( | void | ) |
Definition at line 730 of file circuit.cpp.
void qucs::circuit::clearJ | ( | void | ) |
Definition at line 725 of file circuit.cpp.
void qucs::circuit::clearV | ( | void | ) |
Definition at line 735 of file circuit.cpp.
void qucs::circuit::clearY | ( | void | ) |
Definition at line 740 of file circuit.cpp.
|
static |
Definition at line 626 of file circuit.cpp.
void qucs::circuit::deleteHistory | ( | void | ) |
Definition at line 886 of file circuit.cpp.
void qucs::circuit::freeMatrixHB | ( | void | ) |
Definition at line 219 of file circuit.cpp.
void qucs::circuit::freeMatrixMNA | ( | void | ) |
Definition at line 284 of file circuit.cpp.
nr_complex_t qucs::circuit::getB | ( | int | port, |
int | nr | ||
) |
Definition at line 343 of file circuit.cpp.
nr_complex_t qucs::circuit::getC | ( | int | nr, |
int | port | ||
) |
Definition at line 355 of file circuit.cpp.
nr_double_t qucs::circuit::getCharacteristic | ( | char * | n | ) |
Definition at line 558 of file circuit.cpp.
|
inline |
nr_complex_t qucs::circuit::getCV | ( | int | port | ) |
Definition at line 505 of file circuit.cpp.
nr_complex_t qucs::circuit::getD | ( | int | r, |
int | c | ||
) |
Definition at line 367 of file circuit.cpp.
nr_complex_t qucs::circuit::getE | ( | int | nr | ) |
Definition at line 379 of file circuit.cpp.
|
inline |
Definition at line 469 of file circuit.cpp.
nr_complex_t qucs::circuit::getGV | ( | int | port | ) |
Definition at line 493 of file circuit.cpp.
nr_double_t qucs::circuit::getHistoryAge | ( | void | ) |
Definition at line 911 of file circuit.cpp.
int qucs::circuit::getHistorySize | ( | void | ) |
Definition at line 917 of file circuit.cpp.
nr_double_t qucs::circuit::getHistoryTFromIndex | ( | int | idx | ) |
Definition at line 922 of file circuit.cpp.
nr_complex_t qucs::circuit::getI | ( | int | port | ) |
Definition at line 391 of file circuit.cpp.
nr_double_t qucs::circuit::getJ | ( | int | nr, |
nr_double_t | t | ||
) |
Definition at line 951 of file circuit.cpp.
nr_complex_t qucs::circuit::getJ | ( | int | nr | ) |
Definition at line 424 of file circuit.cpp.
matrix qucs::circuit::getMatrixN | ( | void | ) |
Definition at line 675 of file circuit.cpp.
matrix qucs::circuit::getMatrixS | ( | void | ) |
Definition at line 654 of file circuit.cpp.
matrix qucs::circuit::getMatrixY | ( | void | ) |
Definition at line 696 of file circuit.cpp.
nr_complex_t qucs::circuit::getN | ( | int | r, |
int | c | ||
) |
Definition at line 592 of file circuit.cpp.
Definition at line 307 of file circuit.cpp.
int qucs::circuit::getNoiseSources | ( | void | ) |
Definition at line 613 of file circuit.cpp.
nr_double_t qucs::circuit::getOperatingPoint | ( | const char * | n | ) |
Definition at line 525 of file circuit.cpp.
|
inline |
nr_complex_t qucs::circuit::getQ | ( | int | port | ) |
Definition at line 413 of file circuit.cpp.
nr_complex_t qucs::circuit::getQV | ( | int | r, |
int | c | ||
) |
Definition at line 481 of file circuit.cpp.
nr_complex_t qucs::circuit::getS | ( | int | x, |
int | y | ||
) |
Definition at line 582 of file circuit.cpp.
|
inline |
substrate * qucs::circuit::getSubstrate | ( | void | ) |
Definition at line 332 of file circuit.cpp.
nr_double_t qucs::circuit::getV | ( | int | port, |
nr_double_t | t | ||
) |
Definition at line 941 of file circuit.cpp.
Definition at line 946 of file circuit.cpp.
nr_complex_t qucs::circuit::getV | ( | int | port | ) |
Definition at line 435 of file circuit.cpp.
int qucs::circuit::getVoltageSources | ( | void | ) |
Definition at line 602 of file circuit.cpp.
nr_complex_t qucs::circuit::getY | ( | int | r, |
int | c | ||
) |
Definition at line 446 of file circuit.cpp.
int qucs::circuit::hasCharacteristic | ( | char * | n | ) |
Definition at line 577 of file circuit.cpp.
int qucs::circuit::hasOperatingPoint | ( | char * | n | ) |
Definition at line 544 of file circuit.cpp.
|
inlinevirtual |
Reimplemented in spfile, ecvs, amplifier, diode, bjt, mosfet, vfile, diac, jfet, thyristor, triac, ifile, rectline, resistor, tunneldiode, bondwire, cpwline, mstee, digital, capacitor, coaxline, ivnoise, mscorner, mscoupled, mslange, msline, msvia, twistedpair, vvnoise, attenuator, eqndefined, idc, iexp, inductor, isolator, cpwopen, cpwshort, cpwstep, msmbend, msstep, opamp, relais, rfedd, vdc, vexp, vnoise, biastee, cccs, ccvs, circulator, coupler, cross, ctline, dcblock, dcfeed, digisource, gyrator, hybrid, iac, iprobe, ipulse, irect, mutual, mutual2, mutualx, phaseshifter, rlcg, ashort, strafo, tee, tline, tline4p, trafo, tswitch, vac, vam, vccs, vcvs, vpm, vprobe, vpulse, vrect, and mscross.
|
inlinevirtual |
Reimplemented in spfile, ecvs, amplifier, vfile, ifile, rectline, bondwire, msopen, mstee, bjt, diode, cpwline, resistor, coaxline, diac, jfet, mosfet, thyristor, triac, digital, ivnoise, mscorner, msrstub, msvia, twistedpair, vvnoise, attenuator, capacitor, iexp, isolator, cpwopen, cpwshort, cpwstep, msgap, msmbend, msstep, vexp, vnoise, biastee, cccs, ccvs, circulator, coupler, cross, ctline, dcblock, dcfeed, eqndefined, tunneldiode, digisource, gyrator, hybrid, iac, idc, inductor, iprobe, ipulse, irect, cpwgap, mutual, mutual2, mutualx, opamp, phaseshifter, relais, rfedd, rlcg, ashort, strafo, tee, tline, tline4p, trafo, tswitch, vac, vam, vccs, vcvs, vdc, vpm, vprobe, vpulse, vrect, mscoupled, mscross, mslange, and msline.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in diode, and eqndefined.
void qucs::circuit::initHistory | ( | nr_double_t | age | ) |
Definition at line 869 of file circuit.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
placehoder for S-Parameter initialisation function
Virtual function intended to be overridden by the inheiriting circuit element's S-Parameter initialisation function. initSP is called before commencing the simulation to set up the S-Parameter matrix.
Reimplemented in spfile, ecvs, mstee, amplifier, vfile, eqndefined, ifile, rfedd, mscross, rectline, bjt, bondwire, mscorner, digital, iexp, cpwline, msvia, vexp, attenuator, biastee, coaxline, coupler, cross, dcblock, dcfeed, digisource, ground, gyrator, hybrid, iac, idc, iinoise, inoise, iprobe, ipulse, irect, isolator, itrafo, ivnoise, cpwopen, cpwshort, cpwstep, opamp, open, phaseshifter, relais, resistor, ashort, strafo, tee, trafo, tswitch, twistedpair, vac, vam, vdc, vnoise, vpm, vprobe, vpulse, vrect, and vvnoise.
|
inlinevirtual |
Reimplemented in spfile, ecvs, diode, amplifier, bjt, mosfet, mstee, jfet, diac, thyristor, triac, vfile, ifile, resistor, eqndefined, tunneldiode, digital, rfedd, twistedpair, capacitor, attenuator, inductor, isolator, ivnoise, cpwline, mscross, msstep, vnoise, vvnoise, cccs, ccvs, idc, iexp, mutual, mutual2, mutualx, opamp, relais, rlcg, tline, tline4p, vccs, vcvs, vdc, vexp, biastee, circulator, coupler, cross, dcblock, dcfeed, digisource, gyrator, hybrid, iprobe, ipulse, irect, ashort, strafo, tee, trafo, tswitch, vac, vam, vpm, vprobe, vpulse, and vrect.
|
inline |
|
inline |
void qucs::circuit::print | ( | void | ) |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
void qucs::circuit::setB | ( | int | port, |
int | nr, | ||
nr_complex_t | z | ||
) |
Definition at line 349 of file circuit.cpp.
void qucs::circuit::setC | ( | int | nr, |
int | port, | ||
nr_complex_t | z | ||
) |
Definition at line 361 of file circuit.cpp.
void qucs::circuit::setCharacteristic | ( | const char * | n, |
nr_double_t | val | ||
) |
Definition at line 566 of file circuit.cpp.
void qucs::circuit::setCV | ( | int | port, |
nr_complex_t | cv | ||
) |
Definition at line 511 of file circuit.cpp.
void qucs::circuit::setD | ( | int | r, |
int | c, | ||
nr_complex_t | z | ||
) |
Definition at line 373 of file circuit.cpp.
void qucs::circuit::setE | ( | int | nr, |
nr_complex_t | z | ||
) |
Definition at line 385 of file circuit.cpp.
|
inline |
|
inline |
Definition at line 475 of file circuit.cpp.
void qucs::circuit::setGV | ( | int | port, |
nr_complex_t | gv | ||
) |
Definition at line 499 of file circuit.cpp.
void qucs::circuit::setHistoryAge | ( | nr_double_t | age | ) |
Definition at line 876 of file circuit.cpp.
void qucs::circuit::setI | ( | int | port, |
nr_complex_t | z | ||
) |
Definition at line 397 of file circuit.cpp.
void qucs::circuit::setInternalNode | ( | int | node, |
const char * | suffix | ||
) |
Definition at line 635 of file circuit.cpp.
|
inline |
void qucs::circuit::setJ | ( | int | nr, |
nr_complex_t | z | ||
) |
Definition at line 430 of file circuit.cpp.
void qucs::circuit::setMatrixN | ( | matrix | n | ) |
Definition at line 664 of file circuit.cpp.
void qucs::circuit::setMatrixS | ( | matrix | s | ) |
Definition at line 643 of file circuit.cpp.
void qucs::circuit::setMatrixY | ( | matrix | y | ) |
Definition at line 685 of file circuit.cpp.
void qucs::circuit::setN | ( | int | r, |
int | c, | ||
nr_complex_t | z | ||
) |
Definition at line 597 of file circuit.cpp.
Definition at line 299 of file circuit.cpp.
void qucs::circuit::setNoiseSources | ( | int | s | ) |
Definition at line 618 of file circuit.cpp.
void qucs::circuit::setOperatingPoint | ( | const char * | n, |
nr_double_t | val | ||
) |
Definition at line 533 of file circuit.cpp.
void qucs::circuit::setQ | ( | int | port, |
nr_complex_t | q | ||
) |
Definition at line 418 of file circuit.cpp.
void qucs::circuit::setQV | ( | int | r, |
int | c, | ||
nr_complex_t | qv | ||
) |
Definition at line 487 of file circuit.cpp.
void qucs::circuit::setS | ( | int | x, |
int | y, | ||
nr_complex_t | z | ||
) |
Definition at line 587 of file circuit.cpp.
qucs::circuit::setSize | ( | int | s | ) |
Set the number of ports the circuit element has.
s | integer representing the number of ports |
Sets/changes the number of ports the circuit element has. On setting this value, previously stored node and matrix information is completely lost unless the new size equals the original size
Definition at line 195 of file circuit.cpp.
void qucs::circuit::setSubcircuit | ( | char * | n | ) |
Definition at line 312 of file circuit.cpp.
void qucs::circuit::setSubstrate | ( | substrate * | s | ) |
Definition at line 337 of file circuit.cpp.
void qucs::circuit::setV | ( | int | port, |
nr_complex_t | z | ||
) |
Definition at line 440 of file circuit.cpp.
void qucs::circuit::setVoltageSources | ( | int | s | ) |
Definition at line 607 of file circuit.cpp.
void qucs::circuit::setY | ( | int | r, |
int | c, | ||
nr_complex_t | y | ||
) |
Definition at line 452 of file circuit.cpp.
void qucs::circuit::transientCapacitance | ( | int | qstate, |
int | pos, | ||
int | neg, | ||
nr_double_t | cap, | ||
nr_double_t | voltage, | ||
nr_double_t | charge | ||
) |
Definition at line 759 of file circuit.cpp.
void qucs::circuit::transientCapacitance | ( | int | qstate, |
int | node, | ||
nr_double_t | cap, | ||
nr_double_t | voltage, | ||
nr_double_t | charge | ||
) |
Definition at line 775 of file circuit.cpp.
void qucs::circuit::transientCapacitanceC | ( | int | qpos, |
int | qneg, | ||
int | vpos, | ||
int | vneg, | ||
nr_double_t | cap, | ||
nr_double_t | voltage | ||
) |
Definition at line 819 of file circuit.cpp.
void qucs::circuit::transientCapacitanceC | ( | int | qpos, |
int | vpos, | ||
nr_double_t | cap, | ||
nr_double_t | voltage | ||
) |
Definition at line 859 of file circuit.cpp.
void qucs::circuit::transientCapacitanceC2Q | ( | int | qpos, |
int | qneg, | ||
int | vpos, | ||
nr_double_t | cap, | ||
nr_double_t | voltage | ||
) |
Definition at line 846 of file circuit.cpp.
void qucs::circuit::transientCapacitanceC2V | ( | int | qpos, |
int | vpos, | ||
int | vneg, | ||
nr_double_t | cap, | ||
nr_double_t | voltage | ||
) |
Definition at line 833 of file circuit.cpp.
Definition at line 790 of file circuit.cpp.
Definition at line 803 of file circuit.cpp.
void qucs::circuit::truncateHistory | ( | nr_double_t | tcut | ) |
Definition at line 896 of file circuit.cpp.
Definition at line 748 of file circuit.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |