init of potential uninitialized variables
This commit is contained in:
parent
6be693671b
commit
9b99042b44
|
|
@ -32,7 +32,7 @@ VBICacLoad(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
XQbcx_Vbcx, XQbep_Vbep, XQbep_Vbci,
|
XQbcx_Vbcx, XQbep_Vbep, XQbep_Vbci,
|
||||||
XQbcp_Vbcp, XQbeo_Vbe, XQbco_Vbc;
|
XQbcp_Vbcp, XQbeo_Vbe, XQbco_Vbc;
|
||||||
|
|
||||||
double Ibe_Vrth, Ibex_Vrth, Itzf_Vrth, Itzr_Vrth, Ibc_Vrth, Ibep_Vrth,
|
double Ibe_Vrth, Ibex_Vrth, Itzf_Vrth=0.0, Itzr_Vrth, Ibc_Vrth, Ibep_Vrth,
|
||||||
Ircx_Vrth, Irci_Vrth, Irbx_Vrth, Irbi_Vrth, Ire_Vrth, Irbp_Vrth,
|
Ircx_Vrth, Irci_Vrth, Irbx_Vrth, Irbi_Vrth, Ire_Vrth, Irbp_Vrth,
|
||||||
Ibcp_Vrth, Iccp_Vrth, Irs_Vrth, Irth_Vrth, Ith_Vrth,
|
Ibcp_Vrth, Iccp_Vrth, Irs_Vrth, Irth_Vrth, Ith_Vrth,
|
||||||
Ith_Vbei, Ith_Vbci, Ith_Vcei, Ith_Vbex, Ith_Vbep, Ith_Vbcp, Ith_Vcep,
|
Ith_Vbei, Ith_Vbci, Ith_Vcei, Ith_Vbex, Ith_Vbep, Ith_Vbcp, Ith_Vcep,
|
||||||
|
|
|
||||||
|
|
@ -82,8 +82,8 @@ VBICload(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
,Vrth=0.0,Vbei,Vbex,Vbci,Vbep,Vbcp
|
,Vrth=0.0,Vbei,Vbex,Vbci,Vbep,Vbcp
|
||||||
,Vrcx,Vbcx,Vrci,Vrbx,Vrbi,Vre,Vrbp
|
,Vrcx,Vbcx,Vrci,Vrbx,Vrbi,Vre,Vrbp
|
||||||
,Vrs,Vbe,Vbc,Vcei=0.0,Vcep=0.0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,Ith_Vre=0.0,Ith_Vrbp=0.0,Qcth=0.0
|
||||||
,Qcth_Vrth=0.0,SCALE;
|
,Qcth_Vrth=0.0,SCALE;
|
||||||
//NQS
|
//NQS
|
||||||
double Vrxf, Vcxf, Itxf=0.0, Itxf_Vrxf=0.0, Ibc_Vrxf, Ith_Vrxf, Ixzf_Vrth,
|
double Vrxf=0.0, Vcxf=0.0, Itxf=0.0, Itxf_Vrxf=0.0, Ibc_Vrxf=0.0, Ith_Vrxf=0.0,
|
||||||
Ixxf_Vrxf, Qcxf, Qcxf_Vcxf, Flxf, Flxf_Vrxf;
|
Ixzf_Vrth=0.0, Ixxf_Vrxf=0.0, Qcxf=0.0, Qcxf_Vcxf=0.0, Flxf=0.0, Flxf_Vrxf;
|
||||||
double Vxf1xf2, Rxf1xf2, newmind, req, veq;
|
double Vxf1xf2=0.0, Rxf1xf2=0.0, newmind, req, veq;
|
||||||
|
|
||||||
int iret;
|
int iret;
|
||||||
double vce;
|
double vce;
|
||||||
|
|
@ -119,8 +119,8 @@ VBICload(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
double delvbcp;
|
double delvbcp;
|
||||||
double ibehat;
|
double ibehat;
|
||||||
double ibexhat;
|
double ibexhat;
|
||||||
double itzfhat;
|
double itzfhat=0.0;
|
||||||
double ixzfhat;
|
double ixzfhat=0.0;
|
||||||
double itzrhat;
|
double itzrhat;
|
||||||
double ibchat;
|
double ibchat;
|
||||||
double ibephat;
|
double ibephat;
|
||||||
|
|
@ -136,8 +136,8 @@ VBICload(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
double gqbeo, cqbeo, gqbco, cqbco, gbcx, cbcx;
|
double gqbeo, cqbeo, gqbco, cqbco, gbcx, cbcx;
|
||||||
double Icth, Icth_Vrth;
|
double Icth, Icth_Vrth;
|
||||||
//NQS
|
//NQS
|
||||||
double Ixzf,Ixxf;
|
double Ixzf=0.0,Ixxf=0.0;
|
||||||
double Ixzf_Vbei, Ixzf_Vbci;
|
double Ixzf_Vbei=0.0, Ixzf_Vbci=0.0;
|
||||||
double Icxf, Icxf_Vcxf;
|
double Icxf, Icxf_Vcxf;
|
||||||
|
|
||||||
/* loop through all the models */
|
/* loop through all the models */
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ VBICpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s)
|
||||||
XQbcx_Vbcx, XQbep_Vbep, XQbep_Vbci,
|
XQbcx_Vbcx, XQbep_Vbep, XQbep_Vbci,
|
||||||
XQbcp_Vbcp, XQbeo_Vbe, XQbco_Vbc;
|
XQbcp_Vbcp, XQbeo_Vbe, XQbco_Vbc;
|
||||||
|
|
||||||
double Ibe_Vrth, Ibex_Vrth, Itzf_Vrth, Itzr_Vrth, Ibc_Vrth, Ibep_Vrth,
|
double Ibe_Vrth, Ibex_Vrth, Itzf_Vrth=0.0, Itzr_Vrth, Ibc_Vrth, Ibep_Vrth,
|
||||||
Ircx_Vrth, Irci_Vrth, Irbx_Vrth, Irbi_Vrth, Ire_Vrth, Irbp_Vrth,
|
Ircx_Vrth, Irci_Vrth, Irbx_Vrth, Irbi_Vrth, Ire_Vrth, Irbp_Vrth,
|
||||||
Ibcp_Vrth, Iccp_Vrth, Irs_Vrth, Irth_Vrth, Ith_Vrth,
|
Ibcp_Vrth, Iccp_Vrth, Irs_Vrth, Irth_Vrth, Ith_Vrth,
|
||||||
Ith_Vbei, Ith_Vbci, Ith_Vcei, Ith_Vbex, Ith_Vbep, Ith_Vbcp, Ith_Vcep,
|
Ith_Vbei, Ith_Vbci, Ith_Vcei, Ith_Vbex, Ith_Vbep, Ith_Vbcp, Ith_Vcep,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue