mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-26 03:00:17 -06:00
if output_dir exists, save PRT file in that folder.
This commit is contained in:
parent
0108216a68
commit
c314c30e79
@ -373,7 +373,11 @@ namespace Opm
|
||||
} else {
|
||||
baseName = path(fpath.filename()).string();
|
||||
}
|
||||
logFile_ = baseName + ".PRT";
|
||||
if (param_.has("output_dir")) {
|
||||
logFile_ = output_dir_ + "/" + baseName + ".PRT";
|
||||
} else {
|
||||
logFile_ = baseName + ".PRT";
|
||||
}
|
||||
// Create Parser
|
||||
ParserPtr parser(new Parser());
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user