Make initGravity() to private, call from constructor.

Also modify interface of solveGravity() to be minimal,
construcing columns for segregations solver at construction time.
This commit is contained in:
Atgeirr Flø Rasmussen committed 2013-03-15 13:53:37 +01:00
1 parent aadae49b41
commit b304105b4f
6 files changed
+62 -58

No files matched your search

+1 -1
View File
@@ -232,7 +232,7 @@ int main ()
/// \internal [transport solver]
const double tolerance = 1e-9;
const int max_iterations = 30;
Opm::TransportSolverTwophaseReorder transport_solver(grid, props, tolerance, max_iterations);
Opm::TransportSolverTwophaseReorder transport_solver(grid, props, NULL, tolerance, max_iterations);
/// \internal [transport solver]
/// \endinternal