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

Add option to kill rays as soon as they invert horizontal propagation direction. #16

Closed EyNuel closed 11 years ago

EyNuel commented 11 years ago

This is part of the work for a paper on backscattering issues. This option allows for comparing results with and without modeling backscattering.

Let's implement it as a command line switch: --killBackstatteredRays

EyNuel commented 11 years ago

This seems to result in invalid matlab files in some cases (causes problem when computing ctl, but not when running rco or ari). [reproducible with epe_ctl_rry_genResults.m] Seems to be related to the padding which is done between mxArrays in matOut.

See cTraceo.c: if (settings->options.killBackscatteredRays)

EyNuel commented 11 years ago

Fixed