Merge pull request #1028 from qilicun/format-message

Format message
This commit is contained in:
Atgeirr Flø Rasmussen 2016-06-08 10:57:31 +02:00
commit ec3d7e7702
2 changed files with 4 additions and 2 deletions

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);

View File

@ -33,7 +33,7 @@ namespace Opm {
Opm::DeckConstPtr deck,
const GridT& grid)
{
OpmLog::info("***************Saturation Functions Diagnostics***************");
OpmLog::info("\n***************Saturation Functions Diagnostics***************");
phaseCheck_(deck);
satFamilyCheck_(eclState);
tableCheck_(eclState, deck);