Remove unused instance parameter ic (initial condition of controlling source).
This commit is contained in:
parent
b1f367bc07
commit
233f9daba4
|
|
@ -20,7 +20,6 @@ IFparm VCCSpTable[] = { /* parameters */
|
|||
"Positive node of contr. source"),
|
||||
OPU("cont_n_node",VCCS_CONT_N_NODE,IF_INTEGER,
|
||||
"Negative node of contr. source"),
|
||||
IP("ic", VCCS_IC, IF_REAL, "Initial condition of controlling source"),
|
||||
OP("i", VCCS_CURRENT,IF_REAL, "Output current"),
|
||||
OP("v", VCCS_VOLTS,IF_REAL, "Voltage across output"),
|
||||
OP("p", VCCS_POWER, IF_REAL, "Power"),
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ typedef struct sVCCSinstance {
|
|||
const int VCCScontPosNode; /* number of positive node of controlling source */
|
||||
const int VCCScontNegNode; /* number of negative node of controlling source */
|
||||
|
||||
double VCCSinitCond; /* initial condition (of controlling source) */
|
||||
double VCCScoeff; /* coefficient */
|
||||
double VCCSmValue; /* Parallel multiplier */
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ IFparm VCVSpTable[] = { /* parameters */
|
|||
"Positive node of contr. source"),
|
||||
OPU("cont_n_node",VCVS_CONT_N_NODE,IF_INTEGER,
|
||||
"Negative node of contr. source"),
|
||||
IP("ic", VCVS_IC, IF_REAL, "Initial condition of controlling source"),
|
||||
OP("i", VCVS_CURRENT, IF_REAL, "Output current"),
|
||||
OP("v", VCVS_VOLTS, IF_REAL, "Output voltage"),
|
||||
OP("p", VCVS_POWER, IF_REAL, "Power"),
|
||||
|
|
|
|||
|
|
@ -40,9 +40,6 @@ VCVSask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue *
|
|||
case VCVS_CONT_N_NODE:
|
||||
value->iValue = here->VCVScontNegNode;
|
||||
return (OK);
|
||||
case VCVS_IC:
|
||||
value->rValue = here->VCVSinitCond;
|
||||
return (OK);
|
||||
case VCVS_GAIN:
|
||||
value->rValue = here->VCVScoeff;
|
||||
return (OK);
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ typedef struct sVCVSinstance {
|
|||
const int VCVScontNegNode; /* number of negative node of controlling source */
|
||||
int VCVSbranch; /* equation number of branch equation added for v source */
|
||||
|
||||
double VCVSinitCond; /* initial condition (of controlling source) */
|
||||
double VCVScoeff; /* coefficient */
|
||||
|
||||
double *VCVSposIbrPtr; /* pointer to sparse matrix element at
|
||||
|
|
|
|||
Loading…
Reference in New Issue