Fix boundary condition checking bug.

This commit is contained in:
Atgeirr Flø Rasmussen 2013-10-03 16:19:21 +02:00
parent 9170ff69fd
commit 79562ca3cc

View File

@ -280,7 +280,7 @@ namespace Opm
gravity, */
{
// Intercept usage of bcs, since we do not handle it.
if (bcs) {
if (bcs->nbc != 0) {
OPM_THROW(std::runtime_error, "SimulatorFullyImplicitBlackoil cannot handle boundary conditions other than no-flow. Not implemented yet.");
}
// For output.