Catch up to interface change of IncompTPFA::solve().

Revision 13e1ab7e1093 introduced well solution vectors (accessed only when
wells are present).  Update the method call accordingly to restore build.
This commit is contained in:
Bård Skaflestad 2012-04-12 18:39:19 +02:00
parent ca1342d7dc
commit ad0f414c5a

View File

@ -123,10 +123,16 @@ int main()
/// \endcode /// \endcode
/// \page tutorial2 /// \page tutorial2
/// We declare the pressure and face flux vectors we are going to compute /// We declare the solution vectors, i.e., the pressure and face
/// flux vectors we are going to compute. The well solution
/// vectors are needed for interface compatibility with the
/// <CODE>solve()</CODE> method of class
/// <CODE>Opm::IncompTPFA</CODE>.
/// \code /// \code
std::vector<double> pressure(num_cells); std::vector<double> pressure(num_cells);
std::vector<double> faceflux(num_faces); std::vector<double> faceflux(num_faces);
std::vector<double> well_bhp;
std::vector<double> well_flux;
/// \endcode /// \endcode
/// \page tutorial2 /// \page tutorial2
/// \details /// \details
@ -139,7 +145,8 @@ int main()
/// \page tutorial2 /// \page tutorial2
/// We call the pressure solver. /// We call the pressure solver.
/// \code /// \code
psolver.solve(mob, omega, src, bcs.c_bcs(), pressure, faceflux); psolver.solve(mob, omega, src, bcs.c_bcs(),
pressure, faceflux, well_bhp, well_flux);
/// \endcode /// \endcode
/// \page tutorial2 /// \page tutorial2