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

Public Methods | |
| capacitor (double c=0.0) | |
| Constructor sets the capacitance to 0 by default. More... | |
| capacitor (const abstract_real_parameter *c) | |
| Construct a shadowed parameter capacitance. More... | |
| capacitor& | set (double c) |
| Set the capacitance. More... | |
| capacitor& | set (abstract_real_parameter *c) |
| Set the capacitance to shadow a parameter. More... | |
Public Attributes | |
| parameter | C |
| Capacitance in standard units. More... | |
Private Methods | |
| void | recalc () |
| The function for calculating sdata. More... | |
It has one real member parameter:
capacitor c(200*Pico*Farad); // a capacitor named "c"
Definition at line 262 of file elements.h.
|
|
Constructor sets the capacitance to 0 by default.
Definition at line 273 of file elements.h. |
|
|
Construct a shadowed parameter capacitance.
Definition at line 281 of file elements.h. |
|
|
The function for calculating sdata. recalc() should do the following:
Reimplemented from nport. Definition at line 302 of file elements.h. |
|
|
Set the capacitance to shadow a parameter.
Definition at line 297 of file elements.h. |
|
|
Set the capacitance.
Definition at line 289 of file elements.h. |
|
|
Capacitance in standard units.
Definition at line 268 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