Fix new building api
authorManuel Requena <manuel.requena@cttc.es>
Wed, 21 Nov 2012 13:20:53 +0100
changeset 9385 4cbe7abd0a7e
parent 9384 7ebae47447b1
child 9391 322e3bcd10d6
Fix new building api
src/lte/examples/lena-profiling.cc
src/lte/test/examples-to-run.py
--- a/src/lte/examples/lena-profiling.cc	Thu Nov 15 16:55:57 2012 +0100
+++ b/src/lte/examples/lena-profiling.cc	Wed Nov 21 13:20:53 2012 +0100
@@ -134,9 +134,10 @@
     }
   else
     {
-      building = CreateObject<Building> (0.0, nRooms * roomLength,
-                                         0.0, nRooms * roomLength,
-                                         0.0, nFloors* roomHeight);
+      building = CreateObject<Building> ();
+      building->SetBoundaries (Box (0.0, nRooms * roomLength,
+                                    0.0, nRooms * roomLength,
+                                    0.0, nFloors* roomHeight));
       building->SetBuildingType (Building::Residential);
       building->SetExtWallsType (Building::ConcreteWithWindows);
       building->SetNFloors (nFloors);
@@ -170,13 +171,9 @@
                 }
             }
         }
-
-
     }
 
 
-
-
   // Create Devices and install them in the Nodes (eNB and UE)
   NetDeviceContainer enbDevs;
   std::vector<NetDeviceContainer> ueDevs;
--- a/src/lte/test/examples-to-run.py	Thu Nov 15 16:55:57 2012 +0100
+++ b/src/lte/test/examples-to-run.py	Wed Nov 21 13:20:53 2012 +0100
@@ -24,6 +24,8 @@
     ("lena-intercell-interference", "True", "True"),
     ("lena-pathloss-traces", "True", "True"),
     ("lena-profiling", "True", "True"),
+    ("lena-profiling --simTime=1.0 --nUe=2 --nEnb=5 --nFloors=0", "True", "True"),
+    ("lena-profiling --simTime=1.0 --nUe=3 --nEnb=6 --nFloors=1", "True", "True"),
     ("lena-rlc-traces", "True", "True"),
     ("lena-rem", "True", "True"),
     ("lena-rem-sector-antenna", "True", "True"),