📄 txlmpar.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 "txldefs.h"#include "sperror.h"#include "suffix.h"intTXLmParam(int param, IFvalue *value, GENmodel *inModel){ register TXLmodel *model = (TXLmodel *)inModel; switch(param) { case TXL_R: model->R = value->rValue; model->Rgiven = TRUE; break; case TXL_L: model->L = value->rValue; model->Lgiven = TRUE; break; case TXL_G: model->G = value->rValue; model->Ggiven = TRUE; break; case TXL_C: model->C = value->rValue; model->Cgiven = TRUE; break; case TXL_length: model->length = value->rValue; model->lengthgiven = TRUE; break; case TXL_MOD_R: break; default: return(E_BADPARM); } return(OK);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -