Skip to content

Commit

Permalink
Remove unused instance parameter ic (initial condition of controlling…
Browse files Browse the repository at this point in the history
… source).
  • Loading branch information
holvo committed Oct 1, 2023
1 parent b1f367b commit 233f9da
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/spicelib/devices/vccs/vccs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
1 change: 0 additions & 1 deletion src/spicelib/devices/vccs/vccsdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down
1 change: 0 additions & 1 deletion src/spicelib/devices/vcvs/vcvs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
3 changes: 0 additions & 3 deletions src/spicelib/devices/vcvs/vcvsask.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion src/spicelib/devices/vcvs/vcvsdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 233f9da

Please sign in to comment.