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

📄 initializesource.m

📁 外国人开发的电磁时域有限差分方法工具包 Electromagnetic Finite-Difference Time-Domain (EmFDTD) is a basic two-dimensio
💻 M
字号:
function InitializeSource

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 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 NormalizedFrequency Profile
global SourceDuration TimeSteps Source
global xSource ySource
global Air Silicon nEff BoundaryType
global ModeNumber WaveguideWidth
global eC mC eF mF SourceWidth

if BoundaryType~=0 & BoundaryType~=6
    SourceDuration=0;
    return
end

if Source==2
    nEff=EffectiveIndex(WaveguideWidth,ModeNumber);
    Profile(1:Y)=MakeProfile(WaveguideWidth,ModeNumber,nEff);
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -