📄 cluster.h
字号:
#ifndef _CLUSTER_H_#define _CLUSTER_H_#include <cktdefs.h>/* Cluster definitions */#define PORT 1234#define TIME_PORT 1235#define DOMAIN_NAME "cluster.multigig"#define CLUSTER_WIDTH 4#define TIME_HOST "time.cluster.multigig"/* does all the setups */extern int CLUsetup(CKTcircuit *ckt);/* reads input pipes and sets voltages*//* call each time the present time is changed, ie just before NIinter*/extern int CLUinput(CKTcircuit *ckt);/* call after each accepted timestep, ie CKTdump */extern int CLUoutput(CKTcircuit *ckt);/* the time step control */extern int CLUsync(double time,double *delta, int error);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -