Browse Source

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

pre-master-46
Holger Vogt 3 years ago
parent
commit
233f9daba4
  1. 1
      src/spicelib/devices/vccs/vccs.c
  2. 1
      src/spicelib/devices/vccs/vccsdefs.h
  3. 1
      src/spicelib/devices/vcvs/vcvs.c
  4. 3
      src/spicelib/devices/vcvs/vcvsask.c
  5. 1
      src/spicelib/devices/vcvs/vcvsdefs.h

1
src/spicelib/devices/vccs/vccs.c

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

1
src/spicelib/devices/vccs/vccsdefs.h

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

1
src/spicelib/devices/vcvs/vcvs.c

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

3
src/spicelib/devices/vcvs/vcvsask.c

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

1
src/spicelib/devices/vcvs/vcvsdefs.h

@ -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…
Cancel
Save