52 #define MODFLAG(val,bit) if (val) flag |= (bit); else flag &= ~(bit);
53 #define RETFLAG(bit) ((flag & (bit)) != 0)
55 #define CREATOR(val) \
57 static circuit * create (void) { return new val (); } \
58 static struct define_t cirdef; \
59 static struct define_t * definition (void) { return &cirdef; }
85 virtual void calcSP (nr_double_t) { }
94 virtual void calcAC (nr_double_t) { }
96 virtual void calcTR (nr_double_t) { }
98 virtual void calcHB (nr_double_t) { }
107 void setNode (
int,
const char *,
int intern = 0);
165 nr_double_t
getV (
int, nr_double_t);
166 nr_double_t
getJ (
int, nr_double_t);
196 nr_double_t
getG (
int,
int);
211 void setG (
int,
int, nr_double_t);
221 void addY (
int,
int, nr_double_t);
223 void addI (
int, nr_double_t);
262 static const nr_double_t
z0;
297 nr_double_t * deltas;