Bård Skaflestad
e0c85a2fdb
Adapt to CMake-based build system.
...
Specifically,
- #include <config.h> where appropriate (all .cpp files)
- Adjust include statements to account for sub-directory locations
of .hpp files.
2013-05-15 16:10:20 +02:00
Bård Skaflestad
9309024d1e
First partitioning into source/examples/tests
...
Reorganisations are likely.
2013-05-15 10:35:39 +02:00
Atgeirr Flø Rasmussen
2d876925b7
Update to follow previous moves and deletes.
2013-03-18 12:40:34 +01:00
Atgeirr Flø Rasmussen
c78b7de680
Renamed newwells.h -> wells.h.
...
Also moved implementation file to subdir.
2013-03-18 10:33:34 +01:00
Atgeirr Flø Rasmussen
507b756dac
Move GridManager to grid subdir.
...
Also remove GridAdapter (moved to dune-cornerpoint), and
moved grid.c implementation file to grid subdir.
2013-03-18 10:16:46 +01:00
Andreas Lauser
ec369207bc
test runner script: be more verbose if something goes wrong
2013-02-07 19:44:15 +01:00
Andreas Lauser
bff2b8c72d
add a third reference solution for the tutorial_coupled test
2013-02-07 19:44:15 +01:00
Andreas Lauser
75cbe3f132
test runner: more verbose output
2013-02-06 15:48:03 +01:00
Andreas Lauser
4a2b4ceb3b
write the newton convergence for the restart test.
...
this slightly increases test coverage, and raises an alarm if
something goes horribly wrong in the code writing the convergence.
2013-01-30 22:46:24 +01:00
Andreas Lauser
973e5349f0
test runner: print some infos to ease debugging before comparing the simulation results
2013-01-30 15:39:10 +01:00
Andreas Lauser
fb0f3902ee
update randomization once more
...
It turns out that using the output of base64 for filenames is not a
too good idea.
2013-01-25 11:31:37 +01:00
Andreas Lauser
896beaad90
(hopefully) better random number generation to avoid test failures
2013-01-24 23:28:57 +01:00
Atgeirr Flø Rasmussen
13f945f081
Added test for DG basis classes.
...
Only 2d so far.
2013-01-17 14:35:50 +01:00
Andreas Lauser
03af1e1ecb
fix testrunner
...
*grr* stupid mistakes!
2013-01-13 16:09:15 +01:00
Andreas Lauser
0a5b63f70e
test runner: allow an arbitrary number of reference results
...
if one of the files matches (fuzzyly, obviously), the test counts as
passed if none matches it counts as failed. this lets us add reference
results for hosts that need the same number of time steps, but for
whatever reason produce a different result. also, the number of time
steps required to produce the result do not matter anymore, as long as
the data is the same (in the fuzzy sense).
2013-01-11 18:16:29 +01:00
Andreas Lauser
28a0fb487c
test driver script: make it more robust
...
it does not get confused by the result files of previous runs
anymore...
2012-11-28 20:30:30 +01:00
Andreas Lauser
38d7b97157
CMake: Teach it good manners when it comes to caching
...
also improve testing by adding a restart test and making sure that
invalid parameter names are not accepted.
2012-10-29 18:48:10 +01:00
Andreas Lauser
93049a223d
fix tests for test_diffusion, test_navierstokes
2012-10-23 16:55:44 +02:00
Andreas Lauser
63d554ff08
make the test runner script also work for semi-implicit simulations
2012-10-23 13:06:20 +02:00
Andreas Lauser
9f13b80118
improved unit testing
...
- run one simulation in parallel if MPI is available
- test the parameter passing infrastructure
- reduce end time of the navier stokes problem to 1e-3 to make it pass
on the first try
- add CUSTOM_CXX_FLAGS to CMakeLists.txt to allow passing compiler
flags from the command line to make clang shut up about the dune
issues it encounters.
2012-10-23 11:55:26 +02:00
Andreas Lauser
c601a65931
runtest.sh: make it work in parallel
2012-10-22 22:49:35 +02:00
Andreas Lauser
95ae6949d8
fix the CMake build
...
also, fix and simplify the CTest system
2012-10-19 19:39:53 +02:00
Bård Skaflestad
a92549290f
New function clone_wells()
...
Used to create a deep copy (clone) of an existing Wells object.
While here, add test case for common Wells object operations.
2012-10-04 21:09:47 +02:00
Andreas Lauser
12cffbb074
update reference solutions
...
also rename runTest.sh to runtest.sh and improve printed messages of
fuzzycompare.py slightly
2012-07-12 21:25:17 +02:00