ITS.Propagation.LFMF 1.1
Part of the NTIA/ITS Propagation Library
Loading...
Searching...
No Matches
LFMF.cpp File Reference

Implements the model from ITS.Propagation.LFMF. More...

Functions

ReturnCode ITS::Propagation::LFMF::LFMF (const double h_tx__meter, const double h_rx__meter, const double f__mhz, const double P_tx__watt, const double N_s, const double d__km, const double epsilon, const double sigma, const int pol, Result &result)
 Compute the LFMF propagation prediction.
 
ReturnCode ITS::Propagation::LFMF::LFMF_CPP (const double h_tx__meter, const double h_rx__meter, const double f__mhz, const double P_tx__watt, const double N_s, const double d__km, const double epsilon, const double sigma, const Polarization pol, Result &result)
 Compute the LFMF propagation prediction.
 
bool ITS::Propagation::LFMF::AlmostEqualRelative (const double A, const double B, const double maxRelDiff)
 Relative epsilon comparisons method.
 

Detailed Description

Implements the model from ITS.Propagation.LFMF.

Function Documentation

◆ AlmostEqualRelative()

bool ITS::Propagation::LFMF::AlmostEqualRelative ( const double A,
const double B,
const double maxRelDiff )

Relative epsilon comparisons method.

Parameters
[in]AFirst double to compare
[in]BSecond double to compare
[in]maxRelDiffMaximum relative difference, defaults to DBL_EPSILON
Returns
If it is equal of the two doubles

◆ LFMF()

DLLEXPORT ReturnCode ITS::Propagation::LFMF::LFMF ( const double h_tx__meter,
const double h_rx__meter,
const double f__mhz,
const double P_tx__watt,
const double N_s,
const double d__km,
const double epsilon,
const double sigma,
const int pol,
Result & result )

Compute the LFMF propagation prediction.

Parameters
[in]h_tx__meterHeight of the transmitter, in meter
[in]h_rx__meterHeight of the receiver, in meter
[in]f__mhzFrequency, in MHz
[in]P_tx__wattTransmitter power, in watts
[in]N_sSurface refractivity, in N-Units
[in]d__kmPath distance, in km
[in]epsilonRelative permittivity
[in]sigmaConductivity
[in]polPolarization: 0 = Horizontal, 1 = Vertical
[out]resultResult structure
Returns
Return code
See also
ITS::Propagation::LFMF::Result
ITS::Propagation::LFMF::ReturnCode

◆ LFMF_CPP()

ReturnCode ITS::Propagation::LFMF::LFMF_CPP ( const double h_tx__meter,
const double h_rx__meter,
const double f__mhz,
const double P_tx__watt,
const double N_s,
const double d__km,
const double epsilon,
const double sigma,
const Polarization pol,
Result & result )

Compute the LFMF propagation prediction.

Parameters
[in]h_tx__meterHeight of the transmitter, in meter
[in]h_rx__meterHeight of the receiver, in meter
[in]f__mhzFrequency, in MHz
[in]P_tx__wattTransmitter power, in watts
[in]N_sSurface refractivity, in N-Units
[in]d__kmPath distance, in km
[in]epsilonRelative permittivity
[in]sigmaConductivity
[in]polPolarization: 0 = Horizontal, 1 = Vertical
[out]resultResult structure
Returns
Return code
See also
ITS::Propagation::LFMF::Polarization
ITS::Propagation::LFMF::Result
ITS::Propagation::LFMF::ReturnCode
Privacy Policy FOIA Accessibility Information Quality