Skip to content
Snippets Groups Projects
Commit 6eb707e6 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

Store XDMF output in same place as the pvd file

parent cf7a007b
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,8 @@ int main(int argc, char* argv[])
// subsequent time step.
std::unique_ptr<MeshLib::Mesh> main_mesh;
std::filesystem::path output_file_path{"/tmp/test.xdmf"};
std::filesystem::path const output_file_path{
BaseLib::dropFileExtension(pvd_file_arg.getValue()) + ".xdmf"};
std::set<std::string> variable_output_names;
std::unique_ptr<MeshLib::IO::XdmfHdfWriter> mesh_xdmf_hdf_writer;
// read first file in the time series; it is determining variables.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment