Commit Graph

906 Commits

Author SHA1 Message Date
Arne Morten Kvarving
d8723dc9ce changed: ewoms/parallel -> opm/models/parallel 2019-09-16 09:48:55 +02:00
Atgeirr Flø Rasmussen
162e4f4653 Merge pull request #535 from akva2/rename_linalg
changed: ewoms/linear -> opm/simulators/linalg
2019-09-10 09:46:54 +02:00
Arne Morten Kvarving
cf9252765c changed: ewoms/linear -> opm/simulators/linalg 2019-09-09 13:12:57 +02:00
Atgeirr Flø Rasmussen
3543500553 Merge pull request #534 from akva2/namespace_change
changed: namespace Ewoms -> namespace Opm
2019-09-09 09:05:14 +02:00
Arne Morten Kvarving
799585f9d7 changed: namespace Ewoms -> namespace Opm 2019-09-05 16:21:10 +02:00
Andreas Lauser
9d5ff6b98a Ewoms::start(): abort the run when encountering unknown parameters 2019-06-27 11:58:33 +02:00
Robert Kloefkorn
661577daab [bugfix][dimworld] Fix mixup between Grid::dimension and
Grid::dimensionworld in GlobalPosition and similar.
2019-06-06 13:59:48 +02:00
Andreas Lauser
b77b97e5e6 Newton: Do not fiddle around with the user specified tolerance anymore
As a consquence, the property which sets this tolerance is renamed
from NewtonRawTolerance to NewtonTolerance.
2019-03-02 13:43:08 +01:00
Atgeirr Flø Rasmussen
2d4447a7e5 Merge pull request #484 from andlaus/move_ebos
move ebos to opm-simulators
2019-03-01 10:19:06 +01:00
Andreas Lauser
a62de5db66 move ebos to opm-simulators
ebos is well past the stage of a test for the numerical code but a
full-blown simulator of its own. Let's graduate.
2019-02-28 14:30:20 +01:00
Tor Harald Sandve
5fc57ec713 Merge pull request #473 from andlaus/no_reference_results
do no longer validate the results of any test
2019-02-19 15:47:06 +01:00
Andreas Lauser
0a5b413fbf Merge pull request #474 from akva2/janitoring
remove unused local typedef
2019-02-13 13:10:40 +01:00
Arne Morten Kvarving
a4c5ee0b13 remove unused local typedef 2019-02-13 11:55:09 +01:00
Andreas Lauser
dd4523a6d7 do no longer validate the results of any test
this resolves #469.

since the arguments brought forward in that issue equally apply to the
tests which produce VTK files, and the willingness to manually update
reference results for these is likely even smaller, the results
produced by the eWoms integration tests are simply not validated
anymore besides the fact that the produced files must be non-empty.

Note that this only applies to the default build system; the
alternative system still does -- and will continue to -- validate the
results.
2019-02-12 13:32:05 +01:00
Andreas Lauser
e5dde0aa7e EclWriter: remove obsolete writeOutput() overload
this has been unused for any simulator for a while. the only code
which called it was the ECL output test, but this one could be easily
ported.
2019-02-06 12:21:08 +01:00
Andreas Lauser
ebdf685dc6 SPE1 ebos test: also compare the UNRST files
this segfaulted due to a small pecularity of the compareECL
utility. thanks to [at]akva2 for pointing this out.

Also, this updates the reference solutions for this test in an attempt
to fix the jenkins complaint: The test seems to be quite sensitive to
the used compiler flags and Jenkins is not able to update the
reference solutions yet.
2019-01-22 10:14:45 +01:00
Andreas Lauser
1bfa31b54c Merge pull request #461 from andlaus/fix_ebos_convergence
newton method: call prepare() after preSolve()
2019-01-19 13:32:46 +01:00
Andreas Lauser
e7f1fbd77f ebos: add a regression test using SPE1CASE1
hopefully, this will prevent plain-ebos from breaking as seriously as
in the past.
2019-01-18 17:19:22 +01:00
Andreas Lauser
6746afafb2 Merge pull request #458 from atgeirr/fix-testing-bsd
Make runtest.sh also work on BSD/macOS.
2019-01-11 16:38:29 +01:00
Atgeirr Flø Rasmussen
8a1034a3cc Make runtest.sh also work on BSD/macOS.
In particular:
 - "wc -w" will have spaces in the output on BSD,
 - "python" defaults to python 3, so we must explicitly invoke python2.
2019-01-11 15:58:50 +01:00
Tor Harald Sandve
225f67ae24 Merge pull request #456 from andlaus/fix_masochistic_warnings
fix some masochistic compiler warnings for the GCC 9 pre-release
2019-01-10 13:59:34 +01:00
Andreas Lauser
b44b650475 fix some masochistic compiler warnings for the GCC 9 pre-release
the flags which I used are
```
-pedantic \
-Wall \
-Wextra \
-Wformat-nonliteral \
-Wcast-align
-Wpointer-arith \
-Wmissing-declarations \
-Wcast-qual \
-Wshadow
-Wwrite-strings \
-Wchar-subscripts \
-Wredundant-decls \
-fstrict-overflow \
-O3 \
-march=native \
-DNDEBUG=1
```

note that some heavy filtering is not the worst idea because DUNE is
far from not emiting any warnings with these flags.

Also, there were some pesky warnings in test_ecl_output which I don't
know how to fix:

```
tests/test_ecl_output.cc:218:73: warning: missing initializer for member ‘Opm::data::Connection::effective_Kh’ [-Wmissing-field-initializers]
```
2019-01-09 09:34:26 +01:00
Tor Harald Sandve
67cabed090 Merge pull request #406 from andlaus/janitor
Minor cleanups
2018-10-29 13:12:22 +01:00
Andreas Lauser
4e888fdfc8 make all header files includeable on their own right again
some property definitions and includes were missing.
2018-10-29 10:05:46 +01:00
Arne Morten Kvarving
7c4ca41f1f Merge pull request #364 from andlaus/help_line_breaks
Parameter system: Improve usage message
2018-08-20 08:42:34 +02:00
Andreas Lauser
f8a817e8f2 implement line breaks in the usage message
i.e. for `--help`. this is surprisingly complicated...
2018-08-16 15:55:51 +02:00
Atgeirr Flø Rasmussen
938af70bb5 Merge pull request #359 from andlaus/custom_parameter_file_parser
Use a custom parameter file parser
2018-08-12 17:50:23 +02:00
Andreas Lauser
dc08a8b4dd use a custom parameter file parser
this allows the key names to be transformed, i.e.,

```
enable-vtk=true
```

is now also possible in parameter files whereas before only CamelCase
parameter names like

```
EnableVtk=true
```

were valid. besides this, any valid Windows INI file that does not use
parameter groups should be readable, i.e., semicolons are now also
treated as a comment indicator.
2018-08-10 18:13:04 +02:00
Bård Skaflestad
fde580dd20 Merge pull request #354 from andlaus/remove_FluidSystems_namespace
adapt to the fluid system naming convention change in opm-material
2018-07-27 21:05:58 +02:00
Andreas Lauser
04c3e42b87 adapt to the fluid system naming convention change in opm-material 2018-07-27 12:56:19 +02:00
Andreas Lauser
aed7e15d2e fix extra compiler warnings
this is only relevant people who are masochistic enough to go beyond
`-Wall`. (note that at this warning level, there is plenty of noise from
Dune and other upstream dependencies.)
2018-07-02 09:17:56 +02:00
Atgeirr Flø Rasmussen
fbb885f303 Merge pull request #331 from andlaus/function_tasklets
tasklets: allow to dispatch raw functions
2018-06-28 20:47:08 +02:00
Tor Harald Sandve
0bfe876425 rename completion to connection 2018-06-28 15:49:45 +02:00
Andreas Lauser
6dde43dc0b tasklets: allow to dispatch raw functions 2018-06-21 14:56:10 +02:00
Tor Harald Sandve
6d11c69121 Merge pull request #327 from andlaus/property_and_parameter_system_improvements
Some property- and parameter system improvements
2018-06-19 15:59:13 +02:00
Andreas Lauser
acc93ff6e7 do explicit put properties into the the Ewoms::Properties namespace anymore
instead, do it implicitly by using the BEGIN_PROPERTIES and
END_PROPERTIES macros.
2018-06-15 20:22:07 +02:00
Andreas Lauser
1be1f15b47 parameter system: add support for positional parameters
further, this cleans up the code of the parameter system and the
startup routines a bit and finally, it adds positional parameters
support to ebos as well as brief descriptions to ebos and the lens
problem.
2018-06-14 11:13:30 +02:00
Joakim Hove
1f880346e9 Merge pull request #325 from joakim-hove/rename-completions
Rename Completions -> Connections
2018-06-12 13:24:02 +02:00
Joakim Hove
b9395e0291 Rename Completions -> Connections 2018-06-11 14:11:32 +02:00
Andreas Lauser
25e952fb49 tasklets test: guard against garbled output
Use a mutex to ensures that only a single prints at the same
time. this should prevent garbled terminal output and thus makes the
it much easier to read. on the flipside, some race conditions may go
unnoticed.
2018-04-23 13:24:59 +02:00
Andreas Lauser
5c9e20c00e tasklets: introduce the concept of "worker thread index"
if the current thread is not a worker thread, this returns -1.
2018-04-23 13:24:59 +02:00
Atgeirr Flø Rasmussen
de167b188b Merge pull request #312 from andlaus/tasklets_test
Fix undefined mutex unlocking behaviour, add unit test for tasklets
2018-04-23 13:05:17 +02:00
Andreas Lauser
2cb0176754 add an example for tasklets
it is IMO not good as a unit test because it does not excercise the
mechanism at all, but it shows how the mechanism is supposed to be
used.
2018-04-19 14:35:24 +02:00
Atgeirr Flø Rasmussen
1a1e164054 Merge pull request #303 from andlaus/disable_async_for_ecl_output_test
disable asynchronous output for the ECL output test
2018-03-21 14:23:02 +01:00
Andreas Lauser
7de09c08f2 disable asynchronous output for the ECL output test
this leads to crashes deeply inside libecl. My cursory hypotheses are
that this test makes the assumption that the output is written
synchronously (it tries to read back the results from disk
immediately) and/or that libecl is not threadsafe.
2018-03-21 10:31:15 +01:00
Andreas Lauser
e83cc94cea Merge pull request #299 from andlaus/tasklets
ECL output cleanup and tasklets
2018-03-13 12:15:46 +01:00
Andreas Lauser
e2241beef5 clean up the determination of the directory for output
this should be done by the vanguard, not by the problem!
2018-03-12 16:51:30 +01:00
Andreas Lauser
2031f8c438 Merge pull request #298 from andlaus/fix_dune_master
Fix dune master
2018-03-12 15:15:50 +01:00
Andreas Lauser
81bc44ec6d fix the build on the latest dune master
Dune::set_singularity_limit() was removed and the ILU preconditioners
seem to have been refactored. The ILU refactoring included making the
order of the preconditioner a template parameter of the preconditioner
class, i.e., it can no longer be specified at runtime.

Note that the AMG code in the dune master currently produces quite a
few warnings because of the latter point, but as far as I can see,
there is nothing which can be done about this from outside of
dune-istl.
2018-03-12 14:31:36 +01:00
Andreas Lauser
ea0c6eeec1 Merge pull request #296 from akva2/fix_conditions
fixed: fix some condition that was missed in eclipse io update
2018-03-08 11:05:19 +01:00