#include <circuit.h>
Inheritance diagram for cascade::

Public Methods | |
| cascade () | |
| The default constructor initializes with a 2-port branch equivalent. More... | |
| int | size () |
| The number of ports this device has. More... | |
| const nport::data_info& | get_data_info () |
| Noise and source status. More... | |
| cascade& | add (nport &n) |
| This is the main function that the user calls to build up the cascade of devices. More... | |
| cascade& | a (nport &n) |
| A shorthand alias for add(). More... | |
Public Attributes | |
| parameter | Temp |
| The temperature of this circuit. More... | |
Private Methods | |
| void | recalc () |
| The function for calculating sdata. More... | |
| void | recalc_S () |
| If the following function is implemented, it should only calculate the S matrix and B vector parts of data, leaving the C matrix part stale. More... | |
Private Attributes | |
| nport* | last |
| The last component added. More... | |
| circuit | c |
| The actual circuit. More... | |
It implements a simple cascade connection of its component devices. Port 1 of the cascade is assigned to port 1 of the first device added; port 2 of the cascade to port 2 of the last device added, unless the last device added is a 1-port, in which case the cascade is also a 1-port. As long as no 1-port is added to the cascade, 2-ports may continue to be added; adding a 1-port at any time makes the cascade a 1-port and no further devices may be added. At creation, cascade behaves as a 2-port branch.
Definition at line 224 of file circuit.h.
|
|
The default constructor initializes with a 2-port branch equivalent.
Definition at line 348 of file circuit.cc. |
|
|
|
|
|
This is the main function that the user calls to build up the cascade of devices.
Definition at line 388 of file circuit.cc. Referenced by a().
|
|
|
Noise and source status.
Reimplemented from nport. Definition at line 377 of file circuit.cc. |
|
|
The function for calculating sdata. recalc() should do the following:
Reimplemented from nport. Definition at line 357 of file circuit.cc. |
|
|
If the following function is implemented, it should only calculate the S matrix and B vector parts of data, leaving the C matrix part stale.
Reimplemented from nport. Definition at line 367 of file circuit.cc. |
|
|
The number of ports this device has.
Reimplemented from data_ptr_nport. |
|
|
The temperature of this circuit. The default shadows device::T. The temperature is passed to subelements using device::T, so any subelement may override with its own explicit Temp value |
|
|
The actual circuit.
|
|
|
The last component added.
|
Please direct comments and corrections to
supermix@submm.caltech.edu
Go to the supermix home page
Generated by
1.2.7