cpl.c

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

C
39 行
字号
/**********Copyright 1992 Regents of the University of California.  All rightsreserved.Author: 1992 Charles Hough**********/#include "ngspice.h"#include "cpldefs.h"#include "devdefs.h"#include "ifsim.h"#include "suffix.h"IFparm CPLpTable[] = { 	IOPU("pos_nodes", CPL_POS_NODE, IF_VECTOR|IF_STRING, "in nodes"),	IOPU("neg_nodes", CPL_NEG_NODE, IF_VECTOR|IF_STRING, "out nodes"),	IOP("dimension", CPL_DIM, IF_INTEGER,               "number of coupled lines"),	IOP("length",    CPL_LENGTH, IF_REAL,               "length of lines"),};IFparm CPLmPTable[] = { /* model parameters */ IOP( "r",    CPL_R, IF_REALVEC,"resistance per length"), IOP( "l",    CPL_L, IF_REALVEC,"inductance per length"), IOP( "c",    CPL_C, IF_REALVEC,"capacitance per length"), IOP( "g",    CPL_G, IF_REALVEC,"conductance per length"), IOP( "length",    CPL_length, IF_REAL,"length"), IP( "cpl",  CPL_MOD_R,   IF_FLAG,"Device is a cpl model"),};char *CPLnames[] = {	"P+",	"P-"};int CPLnSize = NUMELEMS(CPLnames);int CPLiSize = sizeof(CPLinstance);int CPLmSize = sizeof(CPLmodel);int CPLmPTSize = NUMELEMS(CPLmPTable);int CPLpTSize = NUMELEMS(CPLpTable);

⌨️ 快捷键说明

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