Use current dir for output by default.

For OPM Flow, this only affects VTK output.
This commit is contained in:
Atgeirr Flø Rasmussen 2022-10-13 16:00:58 +02:00
parent 3c7ba992f1
commit 44628a902d

View File

@ -206,7 +206,7 @@ public:
std::string outputDir = EWOMS_GET_PARAM(TypeTag, std::string, OutputDir);
if (outputDir == "")
throw std::runtime_error("No directory for output specified");
outputDir = ".";
// TODO: replace this by std::filesystem once we require c++-2017
struct stat st;