mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Removed default null argument for wells in IncompTpfa constructor.
This commit is contained in:
parent
e662d1867e
commit
99bb8c9587
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user