flow name for case rate

parent 4147ed63
Pipeline #21761 failed with stages
in 9 minutes and 18 seconds
...@@ -472,8 +472,8 @@ void Simulation::PrintStatistics(double simTime) ...@@ -472,8 +472,8 @@ void Simulation::PrintStatistics(double simTime)
if(goal->GetOutflowRate() < (std::numeric_limits<double>::max)()) if(goal->GetOutflowRate() < (std::numeric_limits<double>::max)())
{ {
char tmp[50]; char tmp[50];
sprintf(tmp, "%.2f", goal->GetOutflowRate()); sprintf(tmp, "%.2f_", goal->GetOutflowRate());
statsfile = "flow_exit_id_"+to_string(goal->GetID())+"_rate_"+tmp+".txt"; statsfile = "flow_exit_id_"+to_string(goal->GetID())+"_rate_"+tmp+p.stem().string()+".txt";
} }
Log->Write("More Information in the file: %s", statsfile.c_str()); Log->Write("More Information in the file: %s", statsfile.c_str());
{ {
......
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