Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

reduced_nport Class Reference

#include <reduced_nport.h>

Inheritance diagram for reduced_nport::

nport device List of all members.

Public Methods

 reduced_nport ()
 reduced_nport (nport &ckt, int p1=0, int p2=0, int p3=0, int p4=0)
reduced_nport& nport (nport &ckt)
int add_port (int n)
int size ()
 The number of ports this device has. More...


Private Types

typedef list<int> array

Private Methods

bool matrix_reduce (const Matrix &in)
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...


Private Attributes

array ports
int size_
nportp

Member Typedef Documentation

typedef list< int > reduced_nport::array<int> [private]
 

Definition at line 79 of file reduced_nport.h.


Constructor & Destructor Documentation

reduced_nport::reduced_nport ( ) [inline]
 

Definition at line 115 of file reduced_nport.h.

reduced_nport::reduced_nport ( nport & ckt,
int p1 = 0,
int p2 = 0,
int p3 = 0,
int p4 = 0 ) [inline]
 

Definition at line 124 of file reduced_nport.h.


Member Function Documentation

int reduced_nport::add_port ( int n ) [inline]
 

Definition at line 150 of file reduced_nport.h.

Referenced by reduced_nport().

bool reduced_nport::matrix_reduce ( const Matrix & in ) [inline, private]
 

Definition at line 84 of file reduced_nport.h.

Referenced by recalc_S().

reduced_nport & reduced_nport::nport ( nport & ckt ) [inline]
 

Definition at line 137 of file reduced_nport.h.

void reduced_nport::recalc ( ) [inline, private, virtual]
 

The function for calculating sdata.

recalc() should do the following:

  • (1) Read device::f, device::Z0, and, by default, device::T to get the operating conditions for the response calculation.
  • (2) Calculate the S, C, and B matrix values and store them to nport::data, with all values normalized using device::Z0.
  • (3) Store the normalizing impedance to nport::data by calling data.set_znorm().

Reimplemented from nport.

Definition at line 105 of file reduced_nport.h.

void reduced_nport::recalc_S ( ) [inline, private, virtual]
 

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 106 of file reduced_nport.h.

int reduced_nport::size ( ) [inline, virtual]
 

The number of ports this device has.

Returns:
the number of ports

Reimplemented from nport.

Definition at line 158 of file reduced_nport.h.


Member Data Documentation

nport * reduced_nport::p [private]
 

Definition at line 82 of file reduced_nport.h.

array reduced_nport::ports [private]
 

Definition at line 80 of file reduced_nport.h.

int reduced_nport::size_ [private]
 

Definition at line 81 of file reduced_nport.h.


The documentation for this class was generated from the following file:

Please direct comments and corrections to supermix@submm.caltech.edu
Go to the supermix home page
Generated by doxygen1.2.7