% update magnetic fields at the PML regions % TMz if is_pml_xn Hy(1:pis-1,2:ny) = Chyh_xn .* Hy(1:pis-1,2:ny) ... …
HY-TFT320 源代码
汇集 HY-TFT320 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
% update magnetic fields at the PML regions % TMz if is_pml_xn Hy(1:pis-1,2:ny) = Chyh_xn .* Hy(1:pis-1,2:ny) ... …
% update magnetic fields at the PML regions % TMz if is_pml_xn Hy(1:pis-1,2:ny) = Chyh_xn .* Hy(1:pis-1,2:ny) ... …
% update electric fields except the tangential components % on the boundaries current_time = current_time + dt/2; Ex(1:nx…
load "Element_P3" macro DD(f,hx,hy) ( (f(x1+hx,y1+hy)-f(x1-hx,y1-hy))/(2*(hx+hy))) // macro DD2(f,hx,hy) ( (-2*f(x1,y1)+f(x1+hx,y1…
load "Element_P3dc" macro DD(f,hx,hy) ( (f(x1+hx,y1+hy)-f(x1-hx,y1-hy))/(2*(hx+hy))) // macro DD2(f,hx,hy) ( (-2*f(x1,y1)+f(x1+hx,…
function D = cur(q, hx, hy); u=q; eps=1e-8; %eps=1; q = addsam(q); qx = (q(2:end,:) - q(1:end-1,:))/hx; qy = (q…
%******************************************************************************** % Maillage2D.m % %Creation des noeuds pour un…
function [preHys1,preHys2,preHye1,preHye2]=PreviousHy(Hx,Hy,Hz,Nx,Ny,Nz) preHys1=Hy(:,1,:); preHys2=Hy(:,2,:);preHye1=Hy(:,Ny,:);…
function [preHxs1,preHxs2,preHxe1,preHxe2]=PreviousHx(Hx,Hy,Hz,Nx,Ny,Nz) preHxs1=Hx(1,:,:); preHxs2=Hx(2,:,:);preHxe1=Hx(Nx,:,:);…