From 61a600d84013d3fc6660f08d761c3fd9a7a4c185 Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Mon, 25 Jan 2016 07:30:03 +0100 Subject: [PATCH] Removed SimulatorState::init( UnstructureGrid& ) --- tutorials/tutorial3.cpp | 2 +- tutorials/tutorial4.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/tutorial3.cpp b/tutorials/tutorial3.cpp index b63e98d41..9103cb2c4 100644 --- a/tutorials/tutorial3.cpp +++ b/tutorials/tutorial3.cpp @@ -266,7 +266,7 @@ try /// \snippet tutorial3.cpp two-phase state /// \internal [two-phase state] TwophaseState state; - state.init(grid, 2); + state.init(grid.number_of_cells , grid.number_of_faces, 2); state.setFirstSat(allcells, props, TwophaseState::MinSat); /// \internal [two-phase state] /// \endinternal diff --git a/tutorials/tutorial4.cpp b/tutorials/tutorial4.cpp index 1992f120c..926cd8c48 100644 --- a/tutorials/tutorial4.cpp +++ b/tutorials/tutorial4.cpp @@ -213,7 +213,7 @@ try /// \snippet tutorial4.cpp two-phase state /// \internal[two-phase state] TwophaseState state; - state.init(grid, 2); + state.init(grid.number_of_cells , grid.number_of_faces, 2); state.setFirstSat(allcells, props, TwophaseState::MinSat); /// \internal[two-phase state] /// \endinternal