res...c: indentations, white spaces

This commit is contained in:
h_vogt 2013-05-09 09:16:40 +02:00
parent 4c589a1c71
commit c9d4ab1d13
6 changed files with 192 additions and 192 deletions

View File

@ -13,7 +13,7 @@ Modified: 2000 AlansFixes
#include "ngspice/complex.h" #include "ngspice/complex.h"
#include "ngspice/noisedef.h" #include "ngspice/noisedef.h"
/* definitions used to describe resistors */ /* definitions used to describe resistors */
/* information used to describe a single instance */ /* information used to describe a single instance */
@ -33,7 +33,7 @@ typedef struct sRESinstance {
double RESconduct; /* conductance at current analysis temperature */ double RESconduct; /* conductance at current analysis temperature */
double RESresist; /* resistance at temperature Tnom */ double RESresist; /* resistance at temperature Tnom */
double REScurrent; /* The dc current in the resistor */ double REScurrent; /* The dc current in the resistor */
/* serban */ /* serban */
double RESacResist; /* AC resistance, useful for fancy .ac analyses */ double RESacResist; /* AC resistance, useful for fancy .ac analyses */
double RESacConduct; /* AC conductance */ double RESacConduct; /* AC conductance */
double RESwidth; /* width of the resistor */ double RESwidth; /* width of the resistor */
@ -57,7 +57,7 @@ typedef struct sRESinstance {
unsigned RESscaleGiven : 1; /* flag to indicate scale given */ unsigned RESscaleGiven : 1; /* flag to indicate scale given */
unsigned REStempGiven : 1; /* indicates temperature specified */ unsigned REStempGiven : 1; /* indicates temperature specified */
unsigned RESdtempGiven : 1; /* indicates delta-temp specified */ unsigned RESdtempGiven : 1; /* indicates delta-temp specified */
/* serban */ /* serban */
unsigned RESacresGiven : 1; /* indicates AC value specified */ unsigned RESacresGiven : 1; /* indicates AC value specified */
unsigned RESmGiven : 1; /* indicates M parameter specified */ unsigned RESmGiven : 1; /* indicates M parameter specified */
unsigned REStc1Given : 1; /* indicates tc1 parameter specified */ unsigned REStc1Given : 1; /* indicates tc1 parameter specified */
@ -66,7 +66,7 @@ typedef struct sRESinstance {
int RESsenParmNo; /* parameter # for sensitivity use; int RESsenParmNo; /* parameter # for sensitivity use;
* set equal to 0 if not a design parameter*/ * set equal to 0 if not a design parameter*/
/* indices to array of RES noise sources */ /* indices to array of RES noise sources */
#define RESTHNOIZ 0 /* Thermal noise source */ #define RESTHNOIZ 0 /* Thermal noise source */
#define RESFLNOIZ 1 /* Flicker noise source */ #define RESFLNOIZ 1 /* Flicker noise source */

View File

@ -12,7 +12,7 @@ Modified: 2000 AlanSfixes
int int
REStemp(GENmodel *inModel, CKTcircuit *ckt) REStemp(GENmodel *inModel, CKTcircuit *ckt)
/* perform the temperature update to the resistors /* perform the temperature update to the resistors
* calculate the conductance as a function of the * calculate the conductance as a function of the
* given nominal and current temperatures - the * given nominal and current temperatures - the
* resistance given in the struct is the nominal * resistance given in the struct is the nominal