From 3d44427065cbb1497e57edd04bc021deabe2e887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Wed, 16 May 2012 12:54:12 +0200 Subject: [PATCH] Follow changes to TwophaseState class and initState*() functions. --- tutorials/tutorial3.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tutorials/tutorial3.cpp b/tutorials/tutorial3.cpp index 0e9f4362..4ba293bc 100644 --- a/tutorials/tutorial3.cpp +++ b/tutorials/tutorial3.cpp @@ -372,11 +372,12 @@ int main () /// \page tutorial3 /// \details - /// We initialise water saturation to minimum everywhere. + /// We set up a two-phase state object, and + /// initialise water saturation to minimum everywhere. /// \code TwophaseState state; - state.init(*grid.c_grid()); - state.setWaterSat(allcells, props, TwophaseState::MinSat); + state.init(*grid.c_grid(), 2); + state.setFirstSat(allcells, props, TwophaseState::MinSat); /// \endcode /// \page tutorial3