29 #include "component.h"
34 cpwopen::cpwopen () :
circuit (1) {
50 nr_double_t ZlEff, ErEff, ZlEffFreq, ErEffFreq;
53 ZlEffFreq, ErEffFreq);
54 nr_double_t dl = (W / 2 +
s) / 2;
55 return dl * ErEffFreq /
C0 / ZlEffFreq;
73 "g > 2b (2b = %g)\n", W + s + s);
75 nr_double_t ab = W / (W + s +
s);
76 if (ab < 0.2 || ab > 0.8) {
78 "0.2 < a/b < 0.8 (a/b = %g)\n", ab);
83 nr_double_t o = 2 *
M_PI * frequency;
85 return rect (0, c * o);