⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 indmask.c

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 C
字号:
/**********Copyright 2003 Paolo NenziAuthor: 2003 Paolo Nenzi**********//* */#include "ngspice.h"#include "cktdefs.h"#include "devdefs.h"#include "inddefs.h"#include "sperror.h"#include "ifsim.h"#include "suffix.h"/* ARGSUSED */intINDmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value){    INDmodel *here = (INDmodel*)inst;    switch(which) {        case IND_MOD_IND:	    value->rValue = here->INDmInd;	    return(OK);        case IND_MOD_TNOM:	    value->rValue = here->INDtnom-CONSTCtoK;	    return(OK);	case IND_MOD_TC1:	    value->rValue = here->INDtempCoeff1;   	    return(OK);	case IND_MOD_TC2:	    value->rValue = here->INDtempCoeff2;   	    return(OK);  	case IND_MOD_CSECT:            value->rValue = here->INDcsect;            return(OK);              case IND_MOD_LENGTH:            value->rValue = here->INDlength;            return(OK);        case IND_MOD_NT:            value->rValue = here->INDmodNt;            return(OK);        case IND_MOD_MU:            value->rValue = here->INDmu;            return(OK);                default:              return(E_BADPARM);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -