Fixed a warning, adjusted the tutorial to reflect the new solver interfacd

This commit is contained in:
Kjetil Olsen Lye 2012-04-13 13:41:23 +02:00
parent ad0f414c5a
commit c4a2d46c55

View File

@ -141,11 +141,19 @@ int main()
/// \code
std::vector<double> omega;
/// \endcode
/// \page tutorial2
/// \details
/// We declare the wdp term which is required by the pressure solver (see
/// Opm::IncompTpfa.solve()). In the absence of wells, an empty vector is required.
/// \code
std::vector<double> wdp;
/// \endcode
/// \page tutorial2
/// We call the pressure solver.
/// \code
psolver.solve(mob, omega, src, bcs.c_bcs(),
psolver.solve(mob, omega, src, wdp, bcs.c_bcs(),
pressure, faceflux, well_bhp, well_flux);
/// \endcode