Commit b11749d0 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1399 Extend slightly reading of time iteration file to recognize environment variable there.

parent 6ac57dc3
......@@ -14,6 +14,7 @@
#include <sstream>
#include "Utilities/Environment/Environment.hpp"
#include "PostProcessing/Exceptions/Exception.hpp"
#include "PostProcessing/Data/TimeIteration.hpp"
......@@ -59,6 +60,9 @@ namespace MoReFEM
if (iconv.fail())
throw ExceptionNS::InvalidFormatInLine(line, __FILE__, __LINE__);
decltype(auto) environment = Utilities::Environment::GetInstance(__FILE__, __LINE__);
solution_filename_ = environment.SubstituteValues(solution_filename_);
}
......
# Time iteration; time; numbering subset id; filename
0;0;1;/Volumes/Data/sebastien/MoReFEM/Results/CylinderBug/Mesh_1/NumberingSubset_1/solution_time_00000_proc_*.hhdata
1;0.1;1;/Volumes/Data/sebastien/MoReFEM/Results/CylinderBug/Mesh_1/NumberingSubset_1/solution_time_00001_proc_*.hhdata
0;0;1;${MOREFEM_ROOT}/Sources/Test/PostProcessing/EnsightUnusedVertices/Data/Mesh_1/NumberingSubset_1/solution_time_00000_proc_*.hhdata
1;0.1;1;${MOREFEM_ROOT}/Sources/Test/PostProcessing/EnsightUnusedVertices/Data/Mesh_1/NumberingSubset_1/solution_time_00001_proc_*.hhdata
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