re-format indmask.c
This commit is contained in:
parent
0387a95218
commit
d3a436b7dd
|
|
@ -14,20 +14,20 @@ Author: 2003 Paolo Nenzi
|
|||
#include "ngspice/suffix.h"
|
||||
|
||||
|
||||
/* ARGSUSED */
|
||||
/* ARGSUSED */
|
||||
int
|
||||
INDmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value)
|
||||
INDmAsk(CKTcircuit* ckt, GENmodel* inst, int which, IFvalue* value)
|
||||
{
|
||||
INDmodel *here = (INDmodel*)inst;
|
||||
INDmodel* here = (INDmodel*)inst;
|
||||
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(which) {
|
||||
switch (which) {
|
||||
case IND_MOD_IND:
|
||||
value->rValue = here->INDmInd;
|
||||
return(OK);
|
||||
case IND_MOD_TNOM:
|
||||
value->rValue = here->INDtnom-CONSTCtoK;
|
||||
value->rValue = here->INDtnom - CONSTCtoK;
|
||||
return(OK);
|
||||
case IND_MOD_TC1:
|
||||
value->rValue = here->INDtempCoeff1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue