From 9766b36cf20b58ce8ab9bca006c38ee89cbba6e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Wed, 13 Jun 2012 14:51:53 +0200 Subject: [PATCH] Removed more unused code. --- examples/polymer_reorder.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/examples/polymer_reorder.cpp b/examples/polymer_reorder.cpp index 88e72dfba..e3fe16874 100644 --- a/examples/polymer_reorder.cpp +++ b/examples/polymer_reorder.cpp @@ -496,9 +496,6 @@ main(int argc, char** argv) // Source-related variables init. int num_cells = grid->c_grid()->number_of_cells; - std::vector totmob; - std::vector omega; // Will remain empty if no gravity. - std::vector rc; // Will remain empty if no rock compressibility. // Extra rock init. std::vector porevol; @@ -649,13 +646,6 @@ main(int argc, char** argv) } // Solve pressure. - if (use_gravity) { - computeTotalMobilityOmega(*props, polyprop, allcells, state.saturation(), state.concentration(), state.maxconcentration(), - totmob, omega); - } else { - computeTotalMobility(*props, polyprop, allcells, state.saturation(), state.concentration(), state.maxconcentration(), - totmob); - } if (check_well_controls) { computeFractionalFlow(*props, allcells, state.saturation(), fractional_flows); }