59 bondwire::bondwire () : circuit (2) {
65 #define TABLE(x) { #x, x }
67 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
126 nr_double_t er = subst->getPropertyDouble (
"er");
127 nr_double_t
h = subst->getPropertyDouble (
"h");
128 nr_double_t
t = subst->getPropertyDouble (
"t");
144 const nr_double_t rho,
const nr_double_t mur) {
160 nr_double_t delta, rout, rin;
171 return (
rho *
M_1_PI *
l) / (rout * rout - rin * rin);
200 const nr_double_t rho,
201 const nr_double_t mur) {
205 if (f > 0.0 && rho > 0.0) {
207 if (delta / d < 1e-2)
210 return (mur / 4) *
std::tanh ((4 * delta) / d);
255 nr_double_t _2ld = (2.0 *
l) /
d;
256 nr_double_t d2l =
d / (2.0 *
l);
331 Lw =
L * 2 *
M_PI * f;
413 nr_double_t
y = 1 /
R;
415 nr_double_t f =
kelvin (T) /
T0 * 4.0 *
y;
nr_double_t resistance(const nr_double_t f) const
std::complex< nr_double_t > nr_complex_t
#define MU0
magnetic constant of vacuum ( )
matrix ytos(matrix y, qucs::vector z0)
Admittance matrix to scattering parameters.
#define T0
standard temperature
static const modeltable_t modeltable[]
nr_double_t getPropertyDouble(const char *)
substrate * getSubstrate(void)
void setInternalVoltageSource(bool i)
static nr_double_t correctionfactor(const nr_double_t f, const nr_double_t d, const nr_double_t rho, const nr_double_t mur)
void calcNoiseSP(nr_double_t)
void setVoltageSources(int)
#define K
Absolute 0 in centigrade.
nr_double_t Lfreespace(const nr_double_t f) const
void calcSP(const nr_double_t)
static const nr_double_t z0
nr_complex_t sqrt(const nr_complex_t z)
Compute principal value of square root.
nr_complex_t tanh(const nr_complex_t z)
Compute complex hyperbolic tangent.
void calcNoiseAC(nr_double_t)
nr_double_t Lmirror() const
#define M_PI
Archimedes' constant ( )
static nr_double_t skindepth(const nr_double_t f, const nr_double_t rho, const nr_double_t mur)
void setY(int, int, nr_complex_t)
void allocMatrixMNA(void)
#define M_1_PI
Inverse of Archimedes' constant ( )
nr_double_t norm(const nr_complex_t z)
Compute euclidian norm of complex number.
void voltageSource(int, int, int, nr_double_t value=0.0)
void setN(int, int, nr_complex_t)
qucs::matrix calcMatrixY(nr_double_t)
#define PROP_RNG_STR3(s1, s2, s3)
void setCharacteristic(const char *, nr_double_t)
char * getPropertyString(const char *)
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 saveCharacteristics(nr_double_t)
void getProperties(void)
Get properties from model. Get properties and fill the class.