1
0
Fork 0
mirror of https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git synced 2025-09-18 18:36:41 +02:00

Fix position allocator

This commit is contained in:
Tim Schubert 2020-08-19 00:55:18 +02:00
parent 166a920fca
commit 95bc153b1b
5 changed files with 66 additions and 16 deletions

View file

@ -46,7 +46,7 @@ LeoCircularOrbitAllocator::AssignStreams (int64_t stream)
Vector
LeoCircularOrbitAllocator::GetNext () const
{
Vector next = Vector (M_PI * (m_lastOrbit / (double) m_numOrbits),
Vector next = Vector (2 * M_PI * (m_lastOrbit / (double) m_numOrbits),
2 * M_PI * (m_lastSatellite / (double) m_numSatellites),
0);