initial.h
来自「FDTD 模拟 天线 包含 近场-远场 外推程序(时谐场)」· C头文件 代码 · 共 71 行
H
71 行
/***************************************************************
* This software is used to calculate the Multilayered *
* Microwave Structure *
* Antenna , Filter , Viahole , Scattering , EMC *
* *
* --Programmed by LiangJian,SKLMMW,SEU,March,1999 *
* @ FDTD *
***************************************************************/
# ifndef _STD_H_
# define _STD_H_
# include "stdio.h"
# include "stdlib.h"
# include "globalvar.h"
# define C_SIGMA 1000000.0
typedef struct Point{
double x,y;
} POINT;
typedef struct Polygon{
int nVertex;
POINT * pVertex;
} POLYGON;
typedef struct Excite_Plane{
int nLocation; /* Represent the Excitation Plane Location */
int nFw_start,nFl_start;
int nFw_end, nFl_end;
double per;
}EXCITE;
typedef struct Port{
int nLocation ;
int nFw_start,nFl_start;
int nFw_end,nFl_end;
} PORT;
typedef struct Layer{
int z_start,z_end;
int nCondPolyNum;
POLYGON *pCondPoly;
} LAYER;
typedef struct Module{
int nLayerNum;
int nSurf[6]; /* Surf[0] -- Up Surf[1] -- Down
Surf[2] -- Left Surf[3] -- Right
Surf[4] -- Front Surf[5] -- Back */
/* the following Values denote :
0 -- electric Wall 1 -- magnetic Wall
2 -- ABC 3 -- Port */
double *pPermit; /* --- the permittvity array of each layer -- */
PORT pPort;
LAYER *pLayer;
EXCITE Excite;
}MODULE;
void Initial(MODULE *);
void InputData(void);
void Pre_Process(MODULE *);
double Min_Array(int , double *);
void ClearInputMemory(MODULE *);
# endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?