Skip to content
Snippets Groups Projects
Commit 0c242f59 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/parallel_file_directory' into 'master'

write the piecefiles in the data-directory

See merge request spraetor/dune-vtk!17
parents 07e007af dcb56db2
No related branches found
No related tags found
No related merge requests found
......@@ -35,8 +35,8 @@ void VtkWriterInterface<GV,DC>
filesystem::path data_dir = dir ? filesystem::path(*dir) : fn_dir;
filesystem::path rel_dir = filesystem::relative(data_dir, fn_dir);
std::string serial_fn = fn_dir.string() + '/' + name.string();
std::string parallel_fn = data_dir.string() + '/' + name.string();
std::string serial_fn = data_dir.string() + '/' + name.string();
std::string parallel_fn = fn_dir.string() + '/' + name.string();
std::string rel_fn = rel_dir.string() + '/' + name.string();
if (comm().size() > 1)
......
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