#include <nport.h>
Inheritance diagram for alias::

Public Methods | |
| alias () | |
| alias (nport &o) | |
| int | size () |
| The number of ports this device has. More... | |
| const nport::data_info& | get_data_info () |
| Refer to the original device to answer this question.... More... | |
| alias& | operator= (nport &n) |
| Assignment operator. More... | |
Private Methods | |
| void | recalc () |
| Recalc just gets the data pointer from the original. More... | |
| void | recalc_S () |
| Recalc just gets the data pointer from the original. More... | |
Private Attributes | |
| nport* | original |
| A pointer to the nport that we are aliasing. More... | |
If more than one copy of exactly the same circuit or nport device is needed, it may be desirable to create a single device and then make aliases for the rest. For example, imagine that five identical microstrip sections are needed in a circuit. The best way to do this is to create a single microstrip, and then construct four alias instances from it. If later the microstrip is changed, such as to change the substrate thickness, the alias instances will also change accordingly.
An alias has its own id number so that it can be used in a circuit, but it relies on another device to calculate its sdata. Thus, it doesn't have its own parameters, because it doesn't need any.
Definition at line 431 of file nport.h.
|
|
|
|
|
|
|
|
Refer to the original device to answer this question....
Reimplemented from nport. |
|
|
Assignment operator. We can assign any nport to an alias. |
|
|
Recalc just gets the data pointer from the original.
Reimplemented from nport. |
|
|
Recalc just gets the data pointer from the original.
Reimplemented from nport. |
|
|
The number of ports this device has.
Reimplemented from data_ptr_nport. |
|
|
A pointer to the nport that we are aliasing.
|
Please direct comments and corrections to
supermix@submm.caltech.edu
Go to the supermix home page
Generated by
1.2.7