📄 b3v0trunc.c
字号:
/**********Copyright 1990 Regents of the University of California. All rights reserved.Author: 1995 Min-Chie Jeng and Mansun Chan.File: b3v0trunc.c**********/#include "ngspice.h"#include "cktdefs.h"#include "bsim3v0def.h"#include "sperror.h"#include "suffix.h"intBSIM3v0trunc(GENmodel *inModel, CKTcircuit *ckt, double *timeStep){BSIM3v0model *model = (BSIM3v0model*)inModel;BSIM3v0instance *here;#ifdef STEPDEBUG double debugtemp;#endif /* STEPDEBUG */ for (; model != NULL; model = model->BSIM3v0nextModel) { for (here = model->BSIM3v0instances; here != NULL; here = here->BSIM3v0nextInstance) { if (here->BSIM3v0owner != ARCHme) continue;#ifdef STEPDEBUG debugtemp = *timeStep;#endif /* STEPDEBUG */ CKTterr(here->BSIM3v0qb,ckt,timeStep); CKTterr(here->BSIM3v0qg,ckt,timeStep); CKTterr(here->BSIM3v0qd,ckt,timeStep);#ifdef STEPDEBUG if(debugtemp != *timeStep) { printf("device %s reduces step from %g to %g\n", here->BSIM3v0name,debugtemp,*timeStep); }#endif /* STEPDEBUG */ } } return(OK);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -