|
World Ocean Simulation System (WOSS) library
|
UnderwaterMPropagation class for channel calculations with WOSS. More...
#include <uw-woss-mpropagation.h>


Public Member Functions | |
| WossMPropagation () | |
| virtual | ~WossMPropagation () override=default |
| virtual double | getGain (Packet *p) override |
| virtual int | command (int argc, const char *const *argv) override |
Private Member Functions | |
| void | insertStdGainMatrix (Position *sp, Position *rp, double gain) |
| double | computeGain (Packet *p) |
| void | writeStdGainMatrix () |
Private Attributes | |
| woss::WossManager * | woss_manager |
| GainMatrix | std_gain_map |
| bool | write_gain_matrix |
| fstream | std_gain_out |
| string | std_gain_matrix_name |
UnderwaterMPropagation class for channel calculations with WOSS.
WossMPropagation extends UnderwaterMPropagation for channel calculations with WOSS
| WossMPropagation::WossMPropagation | ( | ) |
|
overridevirtualdefault |
|
overridevirtual |
References command(), std_gain_matrix_name, woss_manager, write_gain_matrix, and writeStdGainMatrix().
Referenced by command().

|
private |
Provides attenuation calculation with WOSS framework
| p | pointer to the current Packet being processed |
References hdr_woss::already_processed, hdr_woss::attenuation, hdr_woss::frequency, WossPosition::getAltitude(), woss::CoordZ::getCartDistance(), WossPosition::getLatitude(), WossPosition::getLongitude(), woss::Pressure::getTxLossDb(), woss::WossManager::getWossPressure(), insertStdGainMatrix(), woss_manager, and write_gain_matrix.
Referenced by getGain().

|
overridevirtual |
Checks if a WossChannelModule has already processed current Packet; if not, it provides calculations
| p | pointer to the current Packet being processed |
References hdr_woss::already_processed, hdr_woss::attenuation, computeGain(), WossPosition::getAltitude(), woss::CoordZ::getCartDistance(), WossPosition::getLatitude(), WossPosition::getLongitude(), insertStdGainMatrix(), and write_gain_matrix.

|
inlineprivate |
References std_gain_map.
Referenced by computeGain(), and getGain().
|
private |
References std_gain_map, std_gain_matrix_name, and std_gain_out.
Referenced by command().
|
private |
Referenced by insertStdGainMatrix(), and writeStdGainMatrix().
|
private |
Referenced by command(), and writeStdGainMatrix().
|
private |
Referenced by writeStdGainMatrix().
|
private |
Referenced by command(), and computeGain().
|
private |
Referenced by command(), computeGain(), and getGain().