Skip to main content

Module fdtd

Module fdtd 

Source
Expand description

Maxwell’s equations FDTD (Finite-Difference Time-Domain) solver.

Implements the Yee cell algorithm with leapfrog time-stepping for both 2D TM mode and full 3D electromagnetic field simulation.

Structs§

FdtdGrid
Full 3D FDTD grid using the Yee staggered-grid scheme.
FdtdGrid2D
2D FDTD grid for TM (Transverse Magnetic) mode: Ez, Hx, Hy.
FdtdRenderer
Renders FDTD field data as colored glyphs. Blue = negative, Red = positive, brightness = magnitude.
MaterialGrid
Heterogeneous material specification for FDTD grids.

Enums§

FieldComponent

Functions§

gaussian_pulse
Gaussian pulse source waveform.
sinusoidal_source
Sinusoidal source waveform.