📄 txlfbr.c
字号:
/**********Copyright 1992 Regents of the University of California. All rightsreserved.Author: 1992 Charles Hough**********/#include "ngspice.h"#include "cktdefs.h"#include "txldefs.h"#include "sperror.h"#include "suffix.h"intTXLfindBr(CKTcircuit *ckt, GENmodel *inModel, IFuid name){ TXLmodel *model = (TXLmodel *)inModel; TXLinstance *here; int error; CKTnode *tmp; for( ; model != NULL; model = model->TXLnextModel) { for (here = model->TXLinstances; here != NULL; here = here->TXLnextInstance) { if(here->TXLname == name) { if(here->TXLbranch == 0) { error = CKTmkCur(ckt,&tmp,here->TXLname,"branch"); if(error) return(error); here->TXLbranch = tmp->number; } return(here->TXLbranch); } } } return(0);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -