diff --git a/tutorials/tutorial2.cpp b/tutorials/tutorial2.cpp index 9e84921e6..79efb1b83 100644 --- a/tutorials/tutorial2.cpp +++ b/tutorials/tutorial2.cpp @@ -108,12 +108,15 @@ int main() Opm::LinearSolverUmfpack linsolver; /// \endcode /// \page tutorial2 + /// We set up a pressure solver for the incompressible problem, - /// using the two-point flux approximation discretization. - /// The third argument which corresponds to gravity is set to - /// zero (no gravity). + /// using the two-point flux approximation discretization. The + /// third argument which corresponds to gravity is set to a null + /// pointer (no gravity). The final argument would be a pointer to + /// a Wells data structure, again we use a null pointer to + /// indicate that we have no wells. /// \code - Opm::IncompTpfa psolver(*grid.c_grid(), &permeability[0], 0, linsolver); + Opm::IncompTpfa psolver(*grid.c_grid(), &permeability[0], 0, linsolver, 0); /// \endcode /// \page tutorial2 /// We define the source term. diff --git a/tutorials/tutorial3.cpp b/tutorials/tutorial3.cpp index fc15ab30d..f3a2e77c4 100644 --- a/tutorials/tutorial3.cpp +++ b/tutorials/tutorial3.cpp @@ -164,10 +164,11 @@ int main () /// \page tutorial3 /// \details We may now set up the pressure solver. At this point, /// unchanging parameters such as transmissibility are computed - /// and stored internally by the IncompTpfa class. + /// and stored internally by the IncompTpfa class. The final (null pointer) + /// constructor argument is for wells, which are now used in this tutorial. /// \code LinearSolverUmfpack linsolver; - IncompTpfa psolver(grid, props.permeability(), grav, linsolver); + IncompTpfa psolver(grid, props.permeability(), grav, linsolver, 0); /// \endcode /// \page tutorial3