Module simulation

Module simulation 

Source
Expand description

Simulation core for 2D acoustic wave propagation.

Re-exports§

pub use educational::EducationalProcessor;
pub use educational::ProcessingState;
pub use educational::SimulationMode;
pub use educational::StepResult;
pub use educational::TileMessage;
pub use gpu_backend::Edge;
pub use gpu_backend::FdtdParams;
pub use gpu_backend::TileGpuBackend;
pub use gpu_backend::TileGpuBuffers;

Modules§

educational
Educational simulation modes demonstrating the evolution of parallel computing.
fdtd_dsl
FDTD kernel defined using the Rust DSL.
gpu_backend
Unified GPU backend trait for tile-based FDTD simulation.
kernels
CUDA kernel definitions using the Rust DSL.

Structs§

AcousticParams
Parameters for the acoustic wave simulation.
CellState
State for a single cell in the acoustic grid.
KernelGrid
A simulation grid backed by RingKernel actors.
SimulationGrid
The main simulation grid containing all cells.
TileActor
A single tile actor managing a region of the simulation grid.
TileKernelGrid
A simulation grid using tile actors with K2K messaging.

Enums§

CellType
Cell type for drawing mode.
Direction
Direction to a neighboring cell.
GpuPersistentBackend
Which GPU backend is active for persistent state.
HaloDirection
Direction for halo exchange.

Constants§

DEFAULT_TILE_SIZE
Default tile size (16x16 cells per tile).