Output file name and line number.
This commit is contained in:
@@ -68,7 +68,9 @@ namespace Opm
|
|||||||
OpmLog::warning("Can only handle a single region in ROCK ("
|
OpmLog::warning("Can only handle a single region in ROCK ("
|
||||||
+ std::to_string(rockKeyword.size())
|
+ std::to_string(rockKeyword.size())
|
||||||
+ " regions specified)."
|
+ " regions specified)."
|
||||||
+ " Ignoring all except for the first.");
|
+ " Ignoring all except for the first.\nSee " + rockKeyword.getFileName()
|
||||||
|
+ ", in line:" + std::to_string(rockKeyword.getLineNumber())
|
||||||
|
+ " for more information.");
|
||||||
}
|
}
|
||||||
|
|
||||||
pref_ = rockKeyword.getRecord(0).getItem("PREF").getSIDouble(0);
|
pref_ = rockKeyword.getRecord(0).getItem("PREF").getSIDouble(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user