mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -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 {
|
} else {
|
||||||
baseName = path(fpath.filename()).string();
|
baseName = path(fpath.filename()).string();
|
||||||
}
|
}
|
||||||
|
if (param_.has("output_dir")) {
|
||||||
logFile_ = output_dir_ + "/" + baseName + ".PRT";
|
logFile_ = output_dir_ + "/" + baseName + ".PRT";
|
||||||
|
} else {
|
||||||
|
logFile_ = baseName + ".PRT";
|
||||||
|
}
|
||||||
// Create Parser
|
// Create Parser
|
||||||
ParserPtr parser(new Parser());
|
ParserPtr parser(new Parser());
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user