Output file name and line number.

This commit is contained in:
Liu Ming 2016-06-08 09:45:32 +02:00
parent 73ed34043e
commit 35f2559b6c

View File

@ -68,7 +68,9 @@ namespace Opm
OpmLog::warning("Can only handle a single region in ROCK ("
+ std::to_string(rockKeyword.size())
+ " 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);