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

📄 cplparam.c

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 C
字号:
/**********Copyright 1992 Regents of the University of California.  All rightsreserved.Author: 1992 Charles Hough**********/#include "ngspice.h"#include "const.h"#include "ifsim.h"#include "cpldefs.h"#include "sperror.h"#include "suffix.h"/* ARGSUSED */intCPLparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select){    CPLinstance *here = (CPLinstance *)inst;    switch(param) {        case CPL_POS_NODE:            here->in_node_names = value->v.vec.sVec;            break;        case CPL_NEG_NODE:            here->out_node_names = value->v.vec.sVec;            break;        case CPL_DIM:            here->dimension = value->iValue;            break;	case CPL_LENGTH:	    here->CPLlength = value->rValue;	    here->CPLlengthGiven = TRUE;	    break;        default:            return(E_BADPARM);    }    return(OK);}

⌨️ 快捷键说明

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