Merge pull request #608 from totto82/relperm_diagnostic_solvent

Skip the relperm diagnostics for the solvent model.
This commit is contained in:
Atgeirr Flø Rasmussen 2016-03-08 08:41:27 +01:00
commit 597cda6cbb

View File

@ -107,6 +107,17 @@ namespace Opm
Base::deck_->hasKeyword("SOLVENT")));
}
// run diagnostics
// Writes to:
// logFile_
void runDiagnostics()
{
std::shared_ptr<Opm::StreamLog> streamLog = std::make_shared<Opm::StreamLog>(Base::logFile_, Opm::Log::DefaultMessageTypes);
const std::string msg = "Relperm diagnostic not implemented for the solvent model ";
std::cout << "\n" << msg << "\n" << std::endl;
streamLog->addMessage(Log::MessageType::Info, msg);
}
};