36 mscorner::mscorner () : circuit (2) {
44 nr_double_t er = subst->getPropertyDouble (
"er");
45 h = subst->getPropertyDouble (
"h");
51 if (Wh < 0.2 || Wh > 6.0) {
53 "0.2 <= W/h <= 6.0 (W/h = %g)\n", Wh);
55 if (er < 2.36 || er > 10.4) {
57 "2.36 <= er <= 10.4 (er = %g)\n", er);
61 C = W * ((10.35 * er + 2.5) * Wh + (2.6 * er + 5.64));
78 if (frequency *
h > 12e6) {
80 "freq*h <= 12MHz (is %g)\n", frequency *
h);
std::complex< nr_double_t > nr_complex_t
void initSP(void)
placehoder for S-Parameter initialisation function
nr_double_t getPropertyDouble(const char *)
nr_complex_t pow(const nr_complex_t z, const nr_double_t d)
Compute power function with real exponent.
substrate * getSubstrate(void)
void setInternalVoltageSource(bool i)
void setVoltageSources(int)
matrix ztos(matrix z, qucs::vector z0)
Convert impedance matrix scattering parameters.
#define M_PI
Archimedes' constant ( )
qucs::matrix calcMatrixZ(nr_double_t)
void allocMatrixMNA(void)
void voltageSource(int, int, int, nr_double_t value=0.0)
nr_complex_t exp(const nr_complex_t z)
Compute complex exponential.
void logprint(int level, const char *format,...)
matrix ztoy(matrix z)
impedance matrix to admittance matrix.