World Ocean Simulation System (WOSS) library
|
UnderwaterMPropagation class for channel calculations with WOSS. More...
#include <uw-woss-mpropagation.h>
Public Member Functions | |
virtual double | getGain (Packet *p) |
virtual int | command (int argc, const char *const *argv) |
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
|
private |
Provides attenuation calculation with WOSS framework
p | pointer to the current Packet being processed |
References woss::Pressure::abs(), hdr_woss::already_processed, hdr_woss::attenuation, woss::Pressure::checkAttenuation(), hdr_woss::frequency, woss::Pressure::getAttenuation(), woss::CoordZ::getCartDistance(), WossPosition::getLatitude(), WossPosition::getLongitude(), woss::Pressure::getTxLossDb(), and woss::WossManager::getWossPressure().
Referenced by getGain().
|
virtual |
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(), woss::CoordZ::getCartDistance(), WossPosition::getLatitude(), and WossPosition::getLongitude().