Commit 2e60fd07 authored by Arne Graf's avatar Arne Graf

added threshold to FF-file name

parent 431cafb3
......@@ -97,7 +97,7 @@
<solver>euler</solver>
<stepsize>0.01</stepsize>
<exit_crossing_strategy>6</exit_crossing_strategy>
<floorfield delta_h="0.0625" wall_avoid_distance="linspace(0.4,1.6,4)" use_wall_avoidance="true" />
<floorfield delta_h="0.0625" wall_avoid_distance="linspace(0.,1.6,5)" use_wall_avoidance="true" />
<linkedcells enabled="true" cell_size="4.2" />
<force_ped nu="3" b="1.0" c="3.0" />
<force_wall nu="1" b="0.70" c="3.0" />
......
......@@ -289,7 +289,7 @@ void DirectionFloorfield::Init(Building* building, double stepsize, double thres
//implement mechanic, that can read-in an existing floorfield (from a previous run)
string s = building->GetGeometryFilename();
s.erase(s.find_last_of(".", string::npos)); // delete ending
string FF_filename = (building->GetProjectRootDir() + "FF_" + s + ".vtk").c_str();
string FF_filename = (building->GetProjectRootDir() + "FF_" + std::to_string(threshold) + "_" + s + ".vtk").c_str();
std::ifstream test(FF_filename);
if (test.good()) {
Log->Write("INFO: \tRead Floor field from file <" + FF_filename + ">");
......
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