mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use current dir for output by default.
For OPM Flow, this only affects VTK output.
This commit is contained in:
parent
3c7ba992f1
commit
44628a902d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user