Merge pull request #607 from qilicun/change-PRT-folder

Save PRT in the same folder as summary file.
This commit is contained in:
Atgeirr Flø Rasmussen 2016-04-01 08:21:08 +02:00
commit 5c1703c3a5

View File

@ -373,7 +373,11 @@ namespace Opm
} else {
baseName = path(fpath.filename()).string();
}
logFile_ = output_dir_ + "/" + baseName + ".PRT";
if (param_.has("output_dir")) {
logFile_ = output_dir_ + "/" + baseName + ".PRT";
} else {
logFile_ = baseName + ".PRT";
}
// Create Parser
ParserPtr parser(new Parser());
{