Hi,
Thanks for sharing this amazing toolbox.
Recently I am writing my own 2D FDTD code. It's still in an early stage, so the code is very simple. I tested a simple case with my code and k-wave. I used the same initial pressure distribution for both codes. I controlled the simulation time so that the wave won't reach the boundary since my code doesn't support PML right now. The two results are very close but not exactly the same. The magnitude of the k-wave result tends to be larger and the whole result seems to be a little delayed comparing to my result. The grid and time spacing I chose should be fine for this simulation.
In my opinion, even my code is very simple, they should handle these simple cases. I guess I am wrong. So I want to ask where my problem might be.
Thanks
Zekui