Work in progress adding wells to transport part.

This commit is contained in:
Atgeirr Flø Rasmussen 2011-01-06 11:23:58 +01:00
parent d478df23cf
commit da647c6658

View File

@ -303,6 +303,10 @@ public:
const double* cell_pressures,
double* cell_surfvols)
{
if (wells_.number_of_wells != 0) {
throw std::runtime_error("Error in TPFACompressiblePressureSolver::explicitTransport(): "
"This function does not work with wells yet.");
}
int np = 3; // Number of phases.
std::vector<double> masstrans_f(np*grid_.c_grid()->number_of_faces);
std::vector<double> gravtrans_f(np*grid_.c_grid()->number_of_faces);