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 opening of output file to cTraceo.c #23

Closed EyNuel closed 11 years ago

EyNuel commented 11 years ago

currently there is a call of the type matfile = matOpen(settings->options.outputFileName, "u"); in every calculation function. This is redundant code and sometimes results in a file being opened and closed several times.

This will require adding outputFileName to the settings.options structure.

EyNuel commented 11 years ago

Solved.