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

inst_circuit Class Reference

#include <instrument.h>

Inheritance diagram for inst_circuit::

nport device List of all members.

Public Methods

 inst_circuit (nport &internal_circuit, nport &external_circuit, int num_voltmeters=0)
const Vectorvoltages ()
const Vectorcurrents ()

Private Methods

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


Private Attributes

int interface_ports
int amp_ports
int volt_ports
nportint_c
nportext_c
std::vector<open_termvoltmeters
std::vector<short_termampmeters
circuit get_data_c
circuit voltages_c
circuit currents_c
Vector volts
Vector amps

Constructor & Destructor Documentation

inst_circuit::inst_circuit ( nport & internal_circuit,
nport & external_circuit,
int num_voltmeters = 0 )
 

Definition at line 36 of file instrument.cc.


Member Function Documentation

const Vector & inst_circuit::currents ( ) [inline]
 

Definition at line 116 of file instrument.h.

void inst_circuit::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 120 of file instrument.h.

const Vector & inst_circuit::voltages ( ) [inline]
 

Definition at line 115 of file instrument.h.


Member Data Documentation

int inst_circuit::amp_ports [private]
 

Definition at line 122 of file instrument.h.

std::vector< short_term > inst_circuit::ampmeters<short_term> [private]
 

Definition at line 125 of file instrument.h.

Vector inst_circuit::amps [private]
 

Definition at line 127 of file instrument.h.

circuit inst_circuit::currents_c [private]
 

Definition at line 126 of file instrument.h.

nport & inst_circuit::ext_c [private]
 

Definition at line 123 of file instrument.h.

circuit inst_circuit::get_data_c [private]
 

Definition at line 126 of file instrument.h.

nport & inst_circuit::int_c [private]
 

Definition at line 123 of file instrument.h.

int inst_circuit::interface_ports [private]
 

Definition at line 122 of file instrument.h.

int inst_circuit::volt_ports [private]
 

Definition at line 122 of file instrument.h.

circuit inst_circuit::voltages_c [private]
 

Definition at line 126 of file instrument.h.

std::vector< open_term > inst_circuit::voltmeters<open_term> [private]
 

Definition at line 124 of file instrument.h.

Vector inst_circuit::volts [private]
 

Definition at line 127 of file instrument.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