35 msvia::msvia () : circuit (2) {
67 nr_double_t
h = subst->getPropertyDouble (
"h");
68 nr_double_t
t = subst->getPropertyDouble (
"t");
69 nr_double_t rho = subst->getPropertyDouble (
"rho");
73 if (frequency * h >= 0.03 *
C0) {
75 "freq/C0*h < 0.03 (is %g)\n", frequency /
C0 * h);
80 nr_double_t res =
R *
std::sqrt (1 + frequency * fs);
82 nr_double_t ind =
MU0 * (h *
std::log ((h + a) / r) + 1.5 * (r - a));
89 nr_double_t
h = subst->getPropertyDouble (
"h");
90 nr_double_t
t = subst->getPropertyDouble (
"t");
91 nr_double_t rho = subst->getPropertyDouble (
"rho");
102 nr_double_t g = 1.0 /
r;
132 nr_double_t
y =
real (1.0 /
Z);
134 nr_double_t f =
kelvin (T) /
T0 * 4.0 *
y;
std::complex< nr_double_t > nr_complex_t
#define MU0
magnetic constant of vacuum ( )
matrix real(matrix a)
Real part matrix.
#define T0
standard temperature
nr_double_t calcResistance(void)
nr_double_t getPropertyDouble(const char *)
substrate * getSubstrate(void)
void setInternalVoltageSource(bool i)
void setVoltageSources(int)
#define K
Absolute 0 in centigrade.
static const nr_double_t z0
nr_complex_t sqr(const nr_complex_t z)
Square of complex number.
nr_complex_t calcImpedance(nr_double_t)
nr_complex_t sqrt(const nr_complex_t z)
Compute principal value of square root.
void calcNoiseAC(nr_double_t)
#define M_PI
Archimedes' constant ( )
void setY(int, int, nr_complex_t)
void initSP(void)
placehoder for S-Parameter initialisation function
void allocMatrixMNA(void)
nr_double_t norm(const nr_complex_t z)
Compute euclidian norm of complex number.
#define C0
speed of light in vacuum ( )
void voltageSource(int, int, int, nr_double_t value=0.0)
void setS(int, int, nr_complex_t)
void setN(int, int, nr_complex_t)
void logprint(int level, const char *format,...)
nr_complex_t log(const nr_complex_t z)
Compute principal value of natural logarithm of z.
void calcNoiseSP(nr_double_t)