OPM/opm-autodiff — pull request #159 by bska (2014-06-27 12:45:01+00:00)
Title: Fix one-sided gravity potential calculation

Commit 5112b8a misinterpreted the role of index `i` and, as a result, installed code that would only define one-sided gravity potentials of the first cell (roughly)--albeit eventually using the geometry of the last active cell.

This issue was uncovered while discussing `NTG` handling approaches inspired by PR OPM/opm-core#606.