Interface for depth dependend velocity of sound.
More...
#include <JAbstractSoundVelocity.hh>
|
virtual | ~JAbstractSoundVelocity () |
| Virtual destructor. More...
|
|
virtual double | operator() () const =0 |
| Get velocity of sound. More...
|
|
virtual double | operator() (const double z) const |
| Get velocity of sound at given depth relative to seabed. More...
|
|
virtual double | getDistance (const double t_s, const double z1, const double z2) const =0 |
| Get distance travelled by sound. More...
|
|
virtual double | getTime (const double D_m, const double z1, const double z2) const =0 |
| Get propagation time of sound. More...
|
|
virtual double | getInverseVelocity (const double D_m, const double z1, const double z2) const =0 |
| Get inverse velocity of sound. More...
|
|
Interface for depth dependend velocity of sound.
Note that the z-axis is pointing upwards.
Definition at line 20 of file JAbstractSoundVelocity.hh.
◆ ~JAbstractSoundVelocity()
virtual JACOUSTICS::JAbstractSoundVelocity::~JAbstractSoundVelocity |
( |
| ) |
|
|
inlinevirtual |
◆ operator()() [1/2]
virtual double JACOUSTICS::JAbstractSoundVelocity::operator() |
( |
| ) |
const |
|
pure virtual |
◆ operator()() [2/2]
virtual double JACOUSTICS::JAbstractSoundVelocity::operator() |
( |
const double |
z | ) |
const |
|
inlinevirtual |
◆ getDistance()
virtual double JACOUSTICS::JAbstractSoundVelocity::getDistance |
( |
const double |
t_s, |
|
|
const double |
z1, |
|
|
const double |
z2 |
|
) |
| const |
|
pure virtual |
Get distance travelled by sound.
- Parameters
-
t_s | time [s] |
z1 | depth [m] |
z2 | depth [m] |
- Returns
- distance [m]
Implemented in JACOUSTICS::JSoundVelocity.
◆ getTime()
virtual double JACOUSTICS::JAbstractSoundVelocity::getTime |
( |
const double |
D_m, |
|
|
const double |
z1, |
|
|
const double |
z2 |
|
) |
| const |
|
pure virtual |
Get propagation time of sound.
- Parameters
-
D_m | distance [m] |
z1 | depth [m] |
z2 | depth [m] |
- Returns
- time [s]
Implemented in JACOUSTICS::JSoundVelocity.
◆ getInverseVelocity()
virtual double JACOUSTICS::JAbstractSoundVelocity::getInverseVelocity |
( |
const double |
D_m, |
|
|
const double |
z1, |
|
|
const double |
z2 |
|
) |
| const |
|
pure virtual |
Get inverse velocity of sound.
- Parameters
-
D_m | distance [m] |
z1 | depth [m] |
z2 | depth [m] |
- Returns
- inverse velocity [s/m]
Implemented in JACOUSTICS::JSoundVelocity.
The documentation for this struct was generated from the following file: