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

📄 define_geometry.m

📁 The Finite Difference Time Domain Method for Electromagnetics With MATLAB Simulations Atef Elshe
💻 M
字号:
disp('defining the problem geometry');

bricks  = [];
spheres = [];
thin_wires = [];

% define a thin wire
thin_wires(1).min_x = 0;
thin_wires(1).min_y = 0;
thin_wires(1).min_z = 0.25e-3;
thin_wires(1).max_x = 0;
thin_wires(1).max_y = 0;
thin_wires(1).max_z = 10e-3;
thin_wires(1).radius = 0.05e-3; 
thin_wires(1).direction = 'z'; 

% define a thin wire
thin_wires(2).min_x = 0;
thin_wires(2).min_y = 0;
thin_wires(2).min_z = -10e-3;
thin_wires(2).max_x = 0;
thin_wires(2).max_y = 0;
thin_wires(2).max_z = -0.25e-3;
thin_wires(2).radius = 0.05e-3; 
thin_wires(2).direction = 'z'; 

⌨️ 快捷键说明

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