From d184bcdff5f485ca04d65eba24ebed750b71853d Mon Sep 17 00:00:00 2001 From: Mohcine Chraibi Date: Sun, 2 Jun 2019 14:29:13 +0200 Subject: [PATCH] timestamp vtk-files --- IO/GeoFileParser.cpp | 2 +- routing/ff_router/UnivFFviaFM.cpp | 2 +- routing/ff_router/ffRouter.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/IO/GeoFileParser.cpp b/IO/GeoFileParser.cpp index b1e8f05b..0b7f519c 100644 --- a/IO/GeoFileParser.cpp +++ b/IO/GeoFileParser.cpp @@ -333,7 +333,7 @@ bool GeoFileParser::LoadGeometry(Building* building) } } else{ - Log->Write("INFO:\tNot parsing transition from file %s"); + Log->Write("INFO:\tNot parsing transition from file"); } Log->Write("INFO:\tGot %d transitions", building-> GetAllTransitions().size()); diff --git a/routing/ff_router/UnivFFviaFM.cpp b/routing/ff_router/UnivFFviaFM.cpp index be5e5d04..4f257867 100644 --- a/routing/ff_router/UnivFFviaFM.cpp +++ b/routing/ff_router/UnivFFviaFM.cpp @@ -1651,7 +1651,7 @@ double UnivFFviaFM::getCostToDestination(const int destID, const Point& position } else if ((key < _grid->GetnPoints()-_grid->GetiMax()) && (_gridCode[key+_grid->GetiMax()] != OUTSIDE) && (_gridCode[key+_grid->GetiMax()] != WALL)) { key = key + _grid->GetiMax(); } else { - Log->Write("ERROR:\t In getCostToDestination(3 args)"); + // Log->Write("ERROR:\t In getCostToDestination(3 args)"); } } if (_costFieldWithKey.count(destID)==1 && _costFieldWithKey[destID]) { diff --git a/routing/ff_router/ffRouter.cpp b/routing/ff_router/ffRouter.cpp index 9a533d87..3348c7e5 100644 --- a/routing/ff_router/ffRouter.cpp +++ b/routing/ff_router/ffRouter.cpp @@ -299,7 +299,7 @@ bool FFRouter::Init(Building* building) auto iter = _locffviafm.begin(); std::advance(iter, i); int roomNr = iter->first; - iter->second->writeFF("ffrouterOfRoom" + std::to_string(roomNr) + ".vtk", _allDoorUIDs); + iter->second->writeFF("ffrouterRoom_" + std::to_string(roomNr) + "_t_"+ std::to_string(Pedestrian::GetGlobalTime()) + ".vtk", _allDoorUIDs); } } -- GitLab