mif.c

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

C
61
字号
/*============================================================================FILE    MIF.cMEMBER OF process XSPICECopyright 1991Georgia Tech Research CorporationAtlanta, Georgia 30332All Rights ReservedPROJECT A-8503AUTHORS    9/12/91  Bill KuhnMODIFICATIONS    <date> <person name> <nature of modifications>SUMMARY    This file allocates globals used by various packages, including MIF.INTERFACES    g_mif_infoREFERENCED FILES    None.NON-STANDARD FEATURES    None.============================================================================*/ #include "mif.h"int MIFiSize = sizeof(MIFinstance);  int MIFmSize = sizeof(MIFmodel); /* Allocate global used to pass info on analysis type, etc. from *//* SPICE to the MIF load routine                                 *//* This must be initialized so that EVTfindvec can check for *//* NULL pointer in g_mif_info.ckt */Mif_Info_t  g_mif_info = {  { MIF_FALSE, MIF_FALSE, MIF_DC, MIF_ANALOG, 0.0,},  NULL,  NULL,  NULL,  { 0.0, 0.0,},  { MIF_FALSE, MIF_FALSE,},};

⌨️ 快捷键说明

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