mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-07-31 03:00:07 +02:00
Add LOS computation for ISL links
This commit is contained in:
parent
f6786c3a66
commit
c1496e29f9
4 changed files with 132 additions and 7 deletions
|
@ -33,9 +33,22 @@ namespace ns3 {
|
|||
class IslPropagationLossModel : public PropagationLossModel
|
||||
{
|
||||
public:
|
||||
static const double EARTH_RAD;
|
||||
|
||||
static TypeId GetTypeId (void);
|
||||
IslPropagationLossModel ();
|
||||
virtual ~IslPropagationLossModel ();
|
||||
|
||||
/**
|
||||
* true if there is at least one intersection of ISL line-of-sight with earth
|
||||
* (LOS is blocked by earth)
|
||||
*
|
||||
* Assumes earth is sperical.
|
||||
*
|
||||
* \param a first node
|
||||
* \param b second node
|
||||
*/
|
||||
static bool GetLos (Ptr<MobilityModel> a, Ptr<MobilityModel> b);
|
||||
private:
|
||||
/**
|
||||
* Returns the Rx Power taking into account only the particular
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue