mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
ECL peaceman well: retrieve the gravity constant from the problem
this makes things consistent if gravity is disabled...
This commit is contained in:
parent
deb10b7524
commit
a9e40ce36a
@ -1137,7 +1137,7 @@ protected:
|
||||
Scalar depth = dofVars.depth;
|
||||
|
||||
// gravity constant
|
||||
Scalar g = 9.81;
|
||||
Scalar g = simulator_.problem().gravity()[dimWorld - 1];
|
||||
|
||||
typename FluidSystem::ParameterCache paramCache;
|
||||
for (int phaseIdx = 0; phaseIdx < numPhases; ++phaseIdx) {
|
||||
|
Loading…
Reference in New Issue
Block a user