Implemented rudimentary solveMultiCell().

Simply calls solveSingleCell() once for each cell in block.
This commit is contained in:
Atgeirr Flø Rasmussen committed 2012-08-27 11:26:51 +02:00
1 parent dfef531fc8
commit eeca5abed1
1 file changed
+5 -2
@@ -89,9 +89,12 @@ namespace Opm
void TransportModelTracerTof::solveMultiCell(const int /*num_cells*/, const int* /*cells*/)
void TransportModelTracerTof::solveMultiCell(const int num_cells, const int* cells)
{
THROW("Not yet implemented.");
std::cout << "Pretending to solve multi-cell dependent equation with " << num_cells << " cells." << std::endl;
for (int i = 0; i < num_cells; ++i) {
solveSingleCell(cells[i]);
}
}