ringkernel_wavesim/lib.rs
1// Enable portable_simd feature for SIMD optimizations
2#![cfg_attr(feature = "simd", feature(portable_simd))]
3
4//! # RingKernel WaveSim
5//!
6//! Interactive 2D acoustic wave propagation showcase demonstrating RingKernel's
7//! GPU-native actor model.
8//!
9//! Each cell in a 2D grid is a persistent kernel actor that communicates with
10//! neighbors via K2K messaging to propagate pressure waves using the FDTD
11//! (Finite-Difference Time-Domain) method.
12//!
13//! ## Features
14//!
15//! - Real-time acoustic wave simulation
16//! - Click-to-inject impulse interaction
17//! - Adjustable speed of sound
18//! - Configurable grid size
19//! - CPU/GPU backend toggle
20//! - Boundary reflection and absorption
21//!
22//! ## Run
23//!
24//! ```bash
25//! cargo run -p ringkernel-wavesim --bin wavesim
26//! ```
27
28pub mod gui;
29pub mod simulation;
30
31pub use gui::WaveSimApp;
32pub use simulation::{AcousticParams, CellState, Direction, SimulationGrid};