equal
deleted
inserted
replaced
101 NetDeviceContainer |
101 NetDeviceContainer |
102 LteHexGridEnbTopologyHelper::SetPositionAndInstallEnbDevice (NodeContainer c) |
102 LteHexGridEnbTopologyHelper::SetPositionAndInstallEnbDevice (NodeContainer c) |
103 { |
103 { |
104 NS_LOG_FUNCTION (this); |
104 NS_LOG_FUNCTION (this); |
105 NetDeviceContainer enbDevs; |
105 NetDeviceContainer enbDevs; |
106 const double xydfactor = sqrt (0.75); |
106 const double xydfactor = std::sqrt (0.75); |
107 double yd = xydfactor*m_d; |
107 double yd = xydfactor*m_d; |
108 for (uint32_t n = 0; n < c.GetN (); ++n) |
108 for (uint32_t n = 0; n < c.GetN (); ++n) |
109 { |
109 { |
110 uint32_t currentSite = n / 3; |
110 uint32_t currentSite = n / 3; |
111 uint32_t biRowIndex = (currentSite / (m_gridWidth + m_gridWidth + 1)); |
111 uint32_t biRowIndex = (currentSite / (m_gridWidth + m_gridWidth + 1)); |