From ef78f01715c297b5ac59bdba268a785389abc196 Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Fri, 24 Feb 2017 10:53:24 +0100 Subject: [PATCH] Add sat table id to well struct --- tutorials/tutorial4.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/tutorial4.cpp b/tutorials/tutorial4.cpp index 5eee336a3..e37e86f12 100644 --- a/tutorials/tutorial4.cpp +++ b/tutorials/tutorial4.cpp @@ -324,10 +324,11 @@ try for (int i = 0; i < num_wells; ++i) { const int well_cells = i*nx; const double well_index = 1; + const int sat_table_id = -1; std::stringstream well_name; well_name << "well" << i; bool allowCrossFlow = true; - add_well(PRODUCER, 0, 1, NULL, &well_cells, &well_index, + add_well(PRODUCER, 0, 1, NULL, &well_cells, &well_index, &sat_table_id, well_name.str().c_str(), allowCrossFlow, wells); } /// \internal[well cells]