opm-simulators/examples
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
..
problems make the vertex centered FV method work with automatic differentiation 2017-07-21 18:35:08 +02:00
art2dgf.cpp move all applications into their top-level directory 2016-11-11 15:04:04 +01:00
co2injection_flash_ecfv.cpp remove the modified version of the linear solvers from dune-istl 2017-01-02 15:45:41 +01:00
co2injection_flash_ni_ecfv.cpp remove the modified version of the linear solvers from dune-istl 2017-01-02 15:45:41 +01:00
co2injection_flash_ni_vcfv.cpp remove the modified version of the linear solvers from dune-istl 2017-01-02 15:45:41 +01:00
co2injection_flash_vcfv.cpp remove the modified version of the linear solvers from dune-istl 2017-01-02 15:45:41 +01:00
co2injection_immiscible_ecfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
co2injection_immiscible_ni_ecfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
co2injection_immiscible_ni_vcfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
co2injection_immiscible_vcfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
co2injection_ncp_ecfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
co2injection_ncp_ni_ecfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
co2injection_ncp_ni_vcfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
co2injection_ncp_vcfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
co2injection_pvs_ecfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
co2injection_pvs_ni_ecfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
co2injection_pvs_ni_vcfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
co2injection_pvs_vcfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
cuvette_pvs.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
diffusion_flash.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
diffusion_ncp.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
diffusion_pvs.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
finger_immiscible_ecfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
finger_immiscible_vcfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
fracture_discretefracture.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
groundwater_immiscible.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
infiltration_pvs.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
lens_immiscible_ecfv_ad.cpp make the vertex centered FV method work with automatic differentiation 2017-07-21 18:35:08 +02:00
lens_immiscible_vcfv_ad.cpp make the vertex centered FV method work with automatic differentiation 2017-07-21 18:35:08 +02:00
lens_immiscible_vcfv_fd.cpp make the vertex centered FV method work with automatic differentiation 2017-07-21 18:35:08 +02:00
lens_richards_ecfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
lens_richards_vcfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
obstacle_immiscible.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
obstacle_ncp.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
obstacle_pvs.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
outflow_pvs.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
powerinjection_darcy_ad.cpp make the vertex centered FV method work with automatic differentiation 2017-07-21 18:35:08 +02:00
powerinjection_darcy_fd.cpp make the vertex centered FV method work with automatic differentiation 2017-07-21 18:35:08 +02:00
powerinjection_forchheimer_ad.cpp make the vertex centered FV method work with automatic differentiation 2017-07-21 18:35:08 +02:00
powerinjection_forchheimer_fd.cpp make the vertex centered FV method work with automatic differentiation 2017-07-21 18:35:08 +02:00
reservoir_blackoil_ecfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
reservoir_blackoil_vcfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
reservoir_ncp_ecfv.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
reservoir_ncp_vcfv.cpp reservoir_ncp_vcfv: change the epsilon base value for the finite difference method to 1e-11 2016-12-16 21:24:36 +01:00
tutorial1.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
tutorial1problem.hh fix most pedantic compiler warnings in the basic infrastructure 2016-11-09 14:54:22 +01:00
waterair_pvs_ni.cpp clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00