opm-simulators/examples/problems
Andreas Lauser a626ab869e make the vertex centered FV method work with automatic differentiation
This works by having a "focus degree of freedom" during
linearization. When evaluating the local residual, all derivatives of
the residual/fluxes are with regard to the primary variables of that
DOF.

The two main offenders were the Forchheimer velocity model and the
model for the Stokes equations. To ensure that they continue to work,
the "powerinjection" and the "stokestest2c" problems are now both
compiled and tested with both, automatic differentiation and finite
differences, and the results of these tests is compared against the
same reference solution.

The majority of the time required to develop this patch was actually
required for testing: All tests compile and pass with debugging and
aggressive optimization flags with at least GCC 5, GCC 7 and clang
3.8, as well as Dune 2.3 and 2.4. Also, the results of flow_ebos stay
identical for Norne whilst the performance difference is below the
measurement noise on my machine. (the version with this patch applied
was actually about 1% faster.)
2017-07-21 18:35:08 +02:00
..
co2injectionflash.hh fix most pedantic compiler warnings in the basic infrastructure 2016-11-09 14:54:22 +01:00
co2injectionproblem.hh change the order of OPM_UNUSED and variable name 2017-01-17 13:28:56 +01:00
cuvetteproblem.hh adapt to the move of the valgrind client requests into the Opm namespace 2017-02-09 18:25:44 +01:00
diffusionproblem.hh change the order of OPM_UNUSED and variable name 2017-01-17 13:28:56 +01:00
fingerproblem.hh fix most pedantic compiler warnings in the basic infrastructure 2016-11-09 14:54:22 +01:00
fractureproblem.hh change the order of OPM_UNUSED and variable name 2017-01-17 13:28:56 +01:00
groundwaterproblem.hh Groundwater problem: use the conjugated gradient solver from dune-istl 2017-01-21 21:17:00 +01:00
infiltrationproblem.hh adapt to the move of the valgrind client requests into the Opm namespace 2017-02-09 18:25:44 +01:00
lensproblem.hh make the vertex centered FV method work with automatic differentiation 2017-07-21 18:35:08 +02:00
obstacleproblem.hh change the order of OPM_UNUSED and variable name 2017-01-17 13:28:56 +01:00
outflowproblem.hh change the order of OPM_UNUSED and variable name 2017-01-17 13:28:56 +01:00
powerinjectionproblem.hh make the vertex centered FV method work with automatic differentiation 2017-07-21 18:35:08 +02:00
reservoirproblem.hh change the order of OPM_UNUSED and variable name 2017-01-17 13:28:56 +01:00
richardslensproblem.hh change the order of OPM_UNUSED and variable name 2017-01-17 13:28:56 +01:00
stokes2ctestproblem.hh make the vertex centered FV method work with automatic differentiation 2017-07-21 18:35:08 +02:00
stokesnitestproblem.hh make the vertex centered FV method work with automatic differentiation 2017-07-21 18:35:08 +02:00
stokestestproblem.hh make the vertex centered FV method work with automatic differentiation 2017-07-21 18:35:08 +02:00
waterairproblem.hh change the order of OPM_UNUSED and variable name 2017-01-17 13:28:56 +01:00