opm-simulators/opm
Bård Skaflestad 35d883319b variableState: Don't reference non-existing variable
The "xvar" exists only if Gas is active.  Therefore, we cannot
extract that variable from "vars" unless we know that Gas is an
active phase.  Failing to do so would wrongfully increment 'nextvar'
whence the final BHP variable would be an out-of-bounds access.
2014-07-03 00:27:17 +02:00
..
autodiff variableState: Don't reference non-existing variable 2014-07-03 00:27:17 +02:00