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

📄 initial.h

📁 FDTD 模拟 天线 包含 近场-远场 外推程序(时谐场)
💻 H
字号:
/***************************************************************
*       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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -