EyNuel / cTraceo

An Underwater Acoustic Raytracing Model. Check our wiki for more information
http://eynuel.github.com/cTraceo/
Other
11 stars 7 forks source link

ray amplitude when computing arrivals by Regula False is NaN #29

Closed EyNuel closed 11 years ago

EyNuel commented 11 years ago

This is due to the fact that whn computing eigenrays by RF, the last ray coordinate is exactly on the rBox limit. Thus certain gradients which are computed from the current+next ray coordinates can not be computed at the last coordinate.

Thanks to Ronan for reporting this.

EyNuel commented 11 years ago

Found a workaround for this issue. Last value of ray amplitude will now be a finite complex value, as intended.