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

📄 evtcall_hybrids.c

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 C
字号:
/*============================================================================FILE    EVTcall_hybrids.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 contains function EVTcall_hybrids which calls all models    which have both analog and event-driven ports.  It is called following    successful evaluation of an analog iteration attempt to allow    events to be scheduled by the hybrid models.  The 'CALL_TYPE' is set    to 'EVENT_DRIVEN' when the model is called from this function.INTERFACES    void EVTcall_hybrids(CKTcircuit *ckt)REFERENCED FILES    None.NON-STANDARD FEATURES    None.============================================================================*/#include "ngspice.h"#include "cktdefs.h"#include "evt.h"#include "evtproto.h"/*EVTcall_hybridsThis function calls all the hybrid instances.  It is called followingthe successful evaluation of an analog iteration.*/void EVTcall_hybrids(    CKTcircuit  *ckt)    /* the main circuit structure */{    int     i;    int     num_hybrids;    int     *hybrid_index;    /* Get needed data for fast access */    num_hybrids = ckt->evt->counts.num_hybrids;    hybrid_index = ckt->evt->info.hybrid_index;    /* Call EVTload for all hybrids */    for(i = 0; i < num_hybrids; i++)        EVTload(ckt, hybrid_index[i]);}

⌨️ 快捷键说明

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