#include <elements.h>
Inheritance diagram for resistor::

Public Methods | |
| resistor (double r=0.0) | |
| Default constructor sets temperature to shadow device::T. More... | |
| resistor (const abstract_real_parameter *r) | |
| Construct a shadowed parameter resistance. More... | |
| resistor& | set (double r) |
| Set the resistance. More... | |
| resistor& | set (abstract_real_parameter *r) |
| Set the resistance to shadow a parameter. More... | |
| resistor& | set_T (double t) |
| Set the temperature. More... | |
| resistor& | set_T (abstract_real_parameter *t) |
| Set the temperature to shadow a parameter. More... | |
| const nport::data_info& | get_data_info () |
| Is an "active" noise source if its temperature is not the global T. More... | |
Public Attributes | |
| parameter | R |
| Resistance in standard units. More... | |
| parameter | Temp |
| Temperature in standard units. 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... | |
It has two real member parameters:
resistor r(100*Ohm); // a resistor named "r" with a value of 100 Ohms
Definition at line 173 of file elements.h.
|
|
Default constructor sets temperature to shadow device::T.
Definition at line 192 of file elements.h. |
|
|
Construct a shadowed parameter resistance.
Definition at line 200 of file elements.h. |
|
|
Is an "active" noise source if its temperature is not the global T.
Reimplemented from nport. Definition at line 238 of file elements.h. |
|
|
The function for calculating sdata. recalc() should do the following:
Reimplemented from nport. Definition at line 243 of file elements.h. |
|
|
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 244 of file elements.h. |
|
|
Set the resistance to shadow a parameter.
Definition at line 216 of file elements.h. |
|
|
Set the resistance.
Definition at line 208 of file elements.h. |
|
|
Set the temperature to shadow a parameter.
Definition at line 232 of file elements.h. |
|
|
Set the temperature.
Definition at line 224 of file elements.h. |
|
|
Resistance in standard units.
Definition at line 179 of file elements.h. |
|
|
Temperature in standard units. Shadows global temperature T by default. Definition at line 185 of file elements.h. |
Please direct comments and corrections to
supermix@submm.caltech.edu
Go to the supermix home page
Generated by
1.2.7