A-New-BellHope / bellhopcuda

CUDA and C++ port of BELLHOP / BELLHOP3D underwater acoustics simulator
GNU General Public License v3.0
64 stars 8 forks source link

library examples #30

Open oldstylejoe opened 8 months ago

oldstylejoe commented 8 months ago

A user requested full examples of using bhc from a library to call externally. This would likely be to expand the current short example in default.cpp to demonstrate all the features available in the library.

Vytek commented 1 month ago

Hi, I would really like to create a Golang wrapper for the library in CUDA and CXX, however it is not very clear how to use the library even starting from the few examples provided. It would be very useful to have a complete example that illustrates step by step how to create the environment, bathymetry, SSP etc and then numerically calculate all the different results returned by the library in real time. Consider that in addition to scientific activities, many developers would like to use this library as a reflection calculation system for serious simulation games and military modeling, especially in the field of submarine simulation. Please let me/us know. Thank you very much!

oldstylejoe commented 1 month ago

@Vytek Thanks for reaching out and your interest in BHC. Examples have been requested by a few people at this point, and we'll try to get something more comprehensive together, but it's been on the backburner for a while now. The best I can say for now is that examples/defaults.cpp and examples/background.cpp both construct test cases, and the main header has pretty detailed comments. I might also mention we're working on an Unreal integration that we hope to make public in the next month or so. A Go wrapper would be great, so would serious games involving subs. If there's anything specific I can help with, please let me know.