Skip to main content

wave_eval

Function wave_eval 

Source
pub fn wave_eval(c: &WaveCoord) -> f64
Expand description

Evaluate the wave field Ψ at a coordinate: amplitude a oscillating at frequency f with phase φ at time t, attenuated by an inverse-square spatial envelope 1/(1+r²). Deterministic CPU reference.