mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Implemented rudimentary solveMultiCell().
Simply calls solveSingleCell() once for each cell in block.
This commit is contained in:
parent
3e9cc74922
commit
931dcc4a3d
@ -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]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user