various whitespace change

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -310,6 +310,7 @@ struct INDsystem {
#define IND_QUEST_SENS_CPLX 205
#define IND_QUEST_SENS_DC 206
/* device parameters */
#define MUT_COEFF 401
#define MUT_IND1 402

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -20,7 +20,6 @@ libisrc_la_SOURCES = \
isrctemp.c
AM_CPPFLAGS = @AM_CPPFLAGS@ -I$(top_srcdir)/src/include
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
};
SPICEdev *
get_jfet_info(void)
{

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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