Corrected keyword for turning off gravity in deck input (NOGRAV).
This commit is contained in:
parent
40b4fcb7ac
commit
196ec80785
@ -302,7 +302,7 @@ main(int argc, char** argv)
|
||||
// Rock compressibility.
|
||||
rock_comp.reset(new Opm::RockCompressibility(deck));
|
||||
// Gravity.
|
||||
gravity[2] = deck.hasField("NOGRAVITY") ? 0.0 : Opm::unit::gravity;
|
||||
gravity[2] = deck.hasField("NOGRAV") ? 0.0 : Opm::unit::gravity;
|
||||
// Init state variables (saturation and pressure).
|
||||
initStateTwophaseFromDeck(*grid->c_grid(), *props, deck, gravity[2], state);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user