Skip to content
Snippets Groups Projects
Commit a827aea0 authored by Arne Graf's avatar Arne Graf
Browse files

rdy to merge

parent c7610f80
Branches
Tags
2 merge requests!26Develop,!20Issue269 with ben Merge into dev
Pipeline #
...@@ -30,7 +30,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR ...@@ -30,7 +30,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel") elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")
message(STATUS "Compiling with Intel settings") message(STATUS "Compiling with Intel settings")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -w") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -w")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -Og -w -tcheck") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -O0 -w -tcheck")
elseif () elseif ()
endif () endif ()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${warnings}") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${warnings}")
......
...@@ -308,7 +308,7 @@ Point VelocityModel::e0(Pedestrian* ped, Room* room) const ...@@ -308,7 +308,7 @@ Point VelocityModel::e0(Pedestrian* ped, Room* room) const
if ( (dynamic_cast<DirectionFloorfield*>(_direction.get())) || if ( (dynamic_cast<DirectionFloorfield*>(_direction.get())) ||
(dynamic_cast<DirectionLocalFloorfield*>(_direction.get())) || (dynamic_cast<DirectionLocalFloorfield*>(_direction.get())) ||
(dynamic_cast<DirectionSubLocalFloorfield*>(_direction.get())) ) { (dynamic_cast<DirectionSubLocalFloorfield*>(_direction.get())) ) {
if (dist > 5*J_EPS_GOAL) { if (dist > 50*J_EPS_GOAL) {
desired_direction = target - pos; //ped->GetV0(target); desired_direction = target - pos; //ped->GetV0(target);
} else { } else {
desired_direction = lastE0; desired_direction = lastE0;
......
...@@ -176,7 +176,7 @@ bool FFRouter::Init(Building* building) ...@@ -176,7 +176,7 @@ bool FFRouter::Init(Building* building)
auto pairRoomIt = allRooms.begin(); auto pairRoomIt = allRooms.begin();
std::advance(pairRoomIt, i); std::advance(pairRoomIt, i);
UnivFFviaFM *locffptr = nullptr; UnivFFviaFM *locffptr = nullptr;
locffptr = new UnivFFviaFM(pairRoomIt->second.get(), building, 0.0625, 0.0, false); locffptr = new UnivFFviaFM(pairRoomIt->second.get(), building, 0.125, 0.0, false);
locffptr->setUser(DISTANCE_MEASUREMENTS_ONLY); locffptr->setUser(DISTANCE_MEASUREMENTS_ONLY);
locffptr->setMode(CENTERPOINT); locffptr->setMode(CENTERPOINT);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment