Arne Morten Kvarving
d6c378e6a9
remove use of Unused.hpp
2022-08-02 11:24:40 +02:00
Arne Morten Kvarving
0fa24f7711
update test driver to match opm_add_test
2021-10-13 11:44:20 +02:00
Bernd Flemisch
d72de0f308
[cleanup] replace typedef by using
2020-06-10 13:49:42 +02:00
Bernd Flemisch
bdb7bac3e8
[properties] replace remaining macro calls
2020-06-10 13:07:19 +02:00
Bernd Flemisch
725c022e69
[properties] replace BEGIN/END_PROPERTIES macro calls
2020-06-08 17:11:48 +02:00
Bernd Flemisch
880c5223ac
[properties] replace macro calls by native C++
2020-06-08 16:41:02 +02:00
Bernd Flemisch
5e411a8665
fix test suite
2020-05-18 15:52:45 +02:00
Atgeirr Flø Rasmussen
7d3690ee99
Add "--parallel-program=X" option to test runner.
...
This is done to run test programs in parallel that are not simulations,
and therefore do not produce the standard (for this module) pattern of
outputs for comparison.
2020-01-23 09:47:34 +01:00
Atgeirr Flø Rasmussen
4a0effe8cc
Add and use gatherStrings() for exception messages.
...
Ensures user sees any useful exception messages during
initialization.
2020-01-21 15:33:31 +01:00
Markus Blatt
f9c4f870c3
Fixes g++-8's problems with return type deduction (ALUGrid master).
...
Fixes the following compile error in the tests for ALUGrid master.
Tested with DUNE 2.4-2.7
```
/home/mblatt/src/dune/opm-release-master/opm-models/tests/test_quadrature.cc: In function ‘void testTetrahedron()’:
/home/mblatt/src/dune/opm-release-master/opm-models/tests/test_quadrature.cc:191:32: error: unable to deduce ‘auto*’ from ‘Dune::ALU3dGridFactory< <template-parameter-1-1> >::createGrid() [with ALUGrid = Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)0, (Dune::ALUGridRefinementType)1>; Dune::ALU3dGridFactory< <template-parameter-1-1> >::GridPtrType = Dune::ToUniquePtr<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)0, (Dune::ALUGridRefinementType)1> >]()’
auto *grid = gf.createGrid();
^
/home/mblatt/src/dune/opm-release-master/opm-models/tests/test_quadrature.cc:191:32: note: mismatched types ‘auto*’ and ‘Dune::ToUniquePtr<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)0, (Dune::ALUGridRefinementType)1> >’
/home/mblatt/src/dune/opm-release-master/opm-models/tests/test_quadrature.cc:196:12: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
delete grid;
^~~~
/home/mblatt/src/dune/opm-release-master/opm-models/tests/test_quadrature.cc: In function ‘void testCube()’:
/home/mblatt/src/dune/opm-release-master/opm-models/tests/test_quadrature.cc:286:32: error: unable to deduce ‘auto*’ from ‘Dune::ALU3dGridFactory< <template-parameter-1-1> >::createGrid() [with ALUGrid = Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)1, (Dune::ALUGridRefinementType)1>; Dune::ALU3dGridFactory< <template-parameter-1-1> >::GridPtrType = Dune::ToUniquePtr<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)1, (Dune::ALUGridRefinementType)1> >]()’
auto *grid = gf.createGrid();
^
/home/mblatt/src/dune/opm-release-master/opm-models/tests/test_quadrature.cc:286:32: note: mismatched types ‘auto*’ and ‘Dune::ToUniquePtr<Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)1, (Dune::ALUGridRefinementType)1> >’
/home/mblatt/src/dune/opm-release-master/opm-models/tests/test_quadrature.cc:291:12: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
delete grid;
^~~~
```
2019-10-24 15:54:18 +02:00
Arne Morten Kvarving
474ae4ded8
changed: ewoms/disc -> opm/models/discretization
2019-09-19 10:28:26 +02:00
Arne Morten Kvarving
e01f712294
changed: ewoms/common -> opm/models/utils
2019-09-19 10:14:17 +02:00
Arne Morten Kvarving
d8723dc9ce
changed: ewoms/parallel -> opm/models/parallel
2019-09-16 09:48:55 +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
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
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
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
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
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
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
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
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
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
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
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
Kai Bao
ec6cf5c94b
changing the PVTO in test_ecl_output
...
to make the table passing the sanity check.
2018-03-08 09:54:08 +01:00
Andreas Lauser
d8792f36a0
fix a few "unused variable" warnings that occur on more uncommon compilers
...
i.e. on ICC. the compiler is right in producing warnings here, though.
2018-03-03 13:27:48 +01:00
Joakim Hove
e27a69a496
Rename test-deck to get consistent case
2018-02-20 14:34:31 +01:00
Tor Harald Sandve
c47dd68b1d
Rename test_ecl_output.cpp -> test_ecl_output.cc
2018-02-19 13:18:56 +01:00
Tor Harald Sandve
7884229085
Minor clean up
2018-02-19 13:18:56 +01:00
Tor Harald Sandve
042d288478
move Test
2018-02-19 13:18:56 +01:00
Atgeirr Flø Rasmussen
672cfc3ca4
Adapt to moved opm-grid headers.
2018-02-12 10:20:09 +01:00
Andreas Lauser
7afb963fdd
change gridManager -> vanguard in new file test_ecl_output.cpp
2018-02-08 17:07:32 +01:00
Andreas Lauser
2f4b835a16
rename the "grid manager" to "vanguard"
...
IMO the term "vanguard" expresses better what these classes are
supposed to do: level the ground for the cavalry. Normally this simply
means to create and distribute a grid object, but it can become quite
a bit more complicated, as exemplified by the vanguard classes of
ebos..
2018-02-08 16:26:58 +01:00
Andreas Lauser
e5344a2add
adapt to the move of code from opm-common to opm-material
2018-02-08 12:11:20 +01:00
Tor Harald Sandve
bad406b0a8
Add test for summary output
...
Test summary output of FIP, FPR and RPR.
2018-02-05 14:24:11 +01:00
Tor Harald Sandve
46fc4b742b
Add support for PBDV and PDDV in initstateequil.hh
2018-01-09 10:42:04 +01:00
Andreas Lauser
f5cfd8f768
fix compiler warnings and errors on dune 2.6
2018-01-03 18:53:03 +01:00
Andreas Lauser
9955c6a6f5
add some reference solutions for the adaptive "finger" problem
...
for some reason, the results changed slightly, but they still look
good to me.
2018-01-03 18:53:03 +01:00
Andreas Lauser
5a3f25d120
make the equil test work in the presence of dune-fem
2018-01-03 18:53:03 +01:00