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

Move ray memory allocation to cTraceo.c #8

Open EyNuel opened 12 years ago

EyNuel commented 12 years ago

Currently cTraceo.c calls the function corresponding to the selected output option [(calcRayCoords(), calsAllRayInfo(), etc ] which in turn does the memory allocation. In the OpenCL version this allocation has been moved up a level (ie. into cTraceo.c) to remove code redundancy.