mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 01:07:24 -06:00
Merge pull request #607 from qilicun/change-PRT-folder
Save PRT in the same folder as summary file.
This commit is contained in:
commit
5c1703c3a5
@ -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());
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user