Remove unused instance parameter ic (initial condition of controlling source).

This commit is contained in:
Holger Vogt 2023-10-01 10:51:31 +02:00
parent b1f367bc07
commit 233f9daba4
5 changed files with 0 additions and 7 deletions

View File

@ -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"),

View File

@ -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 */

View File

@ -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"),

View File

@ -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);

View File

@ -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