www.gusucode.com > FDTD计算二维光子带隙的程序 > FDTD计算二维光子带隙的程序/247787/Constants.m
function Constants %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Electromagnetic Finite-Difference Time-Domain % % Version 1.20, Release 1 % % % % (C) Copyright 2005 % % Sharif University of Technology % % School of Electrical Engineering % % All Rights Reserved % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% global TE TM Air Silicon GaAs MaxSpeed global False True False=0; True=1; TE=0; % H-polarization TM=1; % E-polarization MaxSpeed=1; % Numerical speed of light in vacuum %%%% Permittivities of some materials Air=1; GaAs=10.6; Silicon=11.9;