base class for qucs circuit elements.
More...
#include <circuit.h>
Inherits qucs::object, and qucs::integrator.
Inherited by amplifier, ashort, attenuator, biastee, bjt, bondwire, capacitor, cccs, ccvs, circulator, coaxline, coupler, cpwgap, cpwline, cpwopen, cpwshort, cpwstep, cross, ctline, dcblock, dcfeed, diac, digisource, digital, diode, ecvs, eqndefined, ground, gyrator, hybrid, iac, idc, iexp, ifile, iinoise, inductor, inoise, iprobe, ipulse, irect, isolator, itrafo, ivnoise, jfet, mosfet, mscorner, mscoupled, mscross, msgap, mslange, msline, msmbend, msopen, msrstub, msstep, mstee, msvia, mutual, mutual2, mutualx, opamp, open, pac, phaseshifter, rectline, relais, resistor, rfedd, rlcg, spfile, strafo, tee, thyristor, tline, tline4p, trafo, triac, tswitch, tunneldiode, twistedpair, vac, vam, vccs, vcvs, vdc, vexp, vfile, vnoise, vpm, vprobe, vpulse, vrect, and vvnoise.
Public Member Functions |
circuit * | getNext (void) const |
void | setNext (circuit *const o) |
circuit * | getPrev (void) const |
void | setPrev (circuit *const o) |
| circuit () |
| circuit (int) |
| circuit (const circuit &) |
virtual | ~circuit () |
virtual void | initSP (void) |
| placehoder for S-Parameter initialisation function
|
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) |
virtual void | saveCharacteristics (nr_complex_t) |
void | setNode (int, const std::string &, 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.
|
void | setSize (int) |
| Set the number of ports the circuit element has.
|
bool | isEnabled (void) |
| Reports if circuit element is enabled.
|
void | setEnabled (bool e) |
| Set a circuit element to be enabled or diabled.
|
bool | isVariableSized (void) |
void | setVariableSized (bool v) |
bool | isProbe (void) |
void | setProbe (bool p) |
void | setNet (net *n) |
net * | getNet (void) |
std::string | getSubcircuit (void) |
void | setSubcircuit (const std::string &) |
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 std::string &name, nr_double_t) |
nr_double_t | getOperatingPoint (const std::string &name) |
void | setOperatingPoint (const std::string &name, nr_double_t) |
int | hasOperatingPoint (const std::string &name) |
valuelist< operatingpoint > & | getOperatingPoints (void) |
void | addCharacteristic (const std::string &name, nr_double_t) |
nr_double_t | getCharacteristic (const std::string &name) |
void | setCharacteristic (const std::string &name, nr_double_t) |
int | hasCharacteristic (const std::string &name) |
valuelist< characteristic > & | getCharacteristics (void) |
void | setNonLinear (bool l) |
bool | isNonLinear (void) |
void | print (void) |
void | setInternalNode (int, const std::string &) |
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) |
Static Public Member Functions |
static std::string | createInternal (const std::string &, const std::string &) |
Static Public Attributes |
static const nr_double_t | z0 = 50.0 |
Protected Attributes |
int | type |
int | pol |
Private Attributes |
circuit * | next |
circuit * | prev |
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 |
std::string | subcircuit |
node * | nodes |
substrate * | subst |
valuelist< operatingpoint > | oper |
valuelist< characteristic > | charac |
net * | subnet |
environment * | env |
nr_double_t * | deltas |
int | nHistories |
history * | histories |
Detailed Description
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
Definition at line 95 of file circuit.h.
Constructor & Destructor Documentation
qucs::circuit::circuit |
( |
| ) |
|
qucs::circuit::circuit |
( |
int |
s | ) |
|
qucs::circuit::circuit |
( |
const circuit & |
c | ) |
|
qucs::circuit::~circuit |
( |
| ) |
[virtual] |
Member Function Documentation
void qucs::circuit::addCharacteristic |
( |
const std::string & |
name, |
|
|
nr_double_t |
val |
|
) |
| |
void qucs::circuit::addOperatingPoint |
( |
const std::string & |
name, |
|
|
nr_double_t |
val |
|
) |
| |
void qucs::circuit::allocMatrixHB |
( |
void |
| ) |
|
void qucs::circuit::allocMatrixMNA |
( |
void |
| ) |
|
void qucs::circuit::allocMatrixN |
( |
int |
sources = 0 | ) |
|
void qucs::circuit::allocMatrixS |
( |
void |
| ) |
|
void qucs::circuit::applyHistory |
( |
history * |
h | ) |
|
virtual void qucs::circuit::calcAC |
( |
nr_double_t |
| ) |
[inline, virtual] |
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.
Definition at line 133 of file circuit.h.
virtual void qucs::circuit::calcCharacteristics |
( |
nr_double_t |
| ) |
[inline, virtual] |
virtual void qucs::circuit::calcDC |
( |
void |
| ) |
[inline, virtual] |
Reimplemented in diode, diac, thyristor, triac, digital, bjt, resistor, eqndefined, jfet, mosfet, tunneldiode, idc, inductor, opamp, pac, relais, rfedd, and vdc.
Definition at line 126 of file circuit.h.
virtual void qucs::circuit::calcHB |
( |
nr_double_t |
| ) |
[inline, virtual] |
virtual void qucs::circuit::calcHB |
( |
int |
| ) |
[inline, virtual] |
virtual void qucs::circuit::calcNoiseAC |
( |
nr_double_t |
| ) |
[inline, virtual] |
Reimplemented in spfile, diode, amplifier, bjt, mosfet, jfet, rectline, bondwire, cpwline, relais, coaxline, mscoupled, mslange, msline, msvia, resistor, tline, tline4p, twistedpair, rlcg, tswitch, attenuator, ctline, isolator, pac, vnoise, iinoise, inoise, ivnoise, and vvnoise.
Definition at line 131 of file circuit.h.
virtual void qucs::circuit::calcNoiseSP |
( |
nr_double_t |
| ) |
[inline, virtual] |
Reimplemented in spfile, amplifier, relais, tline, tline4p, rlcg, tswitch, ctline, rectline, bondwire, diode, cpwline, coaxline, mscoupled, mslange, msvia, resistor, twistedpair, attenuator, bjt, jfet, mosfet, iinoise, inoise, isolator, ivnoise, msline, pac, vnoise, and vvnoise.
Definition at line 129 of file circuit.h.
virtual void qucs::circuit::calcOperatingPoints |
( |
void |
| ) |
[inline, virtual] |
virtual void qucs::circuit::calcSP |
( |
nr_double_t |
| ) |
[inline, virtual] |
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.
Definition at line 124 of file circuit.h.
virtual void qucs::circuit::calcTR |
( |
nr_double_t |
| ) |
[inline, virtual] |
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.
Definition at line 135 of file circuit.h.
void qucs::circuit::clearB |
( |
void |
| ) |
|
void qucs::circuit::clearC |
( |
void |
| ) |
|
void qucs::circuit::clearD |
( |
void |
| ) |
|
void qucs::circuit::clearE |
( |
void |
| ) |
|
void qucs::circuit::clearI |
( |
void |
| ) |
|
void qucs::circuit::clearJ |
( |
void |
| ) |
|
void qucs::circuit::clearV |
( |
void |
| ) |
|
void qucs::circuit::clearY |
( |
void |
| ) |
|
std::string qucs::circuit::createInternal |
( |
const std::string & |
prefix, |
|
|
const std::string & |
obj |
|
) |
| [static] |
void qucs::circuit::deleteHistory |
( |
void |
| ) |
|
void qucs::circuit::freeMatrixHB |
( |
void |
| ) |
|
void qucs::circuit::freeMatrixMNA |
( |
void |
| ) |
|
nr_double_t qucs::circuit::getCharacteristic |
( |
const std::string & |
name | ) |
|
valuelist<characteristic>& qucs::circuit::getCharacteristics |
( |
void |
| ) |
[inline] |
int qucs::circuit::getHistorySize |
( |
void |
| ) |
|
int qucs::circuit::getInserted |
( |
void |
| ) |
[inline] |
matrix qucs::circuit::getMatrixN |
( |
void |
| ) |
|
matrix qucs::circuit::getMatrixS |
( |
void |
| ) |
|
matrix qucs::circuit::getMatrixY |
( |
void |
| ) |
|
net* qucs::circuit::getNet |
( |
void |
| ) |
[inline] |
circuit* qucs::circuit::getNext |
( |
void |
| ) |
const [inline] |
node * qucs::circuit::getNode |
( |
int |
i | ) |
|
int qucs::circuit::getNoiseSources |
( |
void |
| ) |
|
nr_double_t qucs::circuit::getOperatingPoint |
( |
const std::string & |
name | ) |
|
valuelist<operatingpoint>& qucs::circuit::getOperatingPoints |
( |
void |
| ) |
[inline] |
int qucs::circuit::getPort |
( |
void |
| ) |
[inline] |
circuit* qucs::circuit::getPrev |
( |
void |
| ) |
const [inline] |
qucs::circuit::getSize |
( |
void |
| ) |
[inline] |
Get the number of ports the circuit element has.
Gets the number of ports the circuit element has
Definition at line 156 of file circuit.h.
std::string qucs::circuit::getSubcircuit |
( |
void |
| ) |
[inline] |
substrate * qucs::circuit::getSubstrate |
( |
void |
| ) |
|
int qucs::circuit::getType |
( |
void |
| ) |
[inline] |
int qucs::circuit::getVoltageSource |
( |
void |
| ) |
[inline] |
int qucs::circuit::getVoltageSources |
( |
void |
| ) |
|
int qucs::circuit::hasCharacteristic |
( |
const std::string & |
name | ) |
|
bool qucs::circuit::hasHistory |
( |
void |
| ) |
[inline] |
int qucs::circuit::hasOperatingPoint |
( |
const std::string & |
name | ) |
|
virtual void qucs::circuit::initAC |
( |
void |
| ) |
[inline, virtual] |
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.
Definition at line 132 of file circuit.h.
virtual void qucs::circuit::initDC |
( |
void |
| ) |
[inline, virtual] |
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.
Definition at line 125 of file circuit.h.
virtual void qucs::circuit::initHB |
( |
void |
| ) |
[inline, virtual] |
virtual void qucs::circuit::initHB |
( |
int |
| ) |
[inline, virtual] |
virtual void qucs::circuit::initNoiseAC |
( |
void |
| ) |
[inline, virtual] |
virtual void qucs::circuit::initNoiseSP |
( |
void |
| ) |
[inline, virtual] |
qucs::circuit::initSP |
( |
void |
| ) |
[inline, virtual] |
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.
Definition at line 123 of file circuit.h.
virtual void qucs::circuit::initTR |
( |
void |
| ) |
[inline, virtual] |
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.
Definition at line 134 of file circuit.h.
qucs::circuit::isEnabled |
( |
void |
| ) |
[inline] |
Reports if circuit element is enabled.
Returns true if the circuit element is enabled or false otherwise.
Definition at line 173 of file circuit.h.
bool qucs::circuit::isInternalVoltageSource |
( |
void |
| ) |
[inline] |
bool qucs::circuit::isISource |
( |
void |
| ) |
[inline] |
bool qucs::circuit::isNonLinear |
( |
void |
| ) |
[inline] |
bool qucs::circuit::isOriginal |
( |
void |
| ) |
[inline] |
bool qucs::circuit::isProbe |
( |
void |
| ) |
[inline] |
bool qucs::circuit::isVariableSized |
( |
void |
| ) |
[inline] |
bool qucs::circuit::isVSource |
( |
void |
| ) |
[inline] |
void qucs::circuit::print |
( |
void |
| ) |
|
virtual void qucs::circuit::restartDC |
( |
void |
| ) |
[inline, virtual] |
virtual void qucs::circuit::saveCharacteristics |
( |
nr_double_t |
| ) |
[inline, virtual] |
virtual void qucs::circuit::saveCharacteristics |
( |
nr_complex_t |
| ) |
[inline, virtual] |
virtual void qucs::circuit::saveOperatingPoints |
( |
void |
| ) |
[inline, virtual] |
Reimplemented in diode, bjt, mosfet, relais, diac, eqndefined, jfet, thyristor, triac, vprobe, and tunneldiode.
Definition at line 141 of file circuit.h.
void qucs::circuit::setCharacteristic |
( |
const std::string & |
name, |
|
|
nr_double_t |
val |
|
) |
| |
void qucs::circuit::setDelta |
( |
nr_double_t * |
d | ) |
[inline] |
qucs::circuit::setEnabled |
( |
bool |
e | ) |
[inline] |
Set a circuit element to be enabled or diabled.
- Parameters:
-
e | boolean indicating whether to enable or disable |
Sets the circuit element to be enabled or disabled.
Definition at line 180 of file circuit.h.
void qucs::circuit::setHistory |
( |
bool |
h | ) |
[inline] |
void qucs::circuit::setInserted |
( |
int |
i | ) |
[inline] |
void qucs::circuit::setInternalNode |
( |
int |
node, |
|
|
const std::string & |
suffix |
|
) |
| |
void qucs::circuit::setInternalVoltageSource |
( |
bool |
i | ) |
[inline] |
void qucs::circuit::setISource |
( |
bool |
i | ) |
[inline] |
void qucs::circuit::setMatrixN |
( |
matrix |
n | ) |
|
void qucs::circuit::setMatrixS |
( |
matrix |
s | ) |
|
void qucs::circuit::setMatrixY |
( |
matrix |
y | ) |
|
void qucs::circuit::setNet |
( |
net * |
n | ) |
[inline] |
void qucs::circuit::setNode |
( |
int |
i, |
|
|
const std::string & |
n, |
|
|
int |
intern = 0 |
|
) |
| |
void qucs::circuit::setNoiseSources |
( |
int |
s | ) |
|
void qucs::circuit::setNonLinear |
( |
bool |
l | ) |
[inline] |
void qucs::circuit::setOperatingPoint |
( |
const std::string & |
name, |
|
|
nr_double_t |
val |
|
) |
| |
void qucs::circuit::setOriginal |
( |
bool |
o | ) |
[inline] |
void qucs::circuit::setPort |
( |
int |
p | ) |
[inline] |
void qucs::circuit::setPrev |
( |
circuit *const |
o | ) |
[inline] |
void qucs::circuit::setProbe |
( |
bool |
p | ) |
[inline] |
qucs::circuit::setSize |
( |
int |
s | ) |
|
Set the number of ports the circuit element has.
- Parameters:
-
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 198 of file circuit.cpp.
void qucs::circuit::setSubcircuit |
( |
const std::string & |
n | ) |
|
void qucs::circuit::setSubstrate |
( |
substrate * |
s | ) |
|
void qucs::circuit::setType |
( |
int |
t | ) |
[inline] |
void qucs::circuit::setVariableSized |
( |
bool |
v | ) |
[inline] |
void qucs::circuit::setVoltageSource |
( |
int |
s | ) |
[inline] |
void qucs::circuit::setVoltageSources |
( |
int |
s | ) |
|
void qucs::circuit::setVSource |
( |
bool |
v | ) |
[inline] |
void qucs::circuit::transientCapacitanceQ |
( |
int |
qstate, |
|
|
int |
qpos, |
|
|
nr_double_t |
charge |
|
) |
| |
void qucs::circuit::truncateHistory |
( |
nr_double_t |
tcut | ) |
|
Field Documentation
int qucs::circuit::flag [private] |
history* qucs::circuit::histories [private] |
int qucs::circuit::inserted [private] |
int qucs::circuit::nHistories [private] |
int qucs::circuit::nsources [private] |
int qucs::circuit::pacport [private] |
int qucs::circuit::pol [protected] |
circuit* qucs::circuit::prev [private] |
net* qucs::circuit::subnet [private] |
int qucs::circuit::vsource [private] |
int qucs::circuit::vsources [private] |
The documentation for this class was generated from the following files: