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

time_delay Class Reference

An ideal, noiseless time delay. More...

#include <delay.h>

Inheritance diagram for time_delay::

nport device List of all members.

Public Methods

 time_delay (double t=0.0)
 The constructor sets the delay to 0 by default. More...

int size ()
 This device has 2 ports. More...


Public Attributes

parameter time
 Length of delay in standard units of time. More...


Private Methods

void recalc ()
 The function for calculating sdata. More...


Detailed Description

An ideal, noiseless time delay.

Definition at line 49 of file delay.h.


Constructor & Destructor Documentation

time_delay::time_delay ( double t = 0.0 ) [inline, explicit]
 

The constructor sets the delay to 0 by default.

Parameters:
t   length of delay in standard units.

Definition at line 60 of file delay.h.


Member Function Documentation

void time_delay::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 37 of file delay.cc.

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

This device has 2 ports.

Returns:
the number of ports

Reimplemented from nport.

Definition at line 68 of file delay.h.


Member Data Documentation

parameter time_delay::time
 

Length of delay in standard units of time.

Definition at line 53 of file delay.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