Hacker News new | ask | show | jobs
by magicalhippo 636 days ago
The referenced paper "Simulating Ocean Water" talks about this in section 5. Indeed the FFT approach makes this difficult, where a different approach[1] for waves reflecting off obstacles.

That approach uses convolution, however you can perform convolution using FFTs[2], so perhaps there's some nice way to combine the two approaches.

edit: I just skimmed the papers, and it seems[1] does indeed mention combining the FFT approach with the convolution approach in the section on Ambient Waves.

[1]: https://people.computing.clemson.edu/~jtessen/reports/papers...

[2]: https://phys.uri.edu/nigh/NumRec/bookfpdf/f13-1.pdf