mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Simulator programs and utilities for automatic differentiation.
before, if the pressure gradient was zero the interior DOF was assumed to be the upstream one. On the other side of the face it was done the same which meant that the upstream cell was different depending on which cell was looked at. This did not have any effect on the value of the flux (because the pressure gradient was zero anyway), but when AD was used this resulted in non-symmetric derivatives. In principle this is okay because the point where the pressure difference between cells is zero is a kink and thus the flux derivatives there are undefined. In practice this made comparing with flow quite difficult, so let's change it... |
||
---|---|---|
applications/ebos | ||
ewoms/aux |