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

📄 cktnum2nod.c

📁 支持数字元件仿真的SPICE插件
💻 C
字号:
/* * Copyright (c) 1985 Thomas L. Quarles */    /* CKTnum2nod     *  find the given node given its name and return the node pointer     */#include "prefix.h"#include <stdio.h>#include "IFsim.h"#include "SPerror.h"#include "CKTdefs.h"#include "suffix.h"RCSID("CKTnum2nod.c $Revision: 1.1 $ on $Date: 91/04/02 12:08:01 $")/* ARGSUSED */CKTnode *CKTnum2nod(ckt,node)    CKTcircuit *ckt;    int node;{    register CKTnode *here;    for (here = ((CKTcircuit *)ckt)->CKTnodes; here; here = here->next)  {        if(here->number == node) {            return(here);        }    }    return((CKTnode *)NULL);}

⌨️ 快捷键说明

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