34 inductor::inductor () : circuit (2) {
90 #define fState 0 // flux state
91 #define vState 1 // voltage state
std::complex< nr_double_t > nr_complex_t
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 setInternalVoltageSource(bool i)
void setVoltageSources(int)
static const nr_double_t z0
bool isPropertyGiven(const char *)
nr_double_t getJ(int, nr_double_t)
void setE(int, nr_complex_t)
#define M_PI
Archimedes' constant ( )
void setY(int, int, nr_complex_t)
void allocMatrixMNA(void)
void voltageSource(int, int, int, nr_double_t value=0.0)
void setS(int, int, nr_complex_t)
void setState(int, state_type_t, int n=0)