hfet2trunc.c

来自「ngspice又一个电子CAD仿真软件代码.功能更全」· C语言 代码 · 共 32 行

C
32 行
字号
#include "ngspice.h"#include <stdio.h>#include "cktdefs.h"#include "hfet2defs.h"#include "sperror.h"#include "suffix.h"int HFET2trunc(inModel, ckt, tiHFET2tep)GENmodel *inModel;CKTcircuit *ckt;double *tiHFET2tep;{  HFET2model *model = (HFET2model*)inModel;  HFET2instance *here;  for( ; model != NULL; model = model->HFET2nextModel) {    for(here=model->HFET2instances;here!=NULL;        here = here->HFET2nextInstance){             if (here->HFET2owner != ARCHme) continue;      CKTterr(here->HFET2qgs,ckt,tiHFET2tep);      CKTterr(here->HFET2qgd,ckt,tiHFET2tep);    }  }  return(OK);  }

⌨️ 快捷键说明

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