#include <device.h>
Inheritance diagram for device::

Public Methods | |
| device () | |
| Constructor assigns a unique id by using devcount. More... | |
| device (const device &) | |
| Copy constructor assigns a unique id by using devcount. More... | |
| device& | operator= (const device &) |
| Can't use default assigment operator, since id is const. More... | |
| virtual | ~device () |
Public Attributes | |
| const unsigned long | id |
| A unique serial number or id tag for this device instance. More... | |
Static Public Attributes | |
| parameter | T = 300 * Kelvin |
| Global temperature. More... | |
| parameter | f = 0.0 |
| Global frequency. More... | |
| parameter | Z0 = 50 * Ohm |
| Global normalization impedance. More... | |
Protected Attributes | |
| state_tag | last_state |
| Keep track of the last operating state where this device was calculated. More... | |
Static Private Attributes | |
| unsigned long | devcount = 0 |
| Counter of total number of devices created. More... | |
The main duties of class device are to:
(1) hold the global state variables:
class device is an abstract class. It will never be instantiated directly.
Definition at line 63 of file device.h.
|
|
Constructor assigns a unique id by using devcount.
|
|
|
Copy constructor assigns a unique id by using devcount.
|
|
|
|
|
|
Can't use default assigment operator, since id is const.
|
|
|
Global temperature. The default is set in nport.cc. Controls the temperature used for device calculations. It must be set to the desired temp. It is a parameter, so it may be set to shadow another parameter variable. Many devices have their own temperature variable which will override device::T if desired. Definition at line 54 of file nport.cc. Referenced by mixer::analyzer::calc_X().
|
|
|
Global normalization impedance. The default is set in nport.cc. Sets the normalizing impedance used for S matrix calcs. It is a parameter, but should not be set to shadow another. It may be useful to have other parameters shadow it, however. ALL RESPONSE CALCULATIONS PERFORMED BY CIRCUIT ELEMENTS (DERIVED FROM CLASS nport) MUST USE THE VALUE OF device::Z0 |
|
|
Counter of total number of devices created. Used to set device::id. |
|
|
Global frequency. The default is set in nport.cc. Controls the frequency used for all device calculations. It must be set to the desired freq. It is a parameter, so it may be set to shadow another parameter variable, or may in turn be shadowed by another parameter. |
|
|
A unique serial number or id tag for this device instance.
|
|
|
Keep track of the last operating state where this device was calculated.
|
Please direct comments and corrections to
supermix@submm.caltech.edu
Go to the supermix home page
Generated by
1.2.7