USE_OMP, fix type of local variables `idx' and `InstCount'
This commit is contained in:
parent
994bec7859
commit
fddbb7d9eb
|
|
@ -3130,7 +3130,7 @@ return(OK);
|
||||||
#ifdef USE_OMP
|
#ifdef USE_OMP
|
||||||
void BSIM3LoadRhsMat(GENmodel *inModel, CKTcircuit *ckt)
|
void BSIM3LoadRhsMat(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
{
|
{
|
||||||
unsigned int InstCount, idx;
|
int InstCount, idx;
|
||||||
BSIM3instance **InstArray;
|
BSIM3instance **InstArray;
|
||||||
BSIM3instance *here;
|
BSIM3instance *here;
|
||||||
BSIM3model *model = (BSIM3model*)inModel;
|
BSIM3model *model = (BSIM3model*)inModel;
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ CKTnode *tmpNode;
|
||||||
IFuid tmpName;
|
IFuid tmpName;
|
||||||
|
|
||||||
#ifdef USE_OMP
|
#ifdef USE_OMP
|
||||||
unsigned int idx, InstCount;
|
int idx, InstCount;
|
||||||
BSIM3instance **InstArray;
|
BSIM3instance **InstArray;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5414,7 +5414,7 @@ int BSIM4polyDepletion(
|
||||||
#ifdef USE_OMP
|
#ifdef USE_OMP
|
||||||
void BSIM4LoadRhsMat(GENmodel *inModel, CKTcircuit *ckt)
|
void BSIM4LoadRhsMat(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
{
|
{
|
||||||
unsigned int InstCount, idx;
|
int InstCount, idx;
|
||||||
BSIM4instance **InstArray;
|
BSIM4instance **InstArray;
|
||||||
BSIM4instance *here;
|
BSIM4instance *here;
|
||||||
BSIM4model *model = (BSIM4model*)inModel;
|
BSIM4model *model = (BSIM4model*)inModel;
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ double Rtot, DMCGeff, DMCIeff, DMDGeff;
|
||||||
JOB *job;
|
JOB *job;
|
||||||
|
|
||||||
#ifdef USE_OMP
|
#ifdef USE_OMP
|
||||||
unsigned int idx, InstCount;
|
int idx, InstCount;
|
||||||
BSIM4instance **InstArray;
|
BSIM4instance **InstArray;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5204,7 +5204,7 @@ int BSIM4v6polyDepletion(
|
||||||
#ifdef USE_OMP
|
#ifdef USE_OMP
|
||||||
void BSIM4v6LoadRhsMat(GENmodel *inModel, CKTcircuit *ckt)
|
void BSIM4v6LoadRhsMat(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
{
|
{
|
||||||
unsigned int InstCount, idx;
|
int InstCount, idx;
|
||||||
BSIM4v6instance **InstArray;
|
BSIM4v6instance **InstArray;
|
||||||
BSIM4v6instance *here;
|
BSIM4v6instance *here;
|
||||||
BSIM4v6model *model = (BSIM4v6model*)inModel;
|
BSIM4v6model *model = (BSIM4v6model*)inModel;
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ JOB *job;
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_OMP
|
#ifdef USE_OMP
|
||||||
unsigned int idx, InstCount;
|
int idx, InstCount;
|
||||||
BSIM4v6instance **InstArray;
|
BSIM4v6instance **InstArray;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5359,7 +5359,7 @@ int BSIM4v7polyDepletion(
|
||||||
#ifdef USE_OMP
|
#ifdef USE_OMP
|
||||||
void BSIM4v7LoadRhsMat(GENmodel *inModel, CKTcircuit *ckt)
|
void BSIM4v7LoadRhsMat(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
{
|
{
|
||||||
unsigned int InstCount, idx;
|
int InstCount, idx;
|
||||||
BSIM4v7instance **InstArray;
|
BSIM4v7instance **InstArray;
|
||||||
BSIM4v7instance *here;
|
BSIM4v7instance *here;
|
||||||
BSIM4v7model *model = (BSIM4v7model*)inModel;
|
BSIM4v7model *model = (BSIM4v7model*)inModel;
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ double Rtot, DMCGeff, DMCIeff, DMDGeff;
|
||||||
JOB *job;
|
JOB *job;
|
||||||
|
|
||||||
#ifdef USE_OMP
|
#ifdef USE_OMP
|
||||||
unsigned int idx, InstCount;
|
int idx, InstCount;
|
||||||
BSIM4v7instance **InstArray;
|
BSIM4v7instance **InstArray;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10963,7 +10963,7 @@ synchronisation required.*/
|
||||||
|
|
||||||
void B4SOILoadRhsMat(GENmodel *inModel, CKTcircuit *ckt)
|
void B4SOILoadRhsMat(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
{
|
{
|
||||||
unsigned int InstCount, idx;
|
int InstCount, idx;
|
||||||
B4SOIinstance **InstArray;
|
B4SOIinstance **InstArray;
|
||||||
B4SOIinstance *here;
|
B4SOIinstance *here;
|
||||||
B4SOImodel *model = (B4SOImodel*)inModel;
|
B4SOImodel *model = (B4SOImodel*)inModel;
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ double Cboxt;
|
||||||
double Vbs0t, Qsi;
|
double Vbs0t, Qsi;
|
||||||
|
|
||||||
#ifdef USE_OMP
|
#ifdef USE_OMP
|
||||||
unsigned int idx, InstCount;
|
int idx, InstCount;
|
||||||
B4SOIinstance **InstArray;
|
B4SOIinstance **InstArray;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1493,7 +1493,7 @@ vsum0 = vsum ;
|
||||||
#ifdef USE_OMP
|
#ifdef USE_OMP
|
||||||
void HSM2LoadRhsMat(GENmodel *inModel, CKTcircuit *ckt)
|
void HSM2LoadRhsMat(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
{
|
{
|
||||||
unsigned int InstCount, idx;
|
int InstCount, idx;
|
||||||
HSM2instance **InstArray;
|
HSM2instance **InstArray;
|
||||||
HSM2instance *here;
|
HSM2instance *here;
|
||||||
HSM2model *model = (HSM2model*)inModel;
|
HSM2model *model = (HSM2model*)inModel;
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,7 @@ int HSM2setup(
|
||||||
double Lbin=0.0, Wbin=0.0, LWbin =0.0; /* binning */
|
double Lbin=0.0, Wbin=0.0, LWbin =0.0; /* binning */
|
||||||
|
|
||||||
#ifdef USE_OMP
|
#ifdef USE_OMP
|
||||||
unsigned int idx, InstCount;
|
int idx, InstCount;
|
||||||
HSM2instance **InstArray;
|
HSM2instance **InstArray;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue