Re: [Tutor] wave equation boundary conditions

2012-03-18 Thread Alan Gauld
On 18/03/12 15:05, David Craig wrote: Hi, I have written some code which solve's the 2d wave equation (code is below). It seems to work, however when the wave reaches the boundaries it reflects off them and I would like to remove this effect. Does anyone know of a method to do this? We have a f

[Tutor] wave equation boundary conditions

2012-03-18 Thread David Craig
Hi, I have written some code which solve's the 2d wave equation (code is below). It seems to work, however when the wave reaches the boundaries it reflects off them and I would like to remove this effect. Does anyone know of a method to do this? Also, I would like to run it over a large area, but w