34 tline::tline () : circuit (2) {
42 nr_double_t
r = (z -
z0) / (z +
z0);
43 nr_double_t b = 2 *
M_PI * frequency /
C0;
46 nr_complex_t s11 = r * (1.0 - p * p) / (1.0 - p * p * r * r);
59 nr_double_t
r = (z -
z0) / (z +
z0);
60 nr_double_t f = (a - 1) * (r * r - 1) /
sqr (a - r * r) *
kelvin (T) /
T0;
61 nr_double_t n11 = -f * (r * r + a);
62 nr_double_t n21 = +f * 2 * r *
std::sqrt (a);
75 nr_double_t f = 4.0 *
kelvin (T) /
T0 / z / (a - 1);
76 nr_double_t n11 = +f * (a + 1);
92 nr_double_t f = 1 / z / (a - 1);
93 nr_double_t y11 = +f * (a + 1);
120 nr_double_t b = 2 *
M_PI * frequency /
C0;
153 nr_double_t T = l /
C0;
std::complex< nr_double_t > nr_complex_t
#define T0
standard temperature
nr_double_t getPropertyDouble(const char *)
void setD(int, int, nr_complex_t)
void setVoltageSources(int)
#define K
Absolute 0 in centigrade.
void setB(int, int, nr_complex_t)
static const nr_double_t z0
nr_complex_t sqr(const nr_complex_t z)
Square of complex number.
nr_complex_t sqrt(const nr_complex_t z)
Compute principal value of square root.
nr_double_t getJ(int, nr_double_t)
nr_complex_t tanh(const nr_complex_t z)
Compute complex hyperbolic tangent.
void setE(int, nr_complex_t)
#define M_PI
Archimedes' constant ( )
void setY(int, int, nr_complex_t)
void allocMatrixMNA(void)
nr_complex_t sinh(const nr_complex_t z)
Compute complex hyperbolic sine.
nr_double_t getV(int, nr_double_t)
void calcNoiseAC(nr_double_t)
#define C0
speed of light in vacuum ( )
void voltageSource(int, int, int, nr_double_t value=0.0)
nr_complex_t exp(const nr_complex_t z)
Compute complex exponential.
void setS(int, int, nr_complex_t)
void setN(int, int, nr_complex_t)
void setC(int, int, nr_complex_t)
void initHistory(nr_double_t)
nr_complex_t log(const nr_complex_t z)
Compute principal value of natural logarithm of z.
void calcNoiseSP(nr_double_t)
#define PROP_NO_SUBSTRATE