mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
bfc086a9d0
commit
3d18341a9c
@ -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
|
||||
|
||||
|
@ -169,7 +169,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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user