org-arl / UnderwaterAcoustics.jl

Julia toolbox for underwater acoustic modeling
MIT License
44 stars 13 forks source link

Adding an OASES model #38

Open pabloborys opened 3 years ago

pabloborys commented 3 years ago

Hi, I understand that adding models is one of the features of UnderwaterAcoustics.jl. I am wondering how hard it would be to add Oases to the available models. Thanks.

mchitre commented 3 years ago

I've personally not used OASES much, but shouldn't be that hard. Just need to define an Oases type and implement each of the interface functions for the model:

function check(::Type{Oases}, env)
function arrivals(model::Oases, tx, rx)
function transfercoef(model::Oases, tx, rx)
function eigenrays(model::Oases, tx, rx)
function rays(model::Oases, tx, θ, rmax)

by making equivalent calls in OASES.