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

Public Methods | |
| data_ptr_nport () | |
| Constructor: Make data_ptr point to data so that it won't cause a core dump. More... | |
| data_ptr_nport (const data_ptr_nport &c) | |
| Copy constructor. More... | |
| data_ptr_nport& | operator= (const data_ptr_nport &c) |
| Assignment operator. More... | |
| virtual | ~data_ptr_nport () |
| virtual const sdata& | get_data () |
| Return the nport data in one chunk after recalculating the nport. More... | |
| virtual const sdata& | get_data (state_tag calc_id) |
| Return the nport data, recalculating only if calc_id is different from when we last recalculated. More... | |
| virtual const sdata& | get_data_S () |
| Special function to save time in circuits: calculate only the S matrix and B vector parts of the sdata. More... | |
| virtual const sdata& | get_data_S (state_tag calc_id) |
| Special function to save time in circuits: calculate only the S matrix and B vector parts of the sdata only if calc_id is different from when we last recalculated. More... | |
| virtual const sdata& | get_last_data () const |
| Return the nport data. More... | |
| virtual int | size () |
| The number of ports this device has. More... | |
| virtual v_index_mode | mode () |
| A function for those rare cases when an nport may not use Index_1 indexing. More... | |
Protected Attributes | |
| const sdata* | data_ptr |
| data includes the scattering matrix, noise matrix, size, etc. More... | |
For example, they might use another subclass of nport to do the calculation for them.
data_ptr_nport uses a pointer to keep track of where its sdata is. This avoids the inefficiency of copying the matrices over from someplace else. It saves the programmer the trouble of overloading functions such as get_data().
Class data_ptr_nport should never be instantiated directly.
Definition at line 308 of file nport.h.
|
|
Constructor: Make data_ptr point to data so that it won't cause a core dump.
|
|
|
Copy constructor. Make sure data_ptr doesn't point to data of the instance we're copying. |
|
|
|
|
|
Return the nport data, recalculating only if calc_id is different from when we last recalculated.
Reimplemented from nport. |
|
|
Return the nport data in one chunk after recalculating the nport.
Reimplemented from nport. Definition at line 342 of file nport.h. Referenced by mixer::analyzer::fill_data().
|
|
|
Special function to save time in circuits: calculate only the S matrix and B vector parts of the sdata only if calc_id is different from when we last recalculated. The noise correlation matrix will contain stale values.
Reimplemented from nport. |
|
|
Special function to save time in circuits: calculate only the S matrix and B vector parts of the sdata. The noise correlation matrix will contain stale values.
Reimplemented from nport. Definition at line 369 of file nport.h. Referenced by mixer::balancer::fill_data().
|
|
|
Return the nport data. Do not perform a calculation.
Reimplemented from nport. |
|
|
A function for those rare cases when an nport may not use Index_1 indexing.
Reimplemented from nport. |
|
|
Assignment operator. Make sure data_ptr doesn't point to data of the instance we're copying. |
|
|
The number of ports this device has.
Reimplemented from nport. Reimplemented in cascade, fet, mixer, mixer_currents, alias, and radial_stub. |
|
|
data includes the scattering matrix, noise matrix, size, etc. You must be careful that this pointer always points to a valid sdata object. |
Please direct comments and corrections to
supermix@submm.caltech.edu
Go to the supermix home page
Generated by
1.2.7