34 vac::vac () : circuit (2) {
37 setVoltageSources (1);
70 nr_double_t o = 2 *
M_PI * f;
71 nr_double_t T = p / f / 360;
nr_double_t getSrcFactor(void)
void initSP(void)
placehoder for S-Parameter initialisation function
nr_double_t getPropertyDouble(const char *)
void setVoltageSources(int)
nr_complex_t sin(const nr_complex_t z)
Compute complex sine.
void setE(int, nr_complex_t)
#define M_PI
Archimedes' constant ( )
#define rad(x)
Convert degree to radian.
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 setS(int, int, nr_complex_t)
nr_complex_t polar(const nr_double_t mag, const nr_double_t ang)
Construct a complex number using polar notation.
#define PROP_NO_SUBSTRATE