32 mutual2::mutual2 () :
circuit (6) {
40 matrix mutual2::calcMatrixY (nr_double_t frequency) {
47 nr_double_t o = 2 *
M_PI * frequency;
48 nr_double_t a = 1 - k12 * k12 - k13 * k13 - k23 * k23 + 2 * k12 * k13 * k23;
100 #define fState11 0 // flux state
101 #define vState11 1 // voltage state
126 nr_double_t M12 = k12 *
sqrt (l1 * l2);
127 nr_double_t M13 = k13 *
sqrt (l1 * l3);
128 nr_double_t M23 = k23 *
sqrt (l2 * l3);
129 nr_double_t r11, r12, r13, r21, r22, r23, r31, r32, r33;
130 nr_double_t v11, v12, v13, v21, v22, v23, v31, v32, v33;