Made a (possibly wrong) adjustment to well_controls_append. Each control now has its current index set to 0, as there's only supposed to be one control per well.

This commit is contained in:
Kjetil Olsen Lye committed 2012-04-12 18:47:06 +02:00
1 parent bc275a4755
commit 8bc9e862d4
6 files changed
+20 -6

No files matched your search

+1 -1
View File
@@ -406,7 +406,7 @@ namespace Opm
void computeWDP(const Wells& wells, const UnstructuredGrid& grid, const std::vector<double>& saturations,
const std::vector<double> densities, std::vector<double>& wdp)
const std::vector<double>& densities, std::vector<double>& wdp)
{
// Simple for now:
for(int i = 0; i < wells.number_of_wells; i++) {