34 mutual2::mutual2 () : circuit (6) {
49 nr_double_t o = 2 *
M_PI * frequency;
50 nr_double_t a = 1 - k12 * k12 - k13 * k13 - k23 * k23 + 2 * k12 * k13 * k23;
58 matrix
y = matrix (6);
102 #define fState11 0 // flux state
103 #define vState11 1 // voltage state
128 nr_double_t M12 = k12 *
std::sqrt (l1 * l2);
129 nr_double_t M13 = k13 *
std::sqrt (l1 * l3);
130 nr_double_t M23 = k23 *
std::sqrt (l2 * l3);
131 nr_double_t r11, r12, r13, r21, r22, r23, r31, r32, r33;
132 nr_double_t v11, v12, v13, v21, v22, v23, v31, v32, v33;
std::complex< nr_double_t > nr_complex_t
matrix ytos(matrix y, qucs::vector z0)
Admittance matrix to scattering parameters.
matrix real(matrix a)
Real part matrix.
void integrate(int, nr_double_t, nr_double_t &, nr_double_t &)
nr_double_t getPropertyDouble(const char *)
void setD(int, int, nr_complex_t)
void setVoltageSources(int)
nr_complex_t sqrt(const nr_complex_t z)
Compute principal value of square root.
nr_double_t getJ(int, nr_double_t)
void setE(int, nr_complex_t)
qucs::matrix calcMatrixY(nr_double_t)
#define M_PI
Archimedes' constant ( )
void allocMatrixMNA(void)
void voltageSource(int, int, int, nr_double_t value=0.0)
void setState(int, state_type_t, int n=0)