Commit 541a9c97 authored by Mohcine Chraibi's avatar Mohcine Chraibi

Correct _tox name without ending

parent a6bfa818
......@@ -43,10 +43,9 @@ ToxicityAnalysis::ToxicityAnalysis(const Building * b)
_building = b;
_FMStorage = nullptr;
LoadJPSfireInfo(_building->GetProjectFilename());
//std::string str( _building->GetProjectRootDir() + "_tox.xml" );
std::string ToxAnalysisXML = _building->GetProjectRootDir() + _building->GetProjectFilename() + "_tox.xml";
string fileNameWithoutExtension = _building->GetProjectFilename().substr(0, _building->GetProjectFilename().find_last_of("."));
std::string ToxAnalysisXML = fileNameWithoutExtension + "_tox.xml";
_outputhandler = std::make_shared<ToxicityOutputHandler>(ToxAnalysisXML.c_str());
_outputhandler->WriteToFileHeader();
_frame=0;
......
......@@ -7,6 +7,7 @@
<!-- seed used for initialising random generator -->
<seed>12542</seed>
<max_sim_time >200</max_sim_time>
<num_threads>2</num_threads>
<!-- geometry file -->
<geometry>1.2_bottleneck.xml</geometry>
<!-- traectories file and format -->
......
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