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

sdata_interp Class Reference

#include <sdata_interp.h>

Inheritance diagram for sdata_interp::

nport device List of all members.

Public Methods

 sdata_interp (int ports=2, const abstract_real_parameter &f=device::f)
sdata_interp& parameter (const abstract_real_parameter &f)
bool ready () const
const data_info& get_data_info ()
bool active_noise () const
bool touchstone (const char *name, double f_scale=GHz)
bool copy (const S_interp &source)
S_interpinterpolator ()

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...


Private Attributes

const abstract_real_parameterpf
S_interp S

Constructor & Destructor Documentation

sdata_interp::sdata_interp ( int ports = 2,
const abstract_real_parameter & f = device::f ) [explicit]
 

Definition at line 179 of file sdata_interp.cc.


Member Function Documentation

bool sdata_interp::active_noise ( ) const [inline]
 

Definition at line 177 of file sdata_interp.h.

bool sdata_interp::copy ( const S_interp & s )
 

Definition at line 187 of file sdata_interp.cc.

const data_info & sdata_interp::get_data_info ( ) [inline, virtual]
 

Returns:
info about the sdata of the device

Reimplemented from nport.

Definition at line 172 of file sdata_interp.h.

S_interp & sdata_interp::interpolator ( ) [inline]
 

Definition at line 196 of file sdata_interp.h.

sdata_interp & sdata_interp::parameter ( const abstract_real_parameter & f ) [inline]
 

Definition at line 163 of file sdata_interp.h.

bool sdata_interp::ready ( ) const [inline]
 

Definition at line 169 of file sdata_interp.h.

Referenced by recalc_S().

void sdata_interp::recalc ( ) [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 221 of file sdata_interp.cc.

void sdata_interp::recalc_S ( ) [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 200 of file sdata_interp.cc.

Referenced by recalc().

bool sdata_interp::touchstone ( const char * name,
double f_scale = GHz ) [inline]
 

Definition at line 188 of file sdata_interp.h.


Member Data Documentation

S_interp sdata_interp::S [private]
 

Definition at line 201 of file sdata_interp.h.

const abstract_real_parameter * sdata_interp::pf [private]
 

Definition at line 200 of file sdata_interp.h.


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

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