timestamp vtk-files

parent cbc2ee1d
...@@ -333,7 +333,7 @@ bool GeoFileParser::LoadGeometry(Building* building) ...@@ -333,7 +333,7 @@ bool GeoFileParser::LoadGeometry(Building* building)
} }
} }
else{ 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()); Log->Write("INFO:\tGot %d transitions", building-> GetAllTransitions().size());
......
...@@ -1651,7 +1651,7 @@ double UnivFFviaFM::getCostToDestination(const int destID, const Point& position ...@@ -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)) { } else if ((key < _grid->GetnPoints()-_grid->GetiMax()) && (_gridCode[key+_grid->GetiMax()] != OUTSIDE) && (_gridCode[key+_grid->GetiMax()] != WALL)) {
key = key + _grid->GetiMax(); key = key + _grid->GetiMax();
} else { } else {
Log->Write("ERROR:\t In getCostToDestination(3 args)"); // Log->Write("ERROR:\t In getCostToDestination(3 args)");
} }
} }
if (_costFieldWithKey.count(destID)==1 && _costFieldWithKey[destID]) { if (_costFieldWithKey.count(destID)==1 && _costFieldWithKey[destID]) {
......
...@@ -299,7 +299,7 @@ bool FFRouter::Init(Building* building) ...@@ -299,7 +299,7 @@ bool FFRouter::Init(Building* building)
auto iter = _locffviafm.begin(); auto iter = _locffviafm.begin();
std::advance(iter, i); std::advance(iter, i);
int roomNr = iter->first; 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);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment