Qucs-core
0.0.18
|
#include <amplifier.h>
Public Member Functions | |
CREATOR (amplifier) | |
void | initSP (void) |
void | calcNoiseSP (nr_double_t) |
void | initDC (void) |
void | initAC (void) |
void | calcNoiseAC (nr_double_t) |
void | initTR (void) |
![]() | |
circuit () | |
circuit (int) | |
circuit (const circuit &) | |
~circuit () | |
virtual void | calcSP (nr_double_t) |
virtual void | calcDC (void) |
virtual void | restartDC (void) |
virtual void | initNoiseSP (void) |
virtual void | initNoiseAC (void) |
virtual void | calcAC (nr_double_t) |
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) |
![]() | |
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) |
![]() | |
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) |
![]() | |
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 *) |
Data Fields | |
Amp | |
PROP_COMPONENT | |
PROP_NO_SUBSTRATE | |
PROP_LINEAR | |
Additional Inherited Members | |
![]() | |
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 char * | createInternal (const char *, const char *) |
![]() | |
static const nr_double_t | z0 = 50.0 |
![]() | |
int | type |
int | pol |
Ideal and linear amplifier
An ideal amplifier increases signal strength from input to output and blocks all signals flowing into the output. The ideal amplifier is an isolator with voltage gain
Definition at line 143 of file amplifier.cpp.
|
virtual |
Reimplemented from qucs::circuit.
Definition at line 116 of file amplifier.cpp.
|
virtual |
Reimplemented from qucs::circuit.
Definition at line 73 of file amplifier.cpp.
amplifier::CREATOR | ( | amplifier | ) |
|
virtual |
AC model initialization.
Idem than DC model.
Reimplemented from qucs::circuit.
Definition at line 112 of file amplifier.cpp.
|
virtual |
DC model initialization. An ideal amplifier is characterized by the following Y-matrix:
With and
the impedance of the port 1 and 2 and
the gain.
Reimplemented from qucs::circuit.
Definition at line 95 of file amplifier.cpp.
|
virtual |
Initialize S-parameter simulation. An ideal amplifier is characterized by the following S-matrix
With and
the impedance of the port 1 and 2 and
the gain.
Reimplemented from qucs::circuit.
Definition at line 60 of file amplifier.cpp.
|
virtual |
Transient model initialization.
Idem than DC model.
Reimplemented from qucs::circuit.
Definition at line 130 of file amplifier.cpp.
amplifier::Amp |
Definition at line 144 of file amplifier.cpp.
amplifier::PROP_COMPONENT |
Definition at line 144 of file amplifier.cpp.
amplifier::PROP_LINEAR |
Definition at line 144 of file amplifier.cpp.
amplifier::PROP_NO_SUBSTRATE |
Definition at line 144 of file amplifier.cpp.