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

Merge branch 'issue/filewriter_default_dir' into 'master'

allow current directory for output and make it default

See merge request !63
parents 38118ee7 d1220883
No related branches found
No related tags found
1 merge request!63allow current directory for output and make it default
......@@ -96,7 +96,7 @@ namespace AMDiS
/// Implements \ref FileWriterInterface::writeFiles
void writeFiles(AdaptInfo& adaptInfo, bool force) override
{
test_exit(filesystem::exists(dir_), "Output directory '{}' does not exist!",dir_);
test_exit(dir_ == "." || filesystem::exists(dir_), "Output directory '{}' does not exist!",dir_);
if (vtkSeqWriter_)
vtkSeqWriter_->write(adaptInfo.time(), mode_);
......
......@@ -61,7 +61,7 @@ namespace AMDiS
protected:
std::string filename_ = "solution";
std::string dir_ = "output";
std::string dir_ = ".";
std::string name_ = "solution";
};
......
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