Improves NNC error message.

This commit is contained in:
Markus Blatt 2016-02-18 22:05:01 +01:00
parent 51b8d9acb1
commit c0b871a38a

View File

@ -469,7 +469,7 @@ void distributeGridAndData( Dune::CpGrid& grid,
{
OPM_THROW(std::runtime_error, "NNCs not yet supported for parallel runs. "
<< UgGridHelpers::numFaces(grid) << " faces but " <<
threshold_pressures.size()<<" pressure values");
threshold_pressures.size()<<" threshold pressure values");
}
distributed_pressures.resize(UgGridHelpers::numFaces(grid));
ThresholdPressureDataHandle press_handle(global_grid, grid,