L
lqkhai
Guest
Caro,
Ho incontrato alcuni problemi con i codici FDTD 3D.
Questo è il mio codici.
Codice:/ * File: FD3D.h * /# include "iostream.h"
# include "fstream.h"
# include "math.h"
# include "stdlib.h"
# include "malloc.h"# define IE 40
# define JE 40
# define KE 40
# define N 40classe ThreeDFDTD
(
pubblico:
/ * GAX float [IE] [JE] [KE ],***[ IE] [JE] [] KE, Gaz [IE] [JE] [KE];
dx float [IE] [JE] [KE], dy [IE] [JE] [KE], [dz IE] [JE] [KE];
float ex [IE] [JE] [KE], ey [IE] [JE] [KE], [EZ IE] [JE] [KE];
hx float [IE] [JE] [KE], hy [IE] [JE] [KE], Hz [IE] [JE] [KE]; * /
*** float GAX ,******,*** gaz;
*** float dx, dy ***, *** dz;
ex ***, *** ey float, *** ez;
*** hx, hy float ***, *** Hz;
float DDX, DT, T, epsz, epsilon, sigma, EAF;
float xn, XXII, xnum, xD, curl_e;
float t0, la diffusione, il polso, NSTEPs;
int ic, JC, KC;
createMang void (float *** & Mang);
freeMang void (float *** & Mang);
void initialize (void);
void FDTD (void);
);
Ho incontrato alcuni problemi con i codici FDTD 3D.
Questo è il mio codici.
Codice:/ * File: FD3D.h * /# include "iostream.h"
# include "fstream.h"
# include "math.h"
# include "stdlib.h"
# include "malloc.h"# define IE 40
# define JE 40
# define KE 40
# define N 40classe ThreeDFDTD
(
pubblico:
/ * GAX float [IE] [JE] [KE ],***[ IE] [JE] [] KE, Gaz [IE] [JE] [KE];
dx float [IE] [JE] [KE], dy [IE] [JE] [KE], [dz IE] [JE] [KE];
float ex [IE] [JE] [KE], ey [IE] [JE] [KE], [EZ IE] [JE] [KE];
hx float [IE] [JE] [KE], hy [IE] [JE] [KE], Hz [IE] [JE] [KE]; * /
*** float GAX ,******,*** gaz;
*** float dx, dy ***, *** dz;
ex ***, *** ey float, *** ez;
*** hx, hy float ***, *** Hz;
float DDX, DT, T, epsz, epsilon, sigma, EAF;
float xn, XXII, xnum, xD, curl_e;
float t0, la diffusione, il polso, NSTEPs;
int ic, JC, KC;
createMang void (float *** & Mang);
freeMang void (float *** & Mang);
void initialize (void);
void FDTD (void);
);