mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 09:16:27 -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