34 resistor::resistor () : circuit (2) {
64 if (r > 0.0 || r < 0.0) {
66 nr_double_t f =
kelvin (T) /
T0 * 4.0 /
r;
79 nr_double_t DT = T - Tn;
84 R = R * (1 + DT * (Tc1 + Tc2 * DT));
94 nr_double_t g = 1.0 /
r;
116 nr_double_t g = 1.0 /
r;
#define T0
standard temperature
void calcNoiseAC(nr_double_t)
nr_double_t getPropertyDouble(const char *)
void setD(int, int, nr_complex_t)
void setInternalVoltageSource(bool i)
void setVoltageSources(int)
#define K
Absolute 0 in centigrade.
bool hasProperty(const char *)
nr_double_t getScaledProperty(const char *)
static const nr_double_t z0
void setScaledProperty(const char *, nr_double_t)
nr_complex_t sqr(const nr_complex_t z)
Square of complex number.
void initSP(void)
placehoder for S-Parameter initialisation function
void setY(int, int, nr_complex_t)
void allocMatrixMNA(void)
void calcNoiseSP(nr_double_t)
void voltageSource(int, int, int, nr_double_t value=0.0)
void setS(int, int, nr_complex_t)
void setN(int, int, nr_complex_t)
#define PROP_NO_SUBSTRATE