Skip to main content

Module grid3d

Module grid3d 

Source
Expand description

3D FDTD simulation grid for acoustic wave propagation.

Implements the 3D wave equation using finite differences: ∂²p/∂t² = c² (∂²p/∂x² + ∂²p/∂y² + ∂²p/∂z²) - γ·∂p/∂t

Uses a 7-point stencil (6 neighbors + center) for the Laplacian.

Structs§

GridParams
GPU-compatible data layout for 3D grid.
SimulationGrid3D
3D simulation grid using Structure of Arrays (SoA) layout.

Enums§

CellType
Cell type for boundary conditions.