various whitespace change

This commit is contained in:
Francesco Lannutti 2014-04-26 20:09:21 +02:00 committed by rlar
parent 9c265b5385
commit fb58650eca
42 changed files with 17 additions and 47 deletions

View File

@ -81,5 +81,3 @@ get_b3soidd_info (void)
{ {
return &B3SOIDDinfo; return &B3SOIDDinfo;
} }

View File

@ -77,7 +77,6 @@ SPICEdev BSIM4v5info = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_bsim4v5_info(void) get_bsim4v5_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev BSIM4v6info = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_bsim4v6_info(void) get_bsim4v6_info(void)
{ {

View File

@ -81,5 +81,3 @@ get_b4soi_info (void)
{ {
return &B4SOIinfo; return &B4SOIinfo;
} }

View File

@ -115,6 +115,6 @@ CAPtemp(GENmodel *inModel, CKTcircuit *ckt)
#endif #endif
} }
return(OK); return (OK) ;
} }

View File

@ -78,7 +78,6 @@ SPICEdev DIOinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_dio_info(void) get_dio_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev HFET2info = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_hfet2_info(void) get_hfet2_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev HSM2info = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_hsm2_info(void) get_hsm2_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev HSMHVinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_hsmhv_info(void) get_hsmhv_info(void)
{ {

View File

@ -320,6 +320,7 @@ enum {
IND_QUEST_SENS_DC, IND_QUEST_SENS_DC,
}; };
/* device parameters */ /* device parameters */
enum { enum {
MUT_COEFF = 401, MUT_COEFF = 401,

View File

@ -29,6 +29,7 @@ INDload(GENmodel *inModel, CKTcircuit *ckt)
int ktype; int ktype;
int itype; int itype;
/* loop through all the inductor models */ /* loop through all the inductor models */
for( ; model != NULL; model = INDnextModel(model)) { for( ; model != NULL; model = INDnextModel(model)) {

View File

@ -22,6 +22,7 @@ INDsAcLoad(GENmodel *inModel, CKTcircuit *ckt)
INDmodel *model = (INDmodel*)inModel; INDmodel *model = (INDmodel*)inModel;
INDinstance *here; INDinstance *here;
double cind,icind,val,ival; double cind,icind,val,ival;
MUTinstance *muthere; MUTinstance *muthere;
MUTmodel *mutmodel; MUTmodel *mutmodel;
double cind1; double cind1;
@ -47,6 +48,7 @@ INDsAcLoad(GENmodel *inModel, CKTcircuit *ckt)
double k2; double k2;
int ktype; int ktype;
int itype; int itype;
SENstruct *info; SENstruct *info;
info = ckt->CKTsenInfo; info = ckt->CKTsenInfo;
@ -139,6 +141,7 @@ INDsAcLoad(GENmodel *inModel, CKTcircuit *ckt)
/* loop through all the instances of the model */ /* loop through all the instances of the model */
for (here = INDinstances(model); here != NULL ; for (here = INDinstances(model); here != NULL ;
here=INDnextInstance(here)) { here=INDnextInstance(here)) {
if(here->INDsenParmNo){ if(here->INDsenParmNo){
cind = *(ckt->CKTrhsOld + here->INDbrEq); cind = *(ckt->CKTrhsOld + here->INDbrEq);
icind = *(ckt->CKTirhsOld + here->INDbrEq); icind = *(ckt->CKTirhsOld + here->INDbrEq);

View File

@ -26,9 +26,9 @@ INDsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states)
CKTnode *tmp; CKTnode *tmp;
/* loop through all the inductor models */ /* loop through all the inductor models */
for( ; model != NULL; model = INDnextModel(model)) { for ( ; model != NULL ; model = INDnextModel(model))
{
/* Default Value Processing for Model Parameters */ /* Default Value Processing for Model Parameters */
if (!model->INDmIndGiven) { if (!model->INDmIndGiven) {
model->INDmInd = 0.0; model->INDmInd = 0.0;
} }
@ -197,7 +197,7 @@ do { if((here->ptr = SMPmakeElt(matrix, here->first, here->second)) == NULL){\
} }
#endif #endif
return(OK); return (OK) ;
} }
int int

View File

@ -28,6 +28,7 @@ INDsUpdate(GENmodel *inModel, CKTcircuit *ckt)
double dummy1; double dummy1;
double dummy2; double dummy2;
SENstruct *info; SENstruct *info;
MUTinstance *muthere; MUTinstance *muthere;
MUTmodel *mutmodel; MUTmodel *mutmodel;
double sxp1; double sxp1;
@ -37,6 +38,7 @@ INDsUpdate(GENmodel *inModel, CKTcircuit *ckt)
int ktype; int ktype;
int itype; int itype;
info = ckt->CKTsenInfo; info = ckt->CKTsenInfo;
if(ckt->CKTmode & MODEINITTRAN) return(OK); if(ckt->CKTmode & MODEINITTRAN) return(OK);
@ -63,8 +65,6 @@ INDsUpdate(GENmodel *inModel, CKTcircuit *ckt)
*(ckt->CKTstate0 + here->INDsensxp + 2 * (iparmno - 1)) = sxp; *(ckt->CKTstate0 + here->INDsensxp + 2 * (iparmno - 1)) = sxp;
} }
} }
} }
ktype = CKTtypelook("mutual"); ktype = CKTtypelook("mutual");
@ -125,6 +125,7 @@ INDsUpdate(GENmodel *inModel, CKTcircuit *ckt)
/* loop through all the instances of the model */ /* loop through all the instances of the model */
for (here = INDinstances(model); here != NULL ; for (here = INDinstances(model); here != NULL ;
here=INDnextInstance(here)) { here=INDnextInstance(here)) {
for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ for(iparmno = 1;iparmno<=info->SENparms;iparmno++){
if(ckt->CKTmode&MODETRANOP){ if(ckt->CKTmode&MODETRANOP){

View File

@ -5,7 +5,6 @@ Author: 2003 Paolo Nenzi
/* /*
*/ */
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h" #include "ngspice/cktdefs.h"
#include "inddefs.h" #include "inddefs.h"
@ -99,6 +98,6 @@ INDtemp(GENmodel *inModel, CKTcircuit *ckt)
#endif #endif
} }
return(OK); return (OK) ;
} }

View File

@ -11,7 +11,6 @@ Author: 1985 Thomas L. Quarles
#include "ngspice/sperror.h" #include "ngspice/sperror.h"
#include "ngspice/suffix.h" #include "ngspice/suffix.h"
int int
MUTacLoad(GENmodel *inModel, CKTcircuit *ckt) MUTacLoad(GENmodel *inModel, CKTcircuit *ckt)
{ {

View File

@ -18,7 +18,6 @@ libisrc_la_SOURCES = \
isrctemp.c isrctemp.c
AM_CPPFLAGS = @AM_CPPFLAGS@ -I$(top_srcdir)/src/include AM_CPPFLAGS = @AM_CPPFLAGS@ -I$(top_srcdir)/src/include
AM_CFLAGS = $(STATIC) AM_CFLAGS = $(STATIC)

View File

@ -89,5 +89,5 @@ ISRCtemp(GENmodel *inModel, CKTcircuit *ckt)
} }
return(OK); return (OK) ;
} }

View File

@ -77,7 +77,6 @@ SPICEdev JFETinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_jfet_info(void) get_jfet_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev JFET2info = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_jfet2_info(void) get_jfet2_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev LTRAinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_ltra_info(void) get_ltra_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev MESinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_mes_info(void) get_mes_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev MESAinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_mesa_info(void) get_mesa_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev MOS1info = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_mos1_info(void) get_mos1_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev MOS2info = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_mos2_info(void) get_mos2_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev MOS3info = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_mos3_info(void) get_mos3_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev MOS6info = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_mos6_info(void) get_mos6_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev MOS9info = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_mos9_info(void) get_mos9_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev NBJTinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_nbjt_info(void) get_nbjt_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev NBJT2info = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_nbjt2_info(void) get_nbjt2_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev NDEVinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_ndev_info(void) get_ndev_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev NUMDinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_numd_info(void) get_numd_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev NUMD2info = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_numd2_info(void) get_numd2_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev NUMOSinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_numos_info(void) get_numos_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev SOI3info = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_soi3_info(void) get_soi3_info(void)
{ {

View File

@ -78,7 +78,6 @@ SPICEdev SWinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_sw_info(void) get_sw_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev TRAinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_tra_info(void) get_tra_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev URCinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_urc_info(void) get_urc_info(void)
{ {

View File

@ -82,7 +82,6 @@ SPICEdev VBICinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_vbic_info(void) get_vbic_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev VCCSinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_vccs_info(void) get_vccs_info(void)
{ {

View File

@ -77,7 +77,6 @@ SPICEdev VCVSinfo = {
#endif #endif
}; };
SPICEdev * SPICEdev *
get_vcvs_info(void) get_vcvs_info(void)
{ {

View File

@ -20,7 +20,7 @@ VSRCtemp(GENmodel *inModel, CKTcircuit *ckt)
/* Pre-process voltage source parameters /* Pre-process voltage source parameters
*/ */
{ {
VSRCmodel *model = (VSRCmodel *) inModel; VSRCmodel *model = (VSRCmodel *)inModel;
VSRCinstance *here; VSRCinstance *here;
double radians; double radians;
@ -90,5 +90,5 @@ VSRCtemp(GENmodel *inModel, CKTcircuit *ckt)
} }
return(OK); return (OK) ;
} }