mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
make the dune-localfunctions dependency optional
as a side effect, two-point gradients are now used by default for the vertex-centered finite volume discretization. (because P1-FE gradients require the FE shape functions and those are provided by dune-localfunctions.) as a consequence, this triggered an update of quite a few reference solutions: the differences are measurable, but as far as I can see, the results are compareable. also, this commit regresses the performance of the test for the reservoir problem with the vertex centered finite volume scheme a bit. While I would not bet a house on the reason, I'm pretty sure that this is caused by the switch from P1 FE gradients to two-point ones. Note that even though I'm the author of this patch, it shamelessly rips off substantial parts of the @dr-robertk's patch: https://github.com/OPM/ewoms/pull/69
This commit is contained in: