1 #ifndef __JACOUSTICS__JABSTRACTSOUNDVELOCITY__
2 #define __JACOUSTICS__JABSTRACTSOUNDVELOCITY__
10 namespace JACOUSTICS {}
11 namespace JPP {
using namespace JACOUSTICS; }
13 namespace JACOUSTICS {
58 const double z2)
const = 0;
69 virtual double getTime(
const double D_m,
71 const double z2)
const = 0;
84 const double z2)
const = 0;
virtual double operator()() const =0
Get velocity of sound.
virtual double getInverseVelocity(const double D_m, const double z1, const double z2) const =0
Get inverse velocity of sound.
virtual double operator()(const double z) const
Get velocity of sound at given depth relative to seabed.
virtual ~JAbstractSoundVelocity()
Virtual destructor.
virtual double getTime(const double D_m, const double z1, const double z2) const =0
Get propagation time of sound.
Interface for depth dependend velocity of sound.
virtual double getDistance(const double t_s, const double z1, const double z2) const =0
Get distance travelled by sound.