opm-simulators/tests
Andreas Lauser ec4b6c82dd fix most pedantic compiler warnings in the basic infrastructure
i.e., using clang 3.8 to compile the test suite with the following
flags:

```
-Weverything
-Wno-documentation
-Wno-documentation-unknown-command
-Wno-c++98-compat
-Wno-c++98-compat-pedantic
-Wno-undef
-Wno-padded
-Wno-global-constructors
-Wno-exit-time-destructors
-Wno-weak-vtables
-Wno-float-equal
```

should not produce any warnings anymore. In my opinion the only flag
which would produce beneficial warnings is -Wdocumentation. This has
not been fixed in this patch because writing documentation is left for
another day (or, more likely, year).

note that this patch consists of a heavy dose of the OPM_UNUSED macro
and plenty of static_casts (to fix signedness issues). Fixing the
singedness issues were quite a nightmare and the fact that the Dune
API is quite inconsistent in that regard was not exactly helpful. :/

Finally this patch includes quite a few formatting changes (e.g., all
occurences of 'T &t' should be changed to `T& t`) and some fixes for
minor issues which I've found during the excercise.

I've made sure that all unit tests the test suite still pass
successfully and I've made sure that flow_ebos still works for Norne
and that it did not regress w.r.t. performance.

(Note that this patch does not fix compiler warnings triggered `ebos`
and `flow_ebos` but only those caused by the basic infrastructure or
the unit tests.)

v2: fix the warnings that occur if the dune-localfunctions module is
    not available. thanks to [at]atgeirr for testing.
v3: fix dune 2.3 build issue
2016-11-09 14:54:22 +01:00
..
data remove the navier-stokes test problem 2016-09-22 14:58:19 +02:00
models fix most pedantic compiler warnings in the basic infrastructure 2016-11-09 14:54:22 +01:00
referencesolutions add a second reference solution for the test of the adaptive finger problem 2016-11-03 21:26:33 +01:00
lens_immiscible_ecfv.cc clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
lens_immiscible_vcfv.cc make the dune-localfunctions dependency optional 2016-09-22 15:23:14 +02:00
powerinjection_darcy.cc clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
powerinjection_forchheimer.cc clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
run-vtu-test.sh test driver: add hack to only compare the output of the actual help message 2016-10-28 12:57:02 +02:00
test_blackoilfluidstate.cc rename "local AD" to "dense AD" 2016-06-04 23:56:47 +02:00
test_stokes2c.cc clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
test_stokes.cc clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00
test_stokesni.cc clean up the licensing preable of source files 2016-03-17 13:20:20 +01:00