42 capacitor::capacitor () : circuit (2) {
99 #define qState 0 // charge state
100 #define cState 1 // current 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 calcSP(nr_double_t)
Compute S parameters.
bool hasProperty(const char *)
static const nr_double_t z0
bool isPropertyGiven(const char *)
void calcAC(nr_double_t)
AC model.
void initAC(void)
Init AC model of capacitor.
#define M_PI
Archimedes' constant ( )
void setI(int, nr_complex_t)
void setY(int, int, nr_complex_t)
void allocMatrixMNA(void)
nr_double_t getV(int, nr_double_t)
void setS(int, int, nr_complex_t)
void setState(int, state_type_t, int n=0)