mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Added solveMultiCell() method to match change in interface. Currently throwing.
This commit is contained in:
parent
6b60550f6e
commit
d041c98f21
@ -204,7 +204,7 @@ namespace Opm
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
void TransportModelPolymer::solveSingleCell(int cell)
|
void TransportModelPolymer::solveSingleCell(const int cell)
|
||||||
{
|
{
|
||||||
ResidualC res(*this, cell);
|
ResidualC res(*this, cell);
|
||||||
const double a = 0.0;
|
const double a = 0.0;
|
||||||
@ -221,6 +221,14 @@ namespace Opm
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
void TransportModelPolymer::solveMultiCell(const int num_cells, const int* /*cells*/)
|
||||||
|
{
|
||||||
|
THROW("TransportModelPolymer::solveMultiCell() not yet implemented, "
|
||||||
|
"got a component of size " << num_cells);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
double TransportModelPolymer::fracFlow(double s, double c, int cell) const
|
double TransportModelPolymer::fracFlow(double s, double c, int cell) const
|
||||||
{
|
{
|
||||||
double c_max_limit = polyprops_.c_max_limit;
|
double c_max_limit = polyprops_.c_max_limit;
|
||||||
|
@ -82,7 +82,8 @@ namespace Opm
|
|||||||
double* concentration,
|
double* concentration,
|
||||||
double* cmax);
|
double* cmax);
|
||||||
|
|
||||||
virtual void solveSingleCell(int cell);
|
virtual void solveSingleCell(const int cell);
|
||||||
|
virtual void solveMultiCell(const int num_cells, const int* cells);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const UnstructuredGrid& grid_;
|
const UnstructuredGrid& grid_;
|
||||||
|
Loading…
Reference in New Issue
Block a user