📄 defs.h
字号:
#ifndef DEFS_H
#define DEFS_H
#ifndef NULL
#define NULL 0
#endif
const double PI = 3.14159265359;
const int PQ = 0, PV = 2, SL = 3; // PV, PQ 和平衡节点。
const int LN = 0, TS = 1, TSP = 4, CAP = 5; // 线路, 变压器, 移相变压器。
const int MAXOUTLET = 12; // 母线最大出线数。
const int MAXIMUM = 1000000;
const double THRESHOLD = 1.0e-16;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -