#include #define NRANSI #include "nrutil.h" #define TINY 1.0e-30 void cntab2(int **nn, int ni, int nj, float *h, float *hx,…
HY-TFT320 源代码
汇集 HY-TFT320 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
#include #define NRANSI #include "nrutil.h" #define TINY 1.0e-30 void cntab2(int **nn, int ni, int nj, float *h, float *hx,…
#include #include "nrutil.h" #define TINY 1.0e-30 void cntab2(nn,ni,nj,h,hx,hy,hygx,hxgy,uygx,uxgy,uxy) float *h,*hx,*hxgy,…
//=========================================================================== // // e_fmod.c // // Part of the standard …
/* 书中1.1中第三个问题程序*/ # include # include # include # define KE 200 /* KE is the number of cells to be used…
/* 书中1.1中第二个问题程序*/ # include # include # include # define KE 200 /* KE is the number of cells to be used…
// GPU Function For H Fields kernel void process_field_H(float Hx[][], float Chxh[][], float Chxe[][], float Hy[][], fl…
% update electric fields except the tangential components % on the boundaries current_time = current_time + dt/2; Ex(1:nx…
% 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) ... …